adc_conf_t Struct Reference

CPU specific ADC configuration. More...

Detailed Description

CPU specific ADC configuration.

Available number of ADC devices.

ADC channel configuration data.

ADC line configuration values.

ADC channel configuration data

Definition at line 237 of file kinetis_common/include/periph_cpu.h.

#include </tmp/RIOT/cpu/kinetis_common/include/periph_cpu.h>

Data Fields

ADC_Type * dev
 ADC device. More...
 
gpio_t pin
 pin to use, set to GPIO_UNDEF for internal channels More...
 
uint8_t chan
 ADC channel. More...
 
uint8_t dev
 ADCx - 1 device used for the channel.
 

Field Documentation

◆ chan

uint8_t adc_conf_t::chan

ADC channel.

CPU ADC channel connected to the pin.

internal channel the pin is connected to

Definition at line 241 of file kinetis_common/include/periph_cpu.h.

◆ dev

uint8_t adc_conf_t::dev

ADC device.

ADCx - 1 device used for the channel.

Definition at line 238 of file kinetis_common/include/periph_cpu.h.

◆ pin

gpio_t adc_conf_t::pin

pin to use, set to GPIO_UNDEF for internal channels

pin connected to the channel

pin to use

Definition at line 239 of file kinetis_common/include/periph_cpu.h.


The documentation for this struct was generated from the following file: