117 #ifndef SYSTEM_PORTABLE_INC_LLD_OC_SYS_LLD_H_ 118 #define SYSTEM_PORTABLE_INC_LLD_OC_SYS_LLD_H_ 122 #include <oc_errors.h> 129 #define _________________________________________TYPES_SECTION______________________________________________________________________________ 218 #undef _________________________________________TYPES_SECTION______________________________________________________________________________ 226 #define _________________________________________FUNCTIONS_SECTION__________________________________________________________________________ 530 #undef _________________________________________FUNCTIONS_SECTION__________________________________________________________________________ Hard fault, divide by 0 detected.
oC_SYS_LLD_Context_t * oC_SYS_LLD_GetSystemContext(void)
returns pointer to the system context
oC_SYS_LLD_EventFlags_t
event flags handled by the module.
void(* oC_SYS_LLD_ContextHandler_t)(void *Parameter)
stores pointer to context handler function
oC_Int_t oC_SYS_LLD_GetMinimumContextSize(oC_Int_t StackSize)
returns minimum size to allocate for context
The file with frequency definitions.
double oC_Frequency_t
type to store frequency
void(* oC_SYS_LLD_EventInterrupt_t)(oC_SYS_LLD_EventFlags_t EventFlags, oC_SYS_LLD_Context_t *Context, void *BusAddress)
stores event handler function
oC_ErrorCode_t oC_SYS_LLD_InitializeContext(oC_SYS_LLD_Context_t **Context, oC_Int_t StackSize, oC_SYS_LLD_ContextHandler_t ContextHandler, void *Parameters, oC_SYS_LLD_ContextExitHandler_t ExitHandler)
initializes stack of process
oC_SYS_LLD_Context_t * oC_SYS_LLD_GetCurrentContext(void)
returns pointer to the current context
const char * oC_SYS_LLD_GetMachineFamilyName(void)
returns printable name of the machine family
oC_ErrorCode_t oC_SYS_LLD_TurnOnDriver(void)
initializes the driver to work
void(* oC_SYS_LLD_Interrupt_t)(void)
type for storing interrupt pointers
const char * oC_SYS_LLD_GetMachineProducentName(void)
returns printable name of the machine producent
oC_ErrorCode_t oC_SYS_LLD_ReturnToSystemContext(void)
switches to the system context
void oC_SYS_LLD_ExitCriticalSection(void)
exits from critical section
oC_ErrorCode_t oC_SYS_LLD_ConfigureSystemTimer(oC_Frequency_t Frequency, oC_SYS_LLD_SysTickIncrementHandler_t Interrupt)
configures system timer
oC_ErrorCode_t oC_SYS_LLD_ReadSystemTimerFrequency(oC_Frequency_t *outFrequency)
reads configured system frequency
void oC_SYS_LLD_Context_t
type for storing context of the machine
void oC_SYS_LLD_TurnOnInterrupts(void)
turns on interrupt
void(* oC_SYS_LLD_SysTickIncrementHandler_t)(void)
stores SysTick interrupt handler
Loading or storing data to memory occurs with not aligned address.
oC_ErrorCode_t oC_SYS_LLD_TurnOffDriver(void)
release the driver
void(* oC_SYS_LLD_ContextExitHandler_t)(void)
pointer to the context exit handler
const char * oC_SYS_LLD_GetMachineName(void)
returns printable name of the machine
oC_Int_t oC_SYS_LLD_GetContextStackSize(oC_SYS_LLD_Context_t *Context)
returns size of the stack for context
oC_ErrorCode_t oC_SYS_LLD_ReadPowerState(float *outVcc)
reads power state
oC_ErrorCode_t oC_SYS_LLD_SetNextContext(oC_SYS_LLD_Context_t *Context)
configures next machine context
void oC_SYS_LLD_EnterCriticalSection(void)
enters to critical section
oC_ErrorCode_t oC_SYS_LLD_SetEventInterruptHandler(oC_SYS_LLD_EventInterrupt_t EventHandler, oC_SYS_LLD_EventFlags_t EventsFlags)
sets event interrupt handler
The file with interface for the machine module.
void oC_SYS_LLD_Reset(void)
software reset of the machine
bool oC_SYS_LLD_AreInterruptsEnabled(void)
checks if interrupts are turned on
The process is not correct, or the process stack was overflowed.
void * oC_SYS_LLD_GetLastProcessStackPointer(void)
returns stack pointer of last executed process
Undefined instruction detected.
bool oC_SYS_LLD_IsStackPushDecrementPointer(void)
flag if stack push is decrement pointer
void oC_SYS_LLD_TurnOffInterrupts(void)
turns off interrupt
bool oC_SYS_LLD_IsMachineSupportMultithreadMode(void)
checks if the machine supports multi-thread mode
Hard fault, reason is unknown.
oC_Int_t oC_SYS_LLD_GetContextFreeStackSize(oC_SYS_LLD_Context_t *Context)
returns size of free stack in the context