nrfcxx
0.1.0
C++-17 Framework for Nordic nRF5 Devices
|
Go to the documentation of this file. 11 #ifndef NRFCXX_BOARD_XENON_HPP 12 #define NRFCXX_BOARD_XENON_HPP 30 class power_monitor :
public misc::lipo_monitor {
31 using super = misc::lipo_monitor;
54 periph::QSPI&
mx25l32 () noexcept;
periph::QSPI & mx25l32() noexcept
Access the QSPI instance for the on-board MX25L32.
Material supporting low-power-mode operations.
power_monitor(notifier_type notify)
Construct an instance.
Support for monitoring LiPo batteries.
std::function< void()> notifier_type
Type used to hold a notifier.
Definition: core.hpp:514
unsigned int battery_level_pptt(unsigned int batt_mV)
Estimated battery level from measured voltage.
bool external_antenna(int on)
Query or control use of external antenna.
Primary namespace for nrfcxx functionality.
Definition: clock.hpp:17