![]() |
L4Re Operating System Framework
Interface and Usage Documentation
|
Handles a reference to a read only register block of the given maximum access width. More...
#include <hw_register_block>
Public Member Functions | |
| Ro_register | operator[] (unsigned offset) const |
| Read only access to register at offset offset. | |
| template<unsigned BITS> | |
| Ro_register_tmpl< BITS, Block > | r (unsigned offset) const |
| Read only access to register at offset offset. | |
Handles a reference to a read only register block of the given maximum access width.
| MAX_BITS | Maximum access width for the registers in this block. |
| BLOCK | Type implementing the register accesses (read<>()), |
Provides read only access to registers in this block via r<WIDTH>() and operator[]().
Definition at line 404 of file hw_register_block.
|
inline |
Read only access to register at offset offset.
| offset | The offset of the register within the register file. |
Definition at line 426 of file hw_register_block.
|
inline |
Read only access to register at offset offset.
| BITS | the access width in bits for the register. |
| offset | The offset of the register within the register file. |
Definition at line 436 of file hw_register_block.