+ Collaboration diagram for Defines:

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_DRV_SEM_STATIC(sem)   static APP_DRV_SEM_DECL(sem)
 Define a static semaphore instance. More...
 
#define APP_DRV_MUTEX_STATIC(mutex)   static APP_DRV_MUTEX_DECL(mutex)
 Define a static 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...
 

Detailed Description

Macro Definition Documentation

◆ app_driver_mutex_deinit

#define app_driver_mutex_deinit (   x)

Deinitialize the mutex.

Definition at line 270 of file app_rtos_cfg.h.

◆ app_driver_mutex_init

#define app_driver_mutex_init (   x)    (0)

Initialize the mutex.

Definition at line 269 of file app_rtos_cfg.h.

◆ app_driver_mutex_pend

#define app_driver_mutex_pend (   x,
 
)

Pend the mutex.

Definition at line 271 of file app_rtos_cfg.h.

◆ app_driver_mutex_post

#define app_driver_mutex_post (   x)

Post the mutex.

Definition at line 272 of file app_rtos_cfg.h.

◆ app_driver_sem_deinit

#define app_driver_sem_deinit (   x)

Deinitialize the semphore.

Definition at line 264 of file app_rtos_cfg.h.

◆ app_driver_sem_init

#define app_driver_sem_init (   x)    (0)

Initialize the semaphore.

Definition at line 263 of file app_rtos_cfg.h.

◆ app_driver_sem_pend

#define app_driver_sem_pend (   x,
 
)    (0)

Pend the semaphore.

Definition at line 265 of file app_rtos_cfg.h.

◆ app_driver_sem_post

#define app_driver_sem_post (   x)

Post the semaphore.

Definition at line 266 of file app_rtos_cfg.h.

◆ app_driver_sem_post_from_isr

#define app_driver_sem_post_from_isr (   x)

Post the semaphore from interrupt.

Definition at line 267 of file app_rtos_cfg.h.

◆ APP_DRV_MUTEX_DECL

#define APP_DRV_MUTEX_DECL (   mutex)    mutex_t mutex

Define a mutex instance.

Definition at line 135 of file app_rtos_cfg.h.

◆ APP_DRV_MUTEX_STATIC

#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.

◆ APP_DRV_SEM_DECL

#define APP_DRV_SEM_DECL (   sem)    sem_t sem

Define a semaphore instance.

Definition at line 134 of file app_rtos_cfg.h.

◆ APP_DRV_SEM_STATIC

#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.

◆ MUTEX_NO_WAIT

#define MUTEX_NO_WAIT   (0)

Non-block.

Definition at line 126 of file app_rtos_cfg.h.

◆ MUTEX_WAIT_FOREVER

#define MUTEX_WAIT_FOREVER   (0xFFFFUL)

Wait for the mutex forever.

Definition at line 125 of file app_rtos_cfg.h.

◆ SEM_NO_WAIT

#define SEM_NO_WAIT   (0)

Non-block.

Definition at line 123 of file app_rtos_cfg.h.

◆ SEM_WAIT_FOREVER

#define SEM_WAIT_FOREVER   (0xFFFFUL)

Wait for the semaphore forever.

Definition at line 122 of file app_rtos_cfg.h.