R_RTOS  0.1
DistributedRealTimeOperatingSystemfortheARMCortexMArchitecture
R_RTOS_monitor.h File Reference
#include "R_RTOS_inc.h"
#include <Data protectedData; //!>

Go to the source code of this file.

Data Structures

struct  mntr
 Monitor for synchronized access. More...
 

Typedefs

typedef enum mntrAccessState MntrState
 See mntrAccessState.
 
typedef uint8_t mntrRfrcCnt
 Reference counter data type.
 

Enumerations

Functions

RetCode mntr_INIT (void)
 Initialize the Monitor functionality. More...
 
RetCode mntr_InitMntr (const MntrNr mntrNr, const Data const data)
 Initialize the monitor with the given MntrNr. More...
 
RetCode mntr_ReqstReadAccssMntr (const MntrNr mntrNr, PTskTCB const tsk)
 Request read access to the data protected by the monitor. More...
 
RetCode mntr_ReqstWriteAccssMntr (const MntrNr mntrNr, PTskTCB const tsk)
 Request write access to the data protected by the monitor. More...
 
RetCode mntr_ReleaseAccssMntr (const MntrNr mntrNr)
 Release a previously made access request (read or write). More...
 

Variables

R_RTOS_memMngr h typedef uint8_t mntrFlgs
 8 bit representation of the current monitor access type
 

Detailed Description