ADuCM302x Device Drivers API Reference Manual
Release 3.1.2.0
|
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 |
#define ADI_CYCLECOUNT_ENABLED (0u) |
Global enable. This must be enabled for any other functionality to work
0u disabled 1u enabled
Definition at line 61 of file adi_cycle_counting_config.h.
#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 67 of file adi_cycle_counting_config.h.
#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 74 of file adi_cycle_counting_config.h.
#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 81 of file adi_cycle_counting_config.h.
#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 87 of file adi_cycle_counting_config.h.
#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 93 of file adi_cycle_counting_config.h.
#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 99 of file adi_cycle_counting_config.h.
Referenced by adi_cyclecount_start().