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

Specializations of nrfcxx::periph::ADC for common ADC operations. More...

#include <cstring>
#include <initializer_list>
#include <nrfcxx/periph.hpp>
#include <nrfcxx/lpm.hpp>

Go to the source code of this file.

Data Structures

class  nrfcxx::sensor::adc::vdd
 ADC instance to measure board Vdd. More...
 
class  nrfcxx::sensor::adc::voltage_divider
 ADC instance for voltage dividers. More...
 
class  nrfcxx::sensor::adc::SteinhartHart
 Type holding Steinhart-Hart coefficients and extreme values. More...
 
class  nrfcxx::sensor::adc::ntcThermistor
 Class supporting thermistor measurements. More...
 
class  nrfcxx::sensor::adc::lpsm_wrapper
 A class that implements an LPM state machine around a periph::ADCClient. More...
 

Namespaces

 nrfcxx
 Primary namespace for nrfcxx functionality.
 
 nrfcxx::sensor
 Namespace for abstractions of various sensors.
 
 nrfcxx::sensor::adc
 Specializations of nrfcxx::periph::ADC for common ADC operations.
 
 nrfcxx::sensor::adc::steinhartHart
 Steinhart-Hart configurations for common thermistors and applications.
 

Variables

const SteinhartHart nrfcxx::sensor::adc::steinhartHart::adafruit372fullScale
 Constants for full-scale measurement with Adafruit thermistor. More...
 
const SteinhartHart nrfcxx::sensor::adc::steinhartHart::adafruit372hvac
 Constants for HVAC measurement with Adafruit thermistor. More...
 
const SteinhartHart nrfcxx::sensor::adc::steinhartHart::adafruit372refrigerator
 Constants for full-scale measurement with Adafruit thermistor. More...
 

Detailed Description

Specializations of nrfcxx::periph::ADC for common ADC operations.