SatCat5
satcat5::cfg::WrappedRegisterPtr Class Reference

Detailed Description

Pointer-like wrapper for one or more ConfigBus registers.

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 76 of file cfgbus_core.h.

#include <cfgbus_core.h>

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

Public Member Functions

 WrappedRegisterPtr (ConfigBus *cfg, unsigned reg)
 
bool operator! () const
 
satcat5::cfg::WrappedRegister operator* ()
 
satcat5::cfg::WrappedRegister operator[] (unsigned idx)
 
satcat5::cfg::WrappedRegisterPtr operator+ (unsigned idx)
 

Protected Attributes

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

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