ADuCM4x50 Device Drivers API Reference Manual  Release 4.0.0.0
Static Configuration

Macros

#define ADI_CYCLECOUNT_ENABLED   (0u)
 
#define ADI_CYCLECOUNT_SPI_ISR_ENABLED   (0u)
 
#define ADI_CYCLECOUNT_CRC_ISR_ENABLED   (0u)
 
#define ADI_CYCLECOUNT_SPORT_ISR_ENABLED   (0u)
 
#define ADI_CYCLECOUNT_UART_ISR_ENABLED   (0u)
 
#define ADI_CYCLECOUNT_NUMBER_USER_DEFINED_APIS   (0u)
 
#define ADI_CYCLECOUNT_STACK_SIZE   10
 

Detailed Description

Macro Definition Documentation

◆ ADI_CYCLECOUNT_ENABLED

#define ADI_CYCLECOUNT_ENABLED   (0u)

Global enable. This must be enabled for any other functionality to work
0u disabled 1u enabled

Definition at line 29 of file adi_cycle_counting_config.h.

◆ ADI_CYCLECOUNT_SPI_ISR_ENABLED

#define ADI_CYCLECOUNT_SPI_ISR_ENABLED   (0u)

SPI Interrupt Mode ISR Cycle Counting Enabled
0 - Disables the recording of SPI ISR cycle counting. 1 - Enables the recording of SPI ISR cycle counting.

Definition at line 35 of file adi_cycle_counting_config.h.

◆ ADI_CYCLECOUNT_CRC_ISR_ENABLED

#define ADI_CYCLECOUNT_CRC_ISR_ENABLED   (0u)

CRC Interrupt Mode ISR Cycle Counting Enabled
0 - Disables the recording of CRC ISR cycle counting. 1 - Enables the recording of CRC ISR cycle counting.

Definition at line 42 of file adi_cycle_counting_config.h.

◆ ADI_CYCLECOUNT_SPORT_ISR_ENABLED

#define ADI_CYCLECOUNT_SPORT_ISR_ENABLED   (0u)

SPORT Interrupt Mode ISR Cycle Counting Enabled
0 - Disables the recording of SPORT ISR cycle counting. 1 - Enables the recording of SPORT ISR cycle counting.

Definition at line 49 of file adi_cycle_counting_config.h.

◆ ADI_CYCLECOUNT_UART_ISR_ENABLED

#define ADI_CYCLECOUNT_UART_ISR_ENABLED   (0u)

UART Interrupt Mode ISR Cycle Counting Enabled
0 - Disables the recording of UART ISR cycle counting. 1 - Enables the recording of UART ISR cycle counting.

Definition at line 55 of file adi_cycle_counting_config.h.

◆ ADI_CYCLECOUNT_NUMBER_USER_DEFINED_APIS

#define ADI_CYCLECOUNT_NUMBER_USER_DEFINED_APIS   (0u)

A user application may desire/require cycle counting in an application defined API or ISR. Set this macro to the number of required.

Definition at line 61 of file adi_cycle_counting_config.h.

◆ ADI_CYCLECOUNT_STACK_SIZE

#define ADI_CYCLECOUNT_STACK_SIZE   10

Cycle count 'stack' nesting depth. Adjust as needed. This should map to the maximum number of nested interrupts an application might experience.

Definition at line 67 of file adi_cycle_counting_config.h.