#include <uhd/utils/soft_register.hpp>
Public Types | |
typedef boost::shared_ptr< soft_register_sync_t< reg_data_t, readable, writable > > | sptr |
Public Types inherited from uhd::soft_register_t< reg_data_t, readable, writable > | |
typedef boost::shared_ptr< soft_register_t< reg_data_t, readable, writable > > | sptr |
Additional Inherited Members | |
Static Public Member Functions inherited from uhd::soft_register_base | |
template<typename soft_reg_t > | |
static UHD_INLINE soft_reg_t & | cast (soft_register_base ®) |
Static Public Attributes inherited from uhd::soft_register_t< reg_data_t, readable, writable > | |
static const uhd::soft_reg_field_t | REGISTER = ((( 0 & 0xFF) << 8) | ( sizeof(reg_data_t) * 8 & 0xFF)) |
A synchronized soft register object. All operations in the synchronized register are serialized.
typedef boost::shared_ptr<soft_register_sync_t<reg_data_t, readable, writable> > uhd::soft_register_sync_t< reg_data_t, readable, writable >::sptr |
|
inline |
|
inlineexplicit |
|
inlinevirtual |
Write the contents of the soft-copy to hardware.
Reimplemented from uhd::soft_register_t< reg_data_t, readable, writable >.
|
inline |
|
inlinevirtual |
Initialize the register when the underlying bus is usable. Can be optionally synced with hardware. NOTE: Memory management of the iface is up to the caller
Reimplemented from uhd::soft_register_t< reg_data_t, readable, writable >.
|
inline |
|
inlinevirtual |
Read the contents of the register from hardware and update the soft copy.
Reimplemented from uhd::soft_register_t< reg_data_t, readable, writable >.
|
inline |
|
inline |