aerofc: Implement ADC

Measure the battery voltage of Aero RTF kit will be done by FPGA
and read by AeroFC using I2C bus.

The protocol is a little bit odd, it have different I2C slave
address for each "register", in future the FPGA RTL will
have a protocol more similar to other I2C sensors.

Also Aero RTF don't have a ADC line to measure current consumption.
This commit is contained in:
José Roberto de Souza
2016-10-27 15:21:58 -02:00
committed by Lorenz Meier
parent 71e48c937e
commit 53f2c1eb19
5 changed files with 286 additions and 3 deletions
+1 -1
View File
@@ -12,7 +12,6 @@ set(config_module_list
#
drivers/device
drivers/stm32
drivers/stm32/adc
drivers/led
drivers/px4fmu
drivers/boards/aerofc-v1
@@ -22,6 +21,7 @@ set(config_module_list
drivers/hmc5883
drivers/gps
drivers/ist8310
drivers/aerofc_adc
modules/sensors
# dummy tone alarm
modules/dummy