Class hal::bit_modify
template <std::unsigned_integral T>
ClassList > hal > bit_modify
Inherits the following classes: hal::bit_value
Public Static Attributes inherited from hal::bit_value
See hal::bit_value
Type | Name |
---|---|
constexpr std::uint32_t | width = = sizeof(T) * 8 |
Public Functions
Type | Name |
---|---|
constexpr | bit_modify (volatile T & p_register_reference) |
~bit_modify () |
Public Functions inherited from hal::bit_value
See hal::bit_value
Type | Name |
---|---|
constexpr | bit_value (T p_initial_value=0) |
constexpr auto & | clear () |
constexpr auto & | clear (bit_mask p_field) |
constexpr T | get () |
constexpr auto & | insert (std::unsigned_integral auto p_value) |
constexpr auto & | insert (bit_mask p_field, std::unsigned_integral auto p_value) |
constexpr auto & | set () |
constexpr auto & | set (bit_mask p_field) |
constexpr auto | to () |
constexpr auto & | toggle () |
constexpr auto & | toggle (bit_mask p_field) |
Protected Attributes inherited from hal::bit_value
See hal::bit_value
Type | Name |
---|---|
T | m_value |
Public Functions Documentation
function bit_modify
inline constexpr hal::bit_modify::bit_modify (
volatile T & p_register_reference
)
function ~bit_modify
inline hal::bit_modify::~bit_modify ()
The documentation for this class was generated from the following file libraries/include/libhal-util/bit.hpp