ADuCM302x Device Drivers API Reference Manual
Release 3.1.2.0
|
Configuration options for all the drivers. More...
RTOS used | |
In order to be used in a multi-threaded application, the device drivers may require the use of some RTOS-specific signals like semaphores or actions may be required when entering/exiting an interrupt. By specifying the RTOS that the application uses, the drivers can map their requirements to the specific RTOS, without requiring an OS abstraction layer.
| |
#define | ADI_CFG_RTOS_NO_OS |
#define | ADI_CFG_RTOS_MICRIUM_III |
#define | ADI_CFG_RTOS_FREERTOS |
#define | ADI_CFG_RTOS_THREADX |
#define | ADI_CFG_RTOS_MICRIUM_II |
#define | ADI_CFG_RTOS ADI_CFG_RTOS_NO_OS |
Low power mode support | |
All applications may have to block when a buffer is being processed. In the case of an RTOS application, when a task is blocked waiting for a buffer, a different task can run. If no tasks are available then the idle task runs. In many RTOS the idle task can be configured so it perform actions like entering low power modes. In the case of a bare-metal (no RTOS) application, since there are no other tasks to be run, the driver can enter low power modes itself when it blocks. | |
#define | ADI_CFG_ENTER_LOW_PWR_MODE_SUPPORT (1) |
Configuration options for all the drivers.
#define ADI_CFG_RTOS_NO_OS |
Indicates that no RTOS is used (bare-metal applications)
Definition at line 68 of file adi_global_config.h.
#define ADI_CFG_RTOS_MICRIUM_III |
Indicates that Micrium uCOS-III is used
Definition at line 70 of file adi_global_config.h.
#define ADI_CFG_RTOS_FREERTOS |
Indicates that FreeRTOS is used
Definition at line 72 of file adi_global_config.h.
#define ADI_CFG_RTOS_THREADX |
Indicates that Express Logic ThreadX is used
Definition at line 74 of file adi_global_config.h.
#define ADI_CFG_RTOS_MICRIUM_II |
Indicates that Micrium uCOS-II is used
Definition at line 76 of file adi_global_config.h.
#define ADI_CFG_RTOS ADI_CFG_RTOS_NO_OS |
Configure the RTOS required across the project. It can be configured to one of the following macros:
Definition at line 87 of file adi_global_config.h.
#define ADI_CFG_ENTER_LOW_PWR_MODE_SUPPORT (1) |
Configures the drivers to enter low power mode (Flexi mode) when waiting for a buffer to be processed. This macro is applicable only when the drivers are operating in the bare metal mode (No RTOS).
The possible values it can be configured to are:
Definition at line 115 of file adi_global_config.h.