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

#include <pios_internal_adc_priv.h>

Data Fields

GPIO_TypeDef * port
 
uint32_t pin
 
uint8_t adc_channel
 
bool is_master_channel
 
uint32_t adc_channel
 

Detailed Description

A structure that defines an internal ADC pin

Definition at line 42 of file pios_internal_adc_priv.h.

Field Documentation

uint8_t adc_pin::adc_channel

adc channel corresponding to the pin ex:ADC_Channel_9

Definition at line 45 of file pios_internal_adc_priv.h.

uint32_t adc_pin::adc_channel

adc channel corresponding to the pin ex:ADC_Channel_9

Definition at line 48 of file pios_internal_adc_simple.h.

bool adc_pin::is_master_channel

true if this pin belongs to the master adc

Definition at line 47 of file pios_internal_adc_priv.h.

uint32_t adc_pin::pin

port pin number ex:GPIO_Pin_3

Definition at line 44 of file pios_internal_adc_priv.h.

GPIO_TypeDef * adc_pin::port

port of the pin ex:GPIOC

Definition at line 43 of file pios_internal_adc_priv.h.


The documentation for this struct was generated from the following files: