Skip to content

File Power.hpp

FileList > fw > rbcx-coprocessor > include > Power.hpp

Go to the source code of this file.

Public Static Attributes

Type Name
constexpr uint16_t POWER_CALIBRATE_DEFAULT = = 0
constexpr uint16_t POWER_CALIBRATE_NO_CHANGE = = 0xFFFF

Public Functions

Type Name
uint16_t powerBatteryMidMv ()
uint16_t powerBatteryMv ()
void powerCalibrate (uint16_t vccMv, uint16_t bMidMv, uint16_t vref33Mv, uint16_t currentTemperatureC)
void powerInit ()
void powerPoll ()
void powerShutDown ()
uint16_t powerTemperatureC ()
uint16_t powerVrefMv ()

Public Static Attributes Documentation

variable POWER_CALIBRATE_DEFAULT

constexpr uint16_t POWER_CALIBRATE_DEFAULT;

variable POWER_CALIBRATE_NO_CHANGE

constexpr uint16_t POWER_CALIBRATE_NO_CHANGE;

Public Functions Documentation

function powerBatteryMidMv

uint16_t powerBatteryMidMv () 

function powerBatteryMv

uint16_t powerBatteryMv () 

function powerCalibrate

void powerCalibrate (
    uint16_t vccMv,
    uint16_t bMidMv,
    uint16_t vref33Mv,
    uint16_t currentTemperatureC
) 

function powerInit

void powerInit () 

function powerPoll

void powerPoll () 

function powerShutDown

void powerShutDown () 

function powerTemperatureC

uint16_t powerTemperatureC () 

function powerVrefMv

uint16_t powerVrefMv () 

The documentation for this class was generated from the following file fw/rbcx-coprocessor/include/Power.hpp