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...
 
enum  gos_adc_t {
  GOS_ADC_0,
  GOS_ADC_MAX
}
 

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.

◆ gos_adc_t

enum gos_adc_t

Gecko OS ADC ID

Enumerator
GOS_ADC_0 

This is just a placeholder, this is platform dependent.

GOS_ADC_MAX 

Maximum number of ADCs the platform supports in Gecko OS.