nrfcxx  0.1.0
C++-17 Framework for Nordic nRF5 Devices
Data Structures | Functions
nrfcxx::utility Namespace Reference

Various utilities, probably not dependent on nRF51 at all. More...

Data Structures

class  memory_pool
 Class supporting allocation from a fixed-size region. More...
 
class  Persist
 Class supporting persistence of tagged records to non-volatile memory. More...
 

Functions

template<typename T >
void display_data (const T *dp, size_t count, uintptr_t base)
 Display a block of data on the console. More...
 

Detailed Description

Various utilities, probably not dependent on nRF51 at all.

Function Documentation

◆ display_data()

template<typename T >
void nrfcxx::utility::display_data ( const T *  dp,
size_t  count,
uintptr_t  base 
)
inline

Display a block of data on the console.

Template Parameters
Tthe type of the underlying data. Must be an integral type. Any volatile qualifier is explicitly removed.
Parameters
dppointer to the data to display
countthe number of data elements to display
basethe base address for the data at *dp. This affects the address column of the output and need not be related to the actual value of dp.