iLLD_TC27xD
1.0
|
Functions | |
IFX_EXTERN boolean | IfxCpu_acquireMutex (IfxCpu_mutexLock *lock) |
API to acquire the mutex (binary semaphore). More... | |
IFX_EXTERN void | IfxCpu_releaseMutex (IfxCpu_mutexLock *lock) |
API to unlock the mutex . More... | |
IFX_EXTERN void | IfxCpu_resetSpinLock (IfxCpu_spinLock *lock) |
API to unlock the resource . More... | |
IFX_EXTERN boolean | IfxCpu_setSpinLock (IfxCpu_spinLock *lock, uint32 timeoutCount) |
API to lock the resource in spin mode with the given timeout. More... | |
IFX_EXTERN boolean IfxCpu_acquireMutex | ( | IfxCpu_mutexLock * | lock) |
API to acquire the mutex (binary semaphore).
This API can be used to acquire/get the mutex.
lock | lock pointer |
IFX_EXTERN void IfxCpu_releaseMutex | ( | IfxCpu_mutexLock * | lock) |
API to unlock the mutex .
This API can be used to unlock the previously acquired mutex
lock | lock pointer |
IFX_EXTERN void IfxCpu_resetSpinLock | ( | IfxCpu_spinLock * | lock) |
IFX_EXTERN boolean IfxCpu_setSpinLock | ( | IfxCpu_spinLock * | lock, |
uint32 | timeoutCount | ||
) |
API to lock the resource in spin mode with the given timeout.
This API can be used to spin lock for the lock for the given timeout period.
lock | lock pointer |
timeoutCount | loop counter value used for timeout to acquire lock |