microfmt
Zero-allocation C++ formatting for constrained environments
Loading...
Searching...
No Matches
Public Attributes | List of all members
microfmt::reg_view< N, UInt > Struct Template Reference

Non-owning view pairing a register value with its static descriptor. More...

#include <register.hpp>

Public Attributes

UInt value
 Raw register value.
 
const reg_descriptor< N > * desc {nullptr}
 Pointer to the static register descriptor.
 

Detailed Description

template<size_t N, typename UInt = uint32_t>
struct microfmt::reg_view< N, UInt >

Non-owning view pairing a register value with its static descriptor.

Template Parameters
NNumber of described fields.
UIntUnderlying unsigned register word type.

Member Data Documentation

◆ desc

template<size_t N, typename UInt = uint32_t>
const reg_descriptor<N>* microfmt::reg_view< N, UInt >::desc {nullptr}

Pointer to the static register descriptor.

◆ value

template<size_t N, typename UInt = uint32_t>
UInt microfmt::reg_view< N, UInt >::value

Raw register value.


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