MCUXpresso SDK API Reference Manual  Rev. 0
NXP Semiconductors
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
ADC_ETC: ADC External Trigger Control

Overview

The MCUXpresso SDK provides a peripheral driver for the ADC_ETC module of MCUXpresso SDK devices.

Typical use case

Software trigger Configuration

Refer to the driver examples codes located at <SDK_ROOT>/boards/<BOARD>/driver_examples/adc_etc

Hardware trigger Configuration

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...
 

Data Structure Documentation

struct adc_etc_config_t
struct adc_etc_trigger_chain_config_t
struct adc_etc_trigger_config_t

Macro Definition Documentation

#define FSL_ADC_ETC_DRIVER_VERSION   (MAKE_VERSION(2, 1, 0))

Version 2.1.0.

#define ADC_ETC_DMA_CTRL_TRGn_REQ_MASK   0xFF0000U

Function Documentation

void ADC_ETC_Init ( ADC_ETC_Type *  base,
const adc_etc_config_t config 
)
Parameters
baseADC_ETC peripheral base address.
configPointer to "adc_etc_config_t" structure.
void ADC_ETC_Deinit ( ADC_ETC_Type *  base)
Parameters
baseADC_ETC peripheral base address.