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

Abstraction of Nordic device peripherals. More...

#include <nrfcxx/impl.hpp>
#include <pabigot/container.hpp>
#include <functional>

Go to the source code of this file.

Data Structures

class  nrfcxx::periph::UART
 Wrapper around the nRF51 UART peripheral. More...
 
struct  nrfcxx::periph::UART::statistics_type
 Statistics on the UART operation. More...
 
class  nrfcxx::periph::RTC
 Wrapper around the nRF51 RTC peripheral. More...
 
class  nrfcxx::periph::TIMER
 Wrapper around the nRF5 TIMER peripheral. More...
 
class  nrfcxx::periph::TIMER::timestamp_type
 Class supporting (high-resolution) timing. More...
 
class  nrfcxx::periph::RNG
 Wrapper around the nRF51 RNG peripheral. More...
 
class  nrfcxx::periph::GPIOTE
 Class supporting GPIO task and event operations. More...
 
struct  nrfcxx::periph::GPIOTE::sense_status_type
 Structure used to convey information about pin levels to sense_listener callbacks. More...
 
class  nrfcxx::periph::GPIOTE::event_listener
 Object used to manage event callbacks. More...
 
class  nrfcxx::periph::GPIOTE::sense_listener
 Object used to manage sense callbacks. More...
 
class  nrfcxx::periph::PPI
 Resource allocation manager for PPI module. More...
 
class  nrfcxx::periph::instr_psel_gpiote
 Class supporting GPIO instrumentation triggered by peripheral events. More...
 
class  nrfcxx::periph::details::comm_error_support
 Abstracted support for error returns. More...
 
class  nrfcxx::periph::details::scoped_enabler< PERIPH >
 RAII instance that ensures the an instance is enabled within a scope. More...
 
class  nrfcxx::periph::TWI
 Wrapper around the nRF51 TWI peripheral. More...
 
struct  nrfcxx::periph::TWI::configuration_type
 
class  nrfcxx::periph::SPI
 Wrapper around the nRF51 SPI peripheral. More...
 
struct  nrfcxx::periph::SPI::configuration_type
 
class  nrfcxx::periph::ADC
 Wrapper around the ADC or SAADC peripheral. More...
 
class  nrfcxx::periph::ADCClient
 Base class for a client of ADC. More...
 
class  nrfcxx::periph::QSPI
 Wrapper around the nRF52 QSPI peripheral. More...
 
struct  nrfcxx::periph::QSPI::configuration_type
 Configuration parameters for QSPI peripheral. More...
 

Namespaces

 nrfcxx
 Primary namespace for nrfcxx functionality.
 
 nrfcxx::periph
 Abstractions of nRF51 peripherals.
 

Macros

#define NRFCXX_PERIPH_UART0_RXB_SIZE   8
 The length of the software FIFO holding UART::UART0 received data.
 
#define NRFCXX_PERIPH_UART0_TXB_SIZE   32
 The length of the software FIFO holding UART::UART0 untransmitted data.
 
#define NRFCXX_PERIPH_RNG_BUFFER_SIZE   8
 The length of the software FIFO holding available random bytes.
 

Detailed Description

Abstraction of Nordic device peripherals.