Macros | |
#define | SEM_WAIT_FOREVER (0xFFFFUL) |
Wait for the semaphore forever. More... | |
#define | SEM_NO_WAIT (0) |
Non-block. More... | |
#define | MUTEX_WAIT_FOREVER (0xFFFFUL) |
Wait for the mutex forever. More... | |
#define | MUTEX_NO_WAIT (0) |
Non-block. More... | |
#define | APP_DRV_SEM_DECL(sem) sem_t sem |
Define a semaphore instance. More... | |
#define | APP_DRV_MUTEX_DECL(mutex) mutex_t mutex |
Define a mutex instance. More... | |
#define | app_driver_sem_init(x) (0) |
Initialize the semaphore. More... | |
#define | app_driver_sem_deinit(x) |
Deinitialize the semphore. More... | |
#define | app_driver_sem_pend(x, y) (0) |
Pend the semaphore. More... | |
#define | app_driver_sem_post(x) |
Post the semaphore. More... | |
#define | app_driver_sem_post_from_isr(x) |
Post the semaphore from interrupt. More... | |
#define | app_driver_mutex_init(x) (0) |
Initialize the mutex. More... | |
#define | app_driver_mutex_deinit(x) |
Deinitialize the mutex. More... | |
#define | app_driver_mutex_pend(x, y) |
Pend the mutex. More... | |
#define | app_driver_mutex_post(x) |
Post the mutex. More... | |
#define app_driver_mutex_deinit | ( | x | ) |
Deinitialize the mutex.
Definition at line 259 of file app_rtos_cfg.h.
#define app_driver_mutex_init | ( | x | ) | (0) |
Initialize the mutex.
Definition at line 258 of file app_rtos_cfg.h.
#define app_driver_mutex_pend | ( | x, | |
y | |||
) |
Pend the mutex.
Definition at line 260 of file app_rtos_cfg.h.
#define app_driver_mutex_post | ( | x | ) |
Post the mutex.
Definition at line 261 of file app_rtos_cfg.h.
#define app_driver_sem_deinit | ( | x | ) |
Deinitialize the semphore.
Definition at line 253 of file app_rtos_cfg.h.
#define app_driver_sem_init | ( | x | ) | (0) |
Initialize the semaphore.
Definition at line 252 of file app_rtos_cfg.h.
#define app_driver_sem_pend | ( | x, | |
y | |||
) | (0) |
Pend the semaphore.
Definition at line 254 of file app_rtos_cfg.h.
#define app_driver_sem_post | ( | x | ) |
Post the semaphore.
Definition at line 255 of file app_rtos_cfg.h.
#define app_driver_sem_post_from_isr | ( | x | ) |
Post the semaphore from interrupt.
Definition at line 256 of file app_rtos_cfg.h.
#define APP_DRV_MUTEX_DECL | ( | mutex | ) | mutex_t mutex |
Define a mutex instance.
Definition at line 127 of file app_rtos_cfg.h.
#define APP_DRV_SEM_DECL | ( | sem | ) | sem_t sem |
Define a semaphore instance.
Definition at line 126 of file app_rtos_cfg.h.
#define MUTEX_NO_WAIT (0) |
Non-block.
Definition at line 118 of file app_rtos_cfg.h.
#define MUTEX_WAIT_FOREVER (0xFFFFUL) |
Wait for the mutex forever.
Definition at line 117 of file app_rtos_cfg.h.
#define SEM_NO_WAIT (0) |
Non-block.
Definition at line 115 of file app_rtos_cfg.h.
#define SEM_WAIT_FOREVER (0xFFFFUL) |
Wait for the semaphore forever.
Definition at line 114 of file app_rtos_cfg.h.