37 #ifndef INCLUDE_R_RTOS_MTX_H_ 38 #define INCLUDE_R_RTOS_MTX_H_ uint8_t SysTicks
Amount of SysTicks.
Definition: R_RTOS_inc.h:511
Defines, Typedefs and Macros for the whole system.
uint8_t MtxNr
Number of a Mutex.
Definition: R_RTOS_inc.h:462
RetCode mtx_TakeMtx(PTskTCB const tsk, const MtxNr mtxNr, const SysTicks maxSysTicksToWait)
Attempts to take the mutex with the given number for the specified task.
Definition: R_RTOS_mtx.c:102
RetCode mtx_InitMtxs(void)
Initialize the mutex functionality.
Definition: R_RTOS_mtx.c:90
RetCode mtx_GiveMtx(PTskTCB const tsk, const MtxNr mtxNr)
Releases the mutex with the given number.
Definition: R_RTOS_mtx.c:157
RetCode mtx_GiveUpOnMtx(PTskTCB const tsk)
Give up on waiting for the mutex blocking the specified task.
Definition: R_RTOS_mtx.c:177
Task Control Block.
Definition: R_RTOS_inc.h:1322
uint8_t RetCode
Return codes for functions.
Definition: R_RTOS_inc.h:1424