|
| void | assert (uint32_t condition) |
| | Assert function for the upper MAC library. More...
|
| |
| UINT32 | osi_EnterCritical (void) |
| | This function used to enter into critical section. More...
|
| |
| UINT32 | osi_ExitCritical (uint32_t ulKey) |
| | This function used to exit critical section. More...
|
| |
| OsiReturnVal_e | osi_SyncObjCreate (OsiSyncObj_t *pSyncObj) |
| | This function creates a sync object. More...
|
| |
| OsiReturnVal_e | osi_SyncObjDelete (OsiSyncObj_t *pSyncObj) |
| | This function deletes a sync object. More...
|
| |
| OsiReturnVal_e | osi_SyncObjSignal (OsiSyncObj_t *pSyncObj) |
| | This function generates a sync signal for the object. More...
|
| |
| OsiReturnVal_e | osi_SyncObjSignalFromISR (OsiSyncObj_t *pSyncObj) |
| | This function generates a sync signal for the object from ISR context. More...
|
| |
| OsiReturnVal_e | osi_SyncObjWait (OsiSyncObj_t *pSyncObj, OsiTime_t Timeout) |
| | This function waits for a sync signal of the specific sync object. More...
|
| |
| OsiReturnVal_e | osi_SyncObjClear (OsiSyncObj_t *pSyncObj) |
| | This function clears a sync object. More...
|
| |
| OsiReturnVal_e | osi_TaskCreate (P_OSI_TASK_ENTRY pEntry, const signed char *const pcName, unsigned short usStackDepth, void *pvParameters, unsigned long uxPriority, OsiTaskHandle *pTaskHandle) |
| | This function creates a Task. More...
|
| |
| void | osi_TaskDelete (OsiTaskHandle *pTaskHandle) |
| | This function Deletes a Task. More...
|
| |
| OsiReturnVal_e | osi_LockObjCreate (OsiLockObj_t *pLockObj) |
| | This function creates a locking object. More...
|
| |
| OsiReturnVal_e | osi_LockObjDelete (OsiLockObj_t *pLockObj) |
| | This function deletes a locking object. More...
|
| |
| OsiReturnVal_e | osi_LockObjLock (OsiLockObj_t *pLockObj, OsiTime_t Timeout) |
| | This function locks a locking object. More...
|
| |
| OsiReturnVal_e | osi_LockObjUnlock (OsiLockObj_t *pLockObj) |
| | This function unlock a locking object. More...
|
| |
| OsiReturnVal_e | osi_MsgQCreate (OsiMsgQ_t *pMsgQ, char *pMsgQName, UINT32 MsgSize, UINT32 MaxMsgs) |
| | This function is used to create the MsgQ. More...
|
| |
| OsiReturnVal_e | osi_MsgQDelete (OsiMsgQ_t *pMsgQ) |
| | This function is used to delete the MsgQ. More...
|
| |
| OsiReturnVal_e | osi_MsgQWrite (OsiMsgQ_t *pMsgQ, void *pMsg, OsiTime_t Timeout) |
| | This function is used to write data to the MsgQ. More...
|
| |
| OsiReturnVal_e | osi_MsgQRead (OsiMsgQ_t *pMsgQ, void *pMsg, OsiTime_t Timeout) |
| | This function is used to read data from the MsgQ. More...
|
| |
| UINT32 | osi_MsgQCount (OsiMsgQ_t *pMsgQ) |
| | This function returns the number of messages ready in the Queue. More...
|
| |
| BOOLEAN | osi_MsgQIsEmpty (OsiMsgQ_t *pMsgQ) |
| | This function returns whether there are any messages ready in the Queue. More...
|
| |
| void * | os_malloc (size_t size) |
| | Allocate dynamic memory. More...
|
| |
| void * | os_realloc (void *ptr, size_t newsize) |
| | Re-allocate dynamic memory. More...
|
| |
| void * | os_realloc_array (void *ptr, size_t nmemb, size_t size) |
| | Re-Allocate and zero memory blocks. More...
|
| |
| void * | os_calloc (size_t nmemb, size_t size) |
| | Allocate and zero memory blocks. More...
|
| |
| void * | os_zalloc (size_t size) |
| | Allocate and zero memory. More...
|
| |
| void | os_free (void *ptr) |
| | Free memory. More...
|
| |
| OsiReturnVal_e | osi_Sleep (OsiTime_t sec) |
| | Put the thread to sleep. More...
|
| |
| OsiReturnVal_e | osi_uSleep (OsiTime_t usec) |
| | Put the thread to sleep in micro seconds. More...
|
| |
| UINT32 | osi_GetTimeMS () |
| | Get free running time in mili seconds. More...
|
| |
|
void | timerGeneralCallBack (TimerHandle_t tmr) |
| |
| OsiReturnVal_e | osi_TimerCreate (OsiTimer_t *pTimer, char *pTimerName, P_TIMER_EXPIRY_LEGACY_FUNCTION pExpiryFunc, void *pParam) |
| | Creates a timer in the OS. More...
|
| |
| OsiReturnVal_e | osi_TimerDelete (OsiTimer_t *pTimer) |
| | Deletes a timer in the OS. More...
|
| |
| OsiReturnVal_e | osi_TimerStart (OsiTimer_t *pTimer, OsiTime_t DurationMiliSec, BOOLEAN Periodic) |
| | Start a created timer. More...
|
| |
| OsiReturnVal_e | osi_TimerStop (OsiTimer_t *pTimer) |
| | Stops a created timer. More...
|
| |
| OsiTime_t | osi_TimerGetRemainingTime (OsiTimer_t *pTimer) |
| | Get the remaining time for a timer to expire. More...
|
| |
| OsiReturnVal_e | osi_ThreadCreate (OsiThread_t *pThread, char *pThreadName, UINT32 StackSize, UINT32 Priority, P_THREAD_ENTRY_FUNCTION pEntryFunc, void *pParam) |
| | Creates a thread in the OS. More...
|
| |
| OsiReturnVal_e | osi_ThreadDelete (OsiThread_t *pThread) |
| | Deletes a thread in the OS. More...
|
| |
osi_freertos porting file