nrfcxx  0.1.0
C++-17 Framework for Nordic nRF5 Devices
Data Structures | Namespaces | Functions
thingy52.hpp File Reference

Target-specific capabilities for Nordic Thingy:52 aka PCA20020. More...

#include <nrfcxx/gpio.hpp>
#include <nrfcxx/lpm.hpp>
#include <nrfcxx/misc/lipomon.hpp>
#include <nrfcxx/misc/sx1509b.hpp>

Go to the source code of this file.

Data Structures

class  nrfcxx::board::iox_pin
 Extension of gpio::generic_pin using the SX1509B IO extender. More...
 
class  nrfcxx::board::power_monitor
 Support for the power source interface. More...
 

Namespaces

 nrfcxx
 Primary namespace for nrfcxx functionality.
 
 nrfcxx::board
 Namespace holding board-specific configuration data.
 

Functions

misc::sx1509b & nrfcxx::board::iox () noexcept
 Access the SX1509B instance. More...
 
unsigned int nrfcxx::board::battery_level_pptt (unsigned int batt_mV)
 Estimated battery level from measured voltage. More...
 
int nrfcxx::board::led_setup_battery_display (unsigned int batt_mV)
 Configure to display the battery level. More...
 
int nrfcxx::board::enable_led_driver (unsigned int iox_mask=0, bool linear=false) noexcept
 Enable the SX1509B LED driver functionality. More...
 
int nrfcxx::board::disable_led_driver () noexcept
 Enable the SX1509B LED driver functionality. More...
 

Detailed Description

Target-specific capabilities for Nordic Thingy:52 aka PCA20020.

These are items that require access to data structures that are not available at the time <nrfcxx/board.hpp> is processed.