Hardware ADC data types. More...

Data Structures

struct  gos_adc_config_t
 The ADC sample type. More...
 

Typedefs

typedef void * gos_adc_lut_t
 Reference to a prepared Lookup Table (LUT)
 

Enumerations

enum  gos_adc_sample_type_t {
  GOS_ADC_SAMPLE_TYPE_RAW,
  GOS_ADC_SAMPLE_TYPE_VOLTAGE
}
 The ADC sample type. More...
 

Detailed Description

Hardware ADC data types.

Enumeration Type Documentation

◆ gos_adc_sample_type_t

The ADC sample type.

Note
This may only be used with the gos_adc_sample()
Enumerator
GOS_ADC_SAMPLE_TYPE_RAW 

Return raw ADC reading.

GOS_ADC_SAMPLE_TYPE_VOLTAGE 

Return ADC reading in millivolts.