![]() |
S32 SDK
|
#include "osif.h"
#include "devassert.h"
#include <stddef.h>
#include "interrupt_manager.h"
#include "clock_manager.h"
Go to the source code of this file.
Functions | |
void | OSIF_TimeDelay (const uint32_t delay) |
Delays execution for a number of milliseconds. More... | |
uint32_t | OSIF_GetMilliseconds (void) |
Returns the number of miliseconds elapsed since starting the internal timer or starting the scheduler. More... | |
status_t | OSIF_MutexLock (const mutex_t *const pMutex, const uint32_t timeout) |
Waits for a mutex and locks it. More... | |
status_t | OSIF_MutexUnlock (const mutex_t *const pMutex) |
Unlocks a previously locked mutex. More... | |
status_t | OSIF_MutexCreate (mutex_t *const pMutex) |
Create an unlocked mutex. More... | |
status_t | OSIF_MutexDestroy (const mutex_t *const pMutex) |
Destroys a previously created mutex. More... | |
status_t | OSIF_SemaWait (semaphore_t *const pSem, const uint32_t timeout) |
Decrement a semaphore with timeout. More... | |
status_t | OSIF_SemaPost (semaphore_t *const pSem) |
Increment a semaphore. More... | |
status_t | OSIF_SemaCreate (semaphore_t *const pSem, const uint8_t initValue) |
Creates a semaphore with a given value. More... | |
status_t | OSIF_SemaDestroy (const semaphore_t *const pSem) |
Destroys a previously created semaphore. More... | |