nrfcxx
0.1.0
C++-17 Framework for Nordic nRF5 Devices
|
Go to the documentation of this file. 11 #ifndef NRFCXX_IMPL_HPP 12 #define NRFCXX_IMPL_HPP 33 result_maxcnt_ = maxcnt;
36 static volatile uint16_t* result_ptr_;
37 static uint16_t result_maxcnt_;
44 #if (51 == NRF_SERIES) 46 #elif (52 == NRF_SERIES) 49 #include <nrfcxx/board.hpp> 60 #define NRFCXX_BOARD_PSEL_SCOPEn -1 78 return (board::has_lfxt ? CLOCK_LFCLKSRC_SRC_Xtal : CLOCK_LFCLKSRC_SRC_RC);
static constexpr unsigned int default_lfclk_src()
Provide the LFCLKSRC value preferred by the board.
Definition: impl.hpp:76
Material common to all ADC peripheral implementations.
Definition: impl.hpp:22
API specific to the nRF51 series supporting <nrfcxx/impl.hpp>.
static void setup_result_bi(volatile uint16_t *ptr, uint16_t maxcnt=1)
Record the destination address and count of ADC samples.
Definition: impl.hpp:29
API specific to the nRF52 series supporting <nrfcxx/impl.hpp>.
Primary header for nrfcxx interface dependencies.
Primary namespace for nrfcxx functionality.
Definition: clock.hpp:17