hwreg::BitfieldRef

Summary

Constructors and Destructors

BitfieldRef(IntType *value_ptr, uint32_t bit_high_incl, uint32_t bit_low)
BitfieldRef(IntType *value_ptr, uint32_t bit_high_incl, uint32_t bit_low, bool unshifted)

Public functions

get() const
constexpr IntType
set(IntType field_val)
constexpr void

Public functions

BitfieldRef

constexpr BitfieldRef(
  IntType *value_ptr,
  uint32_t bit_high_incl,
  uint32_t bit_low
)

BitfieldRef

constexpr BitfieldRef(
  IntType *value_ptr,
  uint32_t bit_high_incl,
  uint32_t bit_low,
  bool unshifted
)

get

constexpr IntType get() const 

set

constexpr void set(
  IntType field_val
)