Cascoda SDK
Cascoda SDK for building software to run with CA-821x transceivers
|
#include "cascoda-bm/cascoda_evbme.h"
#include "cascoda-bm/cascoda_interface.h"
#include "cascoda-util/cascoda_time.h"
#include "devboard_btn.h"
#include "devboard_batt.h"
Functions | |
uint16_t | DVBD_BattGetVolts (void) |
read the battery voltage More... | |
uint8_t | DVBD_BattGetPercent (uint16_t vBatt) |
get the battery percentage More... | |
uint8_t | DVBD_BattGetChargeStat (void) |
get the battery charging status More... | |
uint8_t | DVBD_BattGetUSBPresent (void) |
check if +5V (USB Vbus or external) is connected More... | |
ca_error | DVBD_BattInitChargeStat (void) |
initialise CHARGE_STAT More... | |
ca_error | DVBD_BattInitVolts (void) |
initialise VOLTS and VOLTS_TEST More... | |
ca_error | DVBD_BattInitUSBPresent (void) |
initialise USB_PRESENT More... | |
uint8_t DVBD_BattGetChargeStat | ( | void | ) |
get the battery charging status
uint8_t DVBD_BattGetPercent | ( | uint16_t | vBatt | ) |
get the battery percentage
uint8_t DVBD_BattGetUSBPresent | ( | void | ) |
check if +5V (USB Vbus or external) is connected
uint16_t DVBD_BattGetVolts | ( | void | ) |
read the battery voltage
ca_error DVBD_BattInitChargeStat | ( | void | ) |
initialise CHARGE_STAT
ca_error DVBD_BattInitUSBPresent | ( | void | ) |
initialise USB_PRESENT
ca_error DVBD_BattInitVolts | ( | void | ) |
initialise VOLTS and VOLTS_TEST