|
Ersa Wearable Platform
Embedded smartwatch firmware and application framework
|
#include <pins.h>

Public Attributes | |
| Pin | adc |
| uint8_t | voltageScaleNumerator {1} |
| uint8_t | voltageScaleDenominator {1} |
Analog input and board scaling used to interpret a battery sense signal.
| Pin ersa::board::BatteryPins::adc |
ADC input routed to the divider or fuel-gauge output.
| uint8_t ersa::board::BatteryPins::voltageScaleDenominator {1} |
Divisor paired with voltageScaleNumerator; must be nonzero.
| uint8_t ersa::board::BatteryPins::voltageScaleNumerator {1} |
Multiplier applied to measured ADC voltage to recover battery voltage.