dRonin  adbada4
dRonin firmware
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages

Upper level Analog to Digital converter layer. More...

Files

file  pios_adc.c
 Analog to Digital conversion routines.
 
file  pios_adc.h
 ADC layer functions header.
 
file  pios_adc_priv.h
 ADC private definitions.
 
file  pios_internal_adc_light.c
 STM32F10x internal ADC PIOS interface.
 

Data Structures

struct  pios_adc_driver
 

Functions

int32_t PIOS_ADC_GetChannelRaw (uint32_t channel)
 
float PIOS_ADC_GetChannelVolt (uint32_t channel)
 
int32_t PIOS_ADC_Init (uintptr_t *adc_id, const struct pios_adc_driver *driver, uintptr_t lower_id)
 

Detailed Description

Upper level Analog to Digital converter layer.

Function Documentation

int32_t PIOS_ADC_GetChannelRaw ( uint32_t  channel)
float PIOS_ADC_GetChannelVolt ( uint32_t  channel)
int32_t PIOS_ADC_Init ( uintptr_t *  adc_id,
const struct pios_adc_driver driver,
uintptr_t  lower_id 
)