|
bool | oC_MCS_InitializeModule (void) |
| initializes module to work More...
|
|
void * | oC_MCS_GetHardFaultReason (void) |
| returns address that cause a hard fault More...
|
|
void | oC_MCS_EnableInterrupts (void) |
| Globally enables interrupts (always) More...
|
|
void | oC_MCS_DisableInterrupts (void) |
| Globally disables interrupts (always) More...
|
|
bool | oC_MCS_AreInterruptsEnabled (void) |
| Checks if interrupts are enabled in HW. More...
|
|
bool | oC_MCS_EnableInterrupt (IRQn_Type InterruptNumber) |
| enables interrupt with specified number More...
|
|
bool | oC_MCS_DisableInterrupt (IRQn_Type InterruptNumber) |
| disables interrupt with specified number More...
|
|
bool | oC_MCS_IsInterruptEnabled (IRQn_Type InterruptNumber) |
| checks if interrupt is enabled More...
|
|
bool | oC_MCS_SetInterruptPriority (IRQn_Type InterruptNumber, oC_InterruptPriotity_t Priority) |
| sets interrupt priority More...
|
|
oC_InterruptPriotity_t | oC_MCS_GetInterruptPriority (IRQn_Type InterruptNumber) |
| returns interrupt priority More...
|
|
void | oC_MCS_Reboot (void) |
| Software reboots of machine. More...
|
|
bool | oC_MCS_InitializeStack (oC_Stack_t *outStack, void *Buffer, oC_Int_t BufferSize, oC_ContextHandler_t ContextHandler, void *HandlerParameter, oC_ContextExitHandler_t ExitHandler) |
| initializes stack for the system More...
|
|
void * | oC_MCS_GetCurrentProcessStackPointer (void) |
| returns current value of PSP More...
|
|
void * | oC_MCS_GetCurrentMainStackPointer (void) |
| returns current value of MSP More...
|
|
oC_Int_t | oC_MCS_GetStackSize (oC_Stack_t Stack) |
| returns size of stack More...
|
|
oC_Int_t | oC_MCS_GetFreeStackSize (oC_Stack_t Stack) |
| returns number of free stack More...
|
|
oC_Stack_t | oC_MCS_GetCurrentStack (void) |
| returns current stack More...
|
|
oC_Int_t | oC_MCS_GetMinimumStackBufferSize (oC_Int_t StackSize) |
| returns minimum stack buffer size More...
|
|
bool | oC_MCS_SetNextStack (oC_Stack_t Stack) |
| sets next stack for context switching More...
|
|
bool | oC_MCS_ConfigureSystemTimer (oC_UInt_t Prescaler, oC_FindNextStackHandler_t FindNextStackHandler) |
| configures system timer More...
|
|
oC_Stack_t | oC_MCS_GetSystemStack (void) |
| returns pointer to the system stack More...
|
|
bool | oC_MCS_ReturnToSystemStack (void) |
| sets next stack as system stack More...
|
|
void | oC_MCS_Delay (register oC_UInt_t Cycles) |
| delays operations for cycles More...
|
|
oC_ErrorCode_t | oC_MCS_ConfigureMemoryRegion (const oC_MCS_MemoryRegionConfig_t *Config) |
| configures memory region More...
|
|
uint32_t | oC_MCS_GetMaximumNumberOfRegions (void) |
| returns maximum number of regions handled by the machine More...
|
|
uint32_t | oC_MCS_GetNumberOfRegions (void) |
| returns number of regions that are currently configured More...
|
|
bool | oC_MCS_ReadFreeRegionNumber (uint32_t *outFreeRegionNumber) |
| reads number of a free region More...
|
|
bool | oC_MCS_SetMemoryAccessMode (oC_MCS_MemoryAccessMode_t Mode) |
| sets the memory access mode More...
|
|
oC_MCS_MemoryAccessMode_t | oC_MCS_GetMemoryAccessMode (void) |
| reads memory access mode More...
|
|
static bool | oC_MCS_ChangeCriticalSectionCounter (int8_t ValueToAdd) |
| Increment or decrement counter for critical sections. More...
|
|
static void | oC_MCS_EnterCriticalSection (void) |
| Enters to critical section. More...
|
|
static bool | oC_MCS_ExitCriticalSection (void) |
| Exits from critical section. More...
|
|
static bool | oC_MCS_IsCriticalSectionActive (void) |
| checks if critical section is active More...
|
|