SatCat5
satcat5::cfg::WrappedRegister Class Reference

Detailed Description

Generic wrapper for a specific ConfigBus register.

ConfigBus API concepts.

Note: Most devices should use the "Register" alias defined below, which simplifies direct access if SATCAT5_CFGBUS_DIRECT is set.

Definition at line 59 of file cfgbus_core.h.

#include <cfgbus_core.h>

Collaboration diagram for satcat5::cfg::WrappedRegister:
[legend]

Public Member Functions

 WrappedRegister (ConfigBus *cfg, unsigned reg)
 
 operator u32 ()
 
void operator= (u32 wrval)
 
void write_repeat (unsigned count, const u32 *data)
 

Protected Attributes

satcat5::cfg::ConfigBus *const m_cfg
 
const unsigned m_reg
 

The documentation for this class was generated from the following files: