gonzui


Format: Advanced Search

mtkernel_3/config/config_func.hbare sourcepermlink (0.01 seconds)

Search this content:

    1: /*
    2:  *----------------------------------------------------------------------
    3:  *    micro T-Kernel 3.00.01
    4:  *
    5:  *    Copyright (C) 2006-2020 by Ken Sakamura.
    6:  *    This software is distributed under the T-License 2.2.
    7:  *----------------------------------------------------------------------
    8:  *
    9:  *    Released by TRON Forum(http://www.tron.org) at 2020/05/29.
   10:  *
   11:  *----------------------------------------------------------------------
   12:  */
   13: 
   14: /*
   15:  *      config_func.h
   16:  *      User Configuration Definition for function
   17:  */
   18: 
   19: #ifndef _CONFIG_FUNC_H_
   20: #define _CONFIG_FUNC_H_
   21: 
   22: #define USE_SEMAPHORE           (1)
   23: #define USE_MUTEX               (1)
   24: #define USE_EVENTFLAG           (1)
   25: #define USE_MAILBOX             (1)
   26: #define USE_MESSAGEBUFFER       (1)
   27: #define USE_RENDEZVOUS          (1)
   28: #define USE_MEMORYPOOL          (1)
   29: #define USE_FIX_MEMORYPOOL      (1)
   30: #define USE_TIMEMANAGEMENT      (1)
   31: #define USE_CYCLICHANDLER       (1)
   32: #define USE_ALARMHANDLER        (1)
   33: #define USE_DEVICE              (1)
   34: #define USE_FAST_LOCK           (1)
   35: #define USE_MULTI_LOCK          (1)
   36: 
   37: /* Task management */
   38: #define USE_FUNC_TK_DEL_TSK
   39: #define USE_FUNC_TK_EXT_TSK
   40: #define USE_FUNC_TK_EXD_TSK
   41: #define USE_FUNC_TK_TER_TSK
   42: #define USE_FUNC_TK_CHG_PRI
   43: #define USE_FUNC_TK_REL_WAI
   44: #define USE_FUNC_TK_GET_REG
   45: #define USE_FUNC_TK_SET_REG
   46: #define USE_FUNC_TK_GET_CPR
   47: #define USE_FUNC_TK_SET_CPR
   48: #define USE_FUNC_TK_REF_TSK
   49: #define USE_FUNC_TK_SUS_TSK
   50: #define USE_FUNC_TK_RSM_TSK
   51: #define USE_FUNC_TK_FRSM_TSK
   52: #define USE_FUNC_TK_SLP_TSK
   53: #define USE_FUNC_TK_WUP_TSK
   54: #define USE_FUNC_TK_CAN_WUP
   55: #define USE_FUNC_TK_DLY_TSK
   56: #define USE_FUNC_TD_LST_TSK
   57: #define USE_FUNC_TD_REF_TSK
   58: #define USE_FUNC_TD_INF_TSK
   59: #define USE_FUNC_TD_GET_REG
   60: #define USE_FUNC_TD_SET_REG
   61: 
   62: /* Semaphore management API */
   63: #define USE_FUNC_TK_DEL_SEM
   64: #define USE_FUNC_TK_REF_SEM
   65: #define USE_FUNC_TD_LST_SEM
   66: #define USE_FUNC_TD_REF_SEM
   67: #define USE_FUNC_TD_SEM_QUE
   68: 
   69: /* Mutex management API */
   70: #define USE_FUNC_TK_DEL_MTX
   71: #define USE_FUNC_TK_REF_MTX
   72: #define USE_FUNC_TD_LST_MTX
   73: #define USE_FUNC_TD_REF_MTX
   74: #define USE_FUNC_TD_MTX_QUE
   75: 
   76: /* Event flag management API */
   77: #define USE_FUNC_TK_DEL_FLG
   78: #define USE_FUNC_TK_REF_FLG
   79: #define USE_FUNC_TD_LST_FLG
   80: #define USE_FUNC_TD_REF_FLG
   81: #define USE_FUNC_TD_FLG_QUE
   82: 
   83: /* Mailbox management API */
   84: #define USE_FUNC_TK_DEL_MBX
   85: #define USE_FUNC_TK_REF_MBX
   86: #define USE_FUNC_TD_LST_MBX
   87: #define USE_FUNC_TD_REF_MBX
   88: #define USE_FUNC_TD_MBX_QUE
   89: 
   90: /* Messagebuffer management API */
   91: #define USE_FUNC_TK_DEL_MBF
   92: #define USE_FUNC_TK_REF_MBF
   93: #define USE_FUNC_TD_LST_MBF
   94: #define USE_FUNC_TD_REF_MBF
   95: #define USE_FUNC_TD_SMBF_QUE
   96: #define USE_FUNC_TD_RMBF_QUE
   97: 
   98: /* Rendezvous management API (Legacy API) */
   99: #define USE_FUNC_TK_DEL_POR
  100: #define USE_FUNC_TK_FWD_POR
  101: #define USE_FUNC_TK_REF_POR
  102: #define USE_FUNC_TD_LST_POR
  103: #define USE_FUNC_TD_REF_POR
  104: #define USE_FUNC_TD_CAL_QUE
  105: #define USE_FUNC_TD_ACP_QUE
  106: 
  107: /* Memory pool management API */
  108: #define USE_FUNC_TK_DEL_MPL
  109: #define USE_FUNC_TK_REF_MPL
  110: #define USE_FUNC_TD_LST_MPL
  111: #define USE_FUNC_TD_REF_MPL
  112: #define USE_FUNC_TD_MPL_QUE
  113: 
  114: /* Fix-Memory Pool management API */
  115: #define USE_FUNC_TK_DEL_MPF
  116: #define USE_FUNC_TK_REF_MPF
  117: #define USE_FUNC_TD_LST_MPF
  118: #define USE_FUNC_TD_REF_MPF
  119: #define USE_FUNC_TD_MPF_QUE
  120: 
  121: /* Time management API */
  122: #define USE_FUNC_TK_SET_UTC
  123: #define USE_FUNC_TK_GET_UTC
  124: #define USE_FUNC_TK_SET_TIM
  125: #define USE_FUNC_TK_GET_TIM
  126: #define USE_FUNC_TK_GET_OTM
  127: #define USE_FUNC_TD_GET_TIM
  128: #define USE_FUNC_TD_GET_OTM
  129: 
  130: /* Cyclic handler management API */
  131: #define USE_FUNC_TK_DEL_CYC
  132: #define USE_FUNC_TK_STA_CYC
  133: #define USE_FUNC_TK_STP_CYC
  134: #define USE_FUNC_TK_REF_CYC
  135: #define USE_FUNC_TD_LST_CYC
  136: #define USE_FUNC_TD_REF_CYC
  137: 
  138: /* Alarm handler management API */
  139: #define USE_FUNC_TK_DEL_ALM
  140: #define USE_FUNC_TK_STP_ALM
  141: #define USE_FUNC_TK_REF_ALM
  142: #define USE_FUNC_TD_LST_ALM
  143: #define USE_FUNC_TD_REF_ALM
  144: 
  145: /* System status management API */
  146: #define USE_FUNC_TK_ROT_RDQ
  147: #define USE_FUNC_TK_GET_TID
  148: #define USE_FUNC_TK_DIS_DSP
  149: #define USE_FUNC_TK_ENA_DSP
  150: #define USE_FUNC_TK_REF_SYS
  151: #define USE_FUNC_TK_REF_VER
  152: #define USE_FUNC_TD_REF_SYS
  153: #define USE_FUNC_TD_RDY_QUE
  154: 
  155: #endif /* _CONFIG_FUNC_H_ */