L4Re Operating System Framework – Interface and Usage Documentation
|
Single hardware register inside a Register_block_base interface. More...
#include <hw_register_block>
Public Member Functions | |
Register_tmpl & | operator= (value_type val) |
write val into the hardware register. | |
void | write (value_type val) |
write val into the hardware register. | |
value_type | set (value_type set_bits) |
set bits in set_bits in the hardware register. | |
value_type | clear (value_type clear_bits) |
clears bits in clear_bits in the hardware register. | |
value_type | modify (value_type clear_bits, value_type set_bits) |
clears bits in clear_bits and sets bits in set_bits in the hardware register. | |
Public Member Functions inherited from L4drivers::Ro_register_tmpl< BITS, BLOCK > | |
operator value_type () const | |
read the value from the hardware register. | |
value_type | read () const |
read the value from the hardware register. | |
Single hardware register inside a Register_block_base interface.
BITS | The access width for the register in bits. |
BLOCK | the type of the Register_block_base interface. |
Definition at line 236 of file hw_register_block.
|
inline |
clears bits in clear_bits in the hardware register.
clear_bits | bits to be cleared within the hardware register. |
This is a read-modify-write function that does a logical and of the old value from the register with the negated value of clear_bits.
Definition at line 289 of file hw_register_block.
|
inline |
clears bits in clear_bits and sets bits in set_bits in the hardware register.
clear_bits | bits to be cleared within the hardware register. |
set_bits | bits to set in the hardware register. |
This is a read-modify-write function that first does a logical and of the old value from the register with the negated value of clear_bits and then does a logical or with set_bits.
Definition at line 307 of file hw_register_block.
|
inline |
write val into the hardware register.
val | the value to write into the hardware register. |
Definition at line 251 of file hw_register_block.
|
inline |
set bits in set_bits in the hardware register.
set_bits | bits to be set within the hardware register. |
This is a read-modify-write function that does a logical or of the old value from the register with set_bits.
Definition at line 273 of file hw_register_block.
|
inline |
write val into the hardware register.
val | the value to write into the hardware register. |
Definition at line 258 of file hw_register_block.