nrfcxx  0.1.0
C++-17 Framework for Nordic nRF5 Devices
Static Public Member Functions | Static Public Attributes
nrfcxx::nrf5::series::ADC_Base Struct Reference

Material common to all ADC peripheral implementations. More...

#include <nrfcxx/impl.hpp>

Inheritance diagram for nrfcxx::nrf5::series::ADC_Base:
nrfcxx::nrf5::series::ADC_Peripheral nrfcxx::nrf5::series::SAADC_Peripheral nrfcxx::periph::ADC

Static Public Member Functions

static void setup_result_bi (volatile uint16_t *ptr, uint16_t maxcnt=1)
 Record the destination address and count of ADC samples. More...
 

Static Public Attributes

static volatile uint16_t * result_ptr_
 
static uint16_t result_maxcnt_
 

Detailed Description

Material common to all ADC peripheral implementations.

Member Function Documentation

◆ setup_result_bi()

static void nrfcxx::nrf5::series::ADC_Base::setup_result_bi ( volatile uint16_t *  ptr,
uint16_t  maxcnt = 1 
)
inlinestatic

Record the destination address and count of ADC samples.

Collected samples are copied into destination buffer by the interrupt handler or the peripheral itself.


The documentation for this struct was generated from the following file: