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

Primary header for nrfcxx implementation dependencies. More...

#include <nrfcxx/core.hpp>
#include <nrfcxx/board.hpp>

Go to the source code of this file.

Data Structures

struct  nrfcxx::nrf5::series::ADC_Base
 Material common to all ADC peripheral implementations. More...
 

Namespaces

 nrfcxx
 Primary namespace for nrfcxx functionality.
 
 nrfcxx::nrf5
 Namespace holding support for bare nRF5 peripheral instances.
 
 nrfcxx::nrf5::series
 Namespace holding series-specific implementations that support the genericized API of nrfcxx.
 
 nrfcxx::board
 Namespace holding board-specific configuration data.
 

Macros

#define NRFCXX_BOARD_PSEL_SCOPEn   -1
 Pin selection specification for a disabled scope function. More...
 

Functions

static constexpr unsigned int nrfcxx::board::default_lfclk_src ()
 Provide the LFCLKSRC value preferred by the board. More...
 

Detailed Description

Primary header for nrfcxx implementation dependencies.

This header is included in implementation files and any headers that require direct access to nRF51 peripheral resources.

Macro Definition Documentation

◆ NRFCXX_BOARD_PSEL_SCOPEn

#define NRFCXX_BOARD_PSEL_SCOPEn   -1

Pin selection specification for a disabled scope function.

Boards define zero or more macros with names like NRFCXX_BOARD_PSEL_SCOPE0 which have values from 0 through 30 indicating that the corresponding GPIO may be used as an external signal with the nrfcxx::gpio::instr_psel API.

This constant is used to note that a particular instr_psel instance is disabled.