C++ Crashkurs
Core::CR< id > Class Template Reference
Access to the Control Register. More...
#include <machine/core_cr.h>
Static Public Member Functions | |
static uintptr_t | read (void) |
Read the value of the current Control Register. More... | |
static void | write (uintptr_t value) |
Write a value into the current Control Register. More... | |
Detailed Description
template<uint8_t id>
class Core::CR< id >
class Core::CR< id >
Access to the Control Register.
- See also
- ISDMv3, 2.5 Control Registers
- Template Parameters
-
id Control Register to access
Member Function Documentation
template<uint8_t id>
|
inlinestatic |
Read the value of the current Control Register.
- Returns
- Value stored in the CR
template<uint8_t id>
|
inlinestatic |
Write a value into the current Control Register.
- Parameters
-
value Value to write into the CR
The documentation for this class was generated from the following file:
- machine/core_cr.h