ADuCM4x50 Device Drivers API Reference Manual  Release 4.0.0.0
Global Static Configuration

Configuration options for all the drivers. More...

Macros

#define ADI_FLCC_ENABLE_BUS_ERR   (0u)
 
#define ADI_SRAM_PARITY_ENABLE   (0u)
 

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.

Note
This macros do not add the RTOS sources to the application, users need to set up the source and include paths in their application themselves
If the RTOS specified is not in the list of supported RTOS the build mechanism fails
#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)
 

Detailed Description

Configuration options for all the drivers.

Macro Definition Documentation

◆ ADI_FLCC_ENABLE_BUS_ERR

#define ADI_FLCC_ENABLE_BUS_ERR   (0u)

Set this macro to 1 to enforce bus error on CRC error by default

Definition at line 22 of file adi_global_config.h.

◆ ADI_SRAM_PARITY_ENABLE

#define ADI_SRAM_PARITY_ENABLE   (0u)

Set this macro to 1 to enable SRAM parity by default

Definition at line 25 of file adi_global_config.h.

◆ ADI_CFG_RTOS_NO_OS

#define ADI_CFG_RTOS_NO_OS

Indicates that no RTOS is used (bare-metal applications)

Definition at line 41 of file adi_global_config.h.

◆ ADI_CFG_RTOS_MICRIUM_III

#define ADI_CFG_RTOS_MICRIUM_III

Indicates that Micrium uCOS-III is used

Definition at line 43 of file adi_global_config.h.

◆ ADI_CFG_RTOS_FREERTOS

#define ADI_CFG_RTOS_FREERTOS

Indicates that FreeRTOS is used

Definition at line 45 of file adi_global_config.h.

◆ ADI_CFG_RTOS_THREADX

#define ADI_CFG_RTOS_THREADX

Indicates that Express Logic ThreadX is used

Definition at line 47 of file adi_global_config.h.

◆ ADI_CFG_RTOS_MICRIUM_II

#define ADI_CFG_RTOS_MICRIUM_II

Indicates that Micrium uCOS-II is used

Definition at line 49 of file adi_global_config.h.

◆ ADI_CFG_RTOS

#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 60 of file adi_global_config.h.

◆ ADI_CFG_ENTER_LOW_PWR_MODE_SUPPORT

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

  • 1 : Low power mode support required.
  • 0 : Low power mode support not required.

Definition at line 88 of file adi_global_config.h.