Infineon Logo AIROC BTSDK v4.9 - Documentation
 
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
wiced_hal_adc.h File Reference

List of parameters and defined functions needed to access the Analog-to-Digital Converter (ADC) driver. More...

Functions

static INLINE void wiced_hal_adc_init (void)
 Initialize the ADC hardware to its default state. More...
 
static INLINE ADC_POWER_TYPE wiced_hal_adc_set_power (ADC_POWER_TYPE pwr)
 Power up or power down the ADC hardware. More...
 
static INLINE void wiced_hal_adc_set_input_range (ADC_INPUT_RANGE_SEL rangeIdx)
 Calibrate and set the input voltage range expected for the ADC hardware. More...
 
static INLINE INT16 wiced_hal_adc_read_raw_sample (ADC_INPUT_CHANNEL_SEL channel)
 Read the raw ADC register value for the given channel. More...
 
static INLINE UINT32 wiced_hal_adc_read_voltage (ADC_INPUT_CHANNEL_SEL channel)
 Read the ADC voltage value for the given channel. More...
 

Detailed Description

List of parameters and defined functions needed to access the Analog-to-Digital Converter (ADC) driver.