adc_ctrl.h File Reference

ADC controller functions used by ADC and DAC peripherals. More...

Detailed Description

ADC controller functions used by ADC and DAC peripherals.

Author
Gunar Schorcht gunar.nosp@m.@sch.nosp@m.orcht.nosp@m..net

Definition in file adc_ctrl.h.

#include "periph/gpio.h"
+ Include dependency graph for adc_ctrl.h:

Go to the source code of this file.

Data Structures

struct  _adc_hw_t
 ADC pin hardware information type (for internal use only) More...
 

Enumerations

enum  { ADC1_CTRL, ADC2_CTRL }
 ADC controllers. More...
 
enum  {
  RTCIO_TOUCH0 = 0, RTCIO_TOUCH1, RTCIO_TOUCH2, RTCIO_TOUCH3,
  RTCIO_TOUCH4, RTCIO_TOUCH5, RTCIO_TOUCH6, RTCIO_TOUCH7,
  RTCIO_TOUCH8, RTCIO_TOUCH9, RTCIO_ADC_ADC1, RTCIO_ADC_ADC2,
  RTCIO_SENSOR_SENSE1, RTCIO_SENSOR_SENSE2, RTCIO_SENSOR_SENSE3, RTCIO_SENSOR_SENSE4,
  RTCIO_DAC1, RTCIO_DAC2, RTCIO_NA
}
 RTC IO pin type (does not correspond to RTC gpio num order) More...
 

Variables

const struct _adc_hw_t _adc_hw []
 RTC hardware map. More...
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum

ADC controllers.

Enumerator
ADC1_CTRL 

ADC1 controller.

ADC2_CTRL 

ADC2 controller.

Definition at line 32 of file adc_ctrl.h.

◆ anonymous enum

anonymous enum

RTC IO pin type (does not correspond to RTC gpio num order)

Enumerator
RTCIO_TOUCH0 

touch sensor 0

RTCIO_TOUCH1 

touch sensor 1

RTCIO_TOUCH2 

touch sensor 2

RTCIO_TOUCH3 

touch sensor 3

RTCIO_TOUCH4 

touch sensor 4

RTCIO_TOUCH5 

touch sensor 5

RTCIO_TOUCH6 

touch sensor 6

RTCIO_TOUCH7 

touch sensor 7

RTCIO_TOUCH8 

touch sensor 8, 32K_XP

RTCIO_TOUCH9 

touch sensor 9, 32K_XN

RTCIO_ADC_ADC1 

VDET_1.

RTCIO_ADC_ADC2 

VDET_2.

RTCIO_SENSOR_SENSE1 

SENSOR_VP.

RTCIO_SENSOR_SENSE2 

SENSOR_CAPP.

RTCIO_SENSOR_SENSE3 

SENSOR_CAPN.

RTCIO_SENSOR_SENSE4 

SENSOR_VN.

RTCIO_DAC1 

DAC output.

RTCIO_DAC2 

DAC output.

RTCIO_NA 

RTC pad not available.

Definition at line 40 of file adc_ctrl.h.

Variable Documentation

◆ _adc_hw

const struct _adc_hw_t _adc_hw[]

RTC hardware map.

The index corresponds to RTC pin type _rtcio_pin_t (Table 19 in Technical Reference)