Numworks Epsilon  1.4.1
Graphing Calculator Operating System
battery.h File Reference
#include "regs/regs.h"

Go to the source code of this file.

Namespaces

 Ion
 
 Ion::Battery
 
 Ion::Battery::Device
 

Functions

void Ion::Battery::Device::init ()
 
void Ion::Battery::Device::shutdown ()
 
void Ion::Battery::Device::initGPIO ()
 
void Ion::Battery::Device::initADC ()
 

Variables

constexpr GPIO Ion::Battery::Device::ChargingGPIO = GPIOA
 
constexpr uint8_t Ion::Battery::Device::ChargingPin = 0
 
constexpr GPIO Ion::Battery::Device::ADCGPIO = GPIOA
 
constexpr uint8_t Ion::Battery::Device::ADCPin = 1
 
constexpr uint8_t Ion::Battery::Device::ADCChannel = 1
 
constexpr float Ion::Battery::Device::ADCReferenceVoltage = 2.8f
 
constexpr float Ion::Battery::Device::ADCDividerBridgeRatio = 2.0f