Macros | |
#define | SEM_WAIT_FOREVER (0xFFFFUL) |
#define | SEM_NO_WAIT (0) |
#define | MUTEX_WAIT_FOREVER (0xFFFFUL) |
#define | MUTEX_NO_WAIT (0) |
#define | APP_DRV_SEM_DECL(sem) sem_t sem |
#define | APP_DRV_MUTEX_DECL(mutex) mutex_t mutex |
#define | APP_DRV_SEM_STATIC(sem) static APP_DRV_SEM_DECL(sem) |
#define | APP_DRV_MUTEX_STATIC(mutex) static APP_DRV_MUTEX_DECL(mutex) |
#define | app_driver_sem_init(x) (0) |
#define | app_driver_sem_deinit(x) |
#define | app_driver_sem_pend(x, y) (0) |
#define | app_driver_sem_post(x) |
#define | app_driver_sem_post_from_isr(x) |
#define | app_driver_mutex_init(x) (0) |
#define | app_driver_mutex_deinit(x) |
#define | app_driver_mutex_pend(x, y) |
#define | app_driver_mutex_post(x) |
#define app_driver_mutex_deinit | ( | x | ) |
Deinitialize the mutex.
Definition at line 270 of file app_rtos_cfg.h.
#define app_driver_mutex_init | ( | x | ) | (0) |
Initialize the mutex.
Definition at line 269 of file app_rtos_cfg.h.
#define app_driver_mutex_pend | ( | x, | |
y | |||
) |
Pend the mutex.
Definition at line 271 of file app_rtos_cfg.h.
#define app_driver_mutex_post | ( | x | ) |
Post the mutex.
Definition at line 272 of file app_rtos_cfg.h.
#define app_driver_sem_deinit | ( | x | ) |
Deinitialize the semphore.
Definition at line 264 of file app_rtos_cfg.h.
#define app_driver_sem_init | ( | x | ) | (0) |
Initialize the semaphore.
Definition at line 263 of file app_rtos_cfg.h.
#define app_driver_sem_pend | ( | x, | |
y | |||
) | (0) |
Pend the semaphore.
Definition at line 265 of file app_rtos_cfg.h.
#define app_driver_sem_post | ( | x | ) |
Post the semaphore.
Definition at line 266 of file app_rtos_cfg.h.
#define app_driver_sem_post_from_isr | ( | x | ) |
Post the semaphore from interrupt.
Definition at line 267 of file app_rtos_cfg.h.
#define APP_DRV_MUTEX_DECL | ( | mutex | ) | mutex_t mutex |
Define a mutex instance
Definition at line 135 of file app_rtos_cfg.h.
#define APP_DRV_MUTEX_STATIC | ( | mutex | ) | static APP_DRV_MUTEX_DECL(mutex) |
Define a static mutex instance
Definition at line 138 of file app_rtos_cfg.h.
#define APP_DRV_SEM_DECL | ( | sem | ) | sem_t sem |
Define a semaphore instance
Definition at line 134 of file app_rtos_cfg.h.
#define APP_DRV_SEM_STATIC | ( | sem | ) | static APP_DRV_SEM_DECL(sem) |
Define a static semaphore instance
Definition at line 137 of file app_rtos_cfg.h.
#define MUTEX_NO_WAIT (0) |
Non-block
Definition at line 126 of file app_rtos_cfg.h.
#define MUTEX_WAIT_FOREVER (0xFFFFUL) |
Wait for the mutex forever
Definition at line 125 of file app_rtos_cfg.h.
#define SEM_NO_WAIT (0) |
Non-block
Definition at line 123 of file app_rtos_cfg.h.
#define SEM_WAIT_FOREVER (0xFFFFUL) |
Wait for the semaphore forever.
Definition at line 122 of file app_rtos_cfg.h.