MCUXpresso SDK API Reference Manual
Rev. 0
NXP Semiconductors
|
The MCUXpresso SDK provides a peripheral driver for the ADC_ETC module of MCUXpresso SDK devices.
Refer to the driver examples codes located at <SDK_ROOT>/boards/<BOARD>/driver_examples/adc_etc
Refer to the driver examples codes located at <SDK_ROOT>/boards/<BOARD>/driver_examples/adc_etc
Data Structures | |
struct | adc_etc_config_t |
ADC_ETC configuration. More... | |
struct | adc_etc_trigger_chain_config_t |
ADC_ETC trigger chain configuration. More... | |
struct | adc_etc_trigger_config_t |
ADC_ETC trigger configuration. More... | |
Macros | |
#define | FSL_ADC_ETC_DRIVER_VERSION (MAKE_VERSION(2, 1, 0)) |
ADC_ETC driver version. More... | |
#define | ADC_ETC_DMA_CTRL_TRGn_REQ_MASK 0xFF0000U |
The mask of status flags cleared by writing 1. More... | |
Enumerations | |
enum | _adc_etc_status_flag_mask |
ADC_ETC customized status flags mask. | |
enum | adc_etc_external_trigger_source_t |
External triggers sources. | |
enum | adc_etc_interrupt_enable_t |
Interrupt enable/disable mask. | |
enum | adc_etc_dma_mode_selection_t |
DMA mode selection. | |
Initialization | |
void | ADC_ETC_Init (ADC_ETC_Type *base, const adc_etc_config_t *config) |
Initialize the ADC_ETC module. More... | |
void | ADC_ETC_Deinit (ADC_ETC_Type *base) |
De-Initialize the ADC_ETC module. More... | |
struct adc_etc_config_t |
struct adc_etc_trigger_chain_config_t |
struct adc_etc_trigger_config_t |
#define FSL_ADC_ETC_DRIVER_VERSION (MAKE_VERSION(2, 1, 0)) |
Version 2.1.0.
#define ADC_ETC_DMA_CTRL_TRGn_REQ_MASK 0xFF0000U |
void ADC_ETC_Init | ( | ADC_ETC_Type * | base, |
const adc_etc_config_t * | config | ||
) |
base | ADC_ETC peripheral base address. |
config | Pointer to "adc_etc_config_t" structure. |
void ADC_ETC_Deinit | ( | ADC_ETC_Type * | base | ) |
base | ADC_ETC peripheral base address. |