USRP Hardware Driver and USRP Manual  Version: 003.010.002.HEAD-0-gbd6e21dc
UHD and USRP Manual
uhd::soft_register_base Class Referenceabstract

#include <uhd/utils/soft_register.hpp>

Inheritance diagram for uhd::soft_register_base:
uhd::soft_register_t< reg_data_t, readable, writable > uhd::soft_register_sync_t< reg_data_t, readable, writable >

Public Member Functions

virtual ~soft_register_base ()
 
virtual void initialize (wb_iface &iface, bool sync=false)=0
 
virtual void flush ()=0
 
virtual void refresh ()=0
 
virtual size_t get_bitwidth ()=0
 
virtual bool is_readable ()=0
 
virtual bool is_writable ()=0
 

Static Public Member Functions

template<typename soft_reg_t >
static UHD_INLINE soft_reg_t & cast (soft_register_base &reg)
 

Constructor & Destructor Documentation

◆ ~soft_register_base()

virtual uhd::soft_register_base::~soft_register_base ( )
inlinevirtual

Member Function Documentation

◆ cast()

template<typename soft_reg_t >
static UHD_INLINE soft_reg_t& uhd::soft_register_base::cast ( soft_register_base reg)
inlinestatic

Cast the soft_register generic reference to a more specific type

◆ flush()

virtual void uhd::soft_register_base::flush ( )
pure virtual

◆ get_bitwidth()

virtual size_t uhd::soft_register_base::get_bitwidth ( )
pure virtual

◆ initialize()

virtual void uhd::soft_register_base::initialize ( wb_iface iface,
bool  sync = false 
)
pure virtual

◆ is_readable()

virtual bool uhd::soft_register_base::is_readable ( )
pure virtual

◆ is_writable()

virtual bool uhd::soft_register_base::is_writable ( )
pure virtual

◆ refresh()

virtual void uhd::soft_register_base::refresh ( )
pure virtual

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