NinjaFlight
|
Go to the source code of this file.
Data Structures | |
struct | adc_config_s |
struct | drv_adc_config_s |
Macros | |
#define | ADC_CHANNEL_COUNT (ADC_CHANNEL_MAX + 1) |
Typedefs | |
typedef struct adc_config_s | adc_config_t |
typedef struct drv_adc_config_s | drv_adc_config_t |
Enumerations | |
enum | AdcChannel { ADC_BATTERY = 0, ADC_RSSI = 1, ADC_EXTERNAL1 = 2, ADC_CURRENT = 3, ADC_CHANNEL_MAX = ADC_CURRENT } |
Functions | |
void | adcInit (drv_adc_config_t *init) |
uint16_t | adcGetChannel (uint8_t channel) |
#define ADC_CHANNEL_COUNT (ADC_CHANNEL_MAX + 1) |
typedef struct adc_config_s adc_config_t |
typedef struct drv_adc_config_s drv_adc_config_t |
enum AdcChannel |
uint16_t adcGetChannel | ( | uint8_t | channel | ) |
void adcInit | ( | drv_adc_config_t * | init | ) |