arch independent ADC (Analog to Digital Converter) API
Generic interface for all ADC hardware drivers, independent from microcontroller architecture.
void aoa_adc_update(void)
uint32_t raw
raw ADC value
float filter
Filtering value [0-1] 0: no filtering 1: output is a constant value.
float offset
Angle of attack offset in radians.
float angle
Angle of attack in radians.
float sens
sensitiviy, i.e. scale to conver raw to angle
Angle of Attack sensor via ADC.
unsigned int uint32_t
Typedef defining 32 bit unsigned int type.