|
Cascoda SDK
Cascoda SDK for building software to run with CA-821x transceivers
|
Declaration of os-abstraction functions. More...

Go to the source code of this file.
Macros | |
| #define | CA_OS_LOCKED(x) |
| Shorthand to perform an action with the API Lock taken. More... | |
Typedefs | |
| typedef void * | ca_mutex |
| Generic mutex type. More... | |
Functions | |
| void | CA_OS_Init (void) |
| Initialise the CA_OS subsystem. More... | |
| void | CA_OS_Yield (void) |
| Yield the CPU to a different task. More... | |
| ca_mutex | CA_OS_MutexInit (void) |
| Initialise a mutex for inter-thread control in an OS-independent manner. More... | |
| void | CA_OS_MutexLock (ca_mutex *aMutex) |
| Claim a mutex, blocking until it is taken Mutex must be initialised with CA_OS_MutexInit Counterpart is CA_OS_MutexUnlock. More... | |
| void | CA_OS_MutexUnlock (ca_mutex *aMutex) |
| Unlock a claimed mutex Counterpart is CA_OS_MutexLock. More... | |
| void | CA_OS_SchedulerSuspend (void) |
| Suspend the scheduler so that it will not pre-emptively context switch to another task. More... | |
| void | CA_OS_SchedulerResume (void) |
| Resume the scheduler so pre-emption begins again. More... | |
| void | CA_OS_LockAPI (void) |
| Lock the Cascoda API thread, for safely calling Cascoda API functions. More... | |
| void | CA_OS_UnlockAPI (void) |
| Release the Cascoda API lock. More... | |
Declaration of os-abstraction functions.