Access to the Control Register.
More...
#include <machine/core_cr.h>
|
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...
|
|
template<uint8_t id>
class Core::CR< id >
Access to the Control Register.
- See also
- ISDMv3, 2.5 Control Registers
- Template Parameters
-
id | Control Register to access |
◆ read()
template<uint8_t id>
static uintptr_t Core::CR< id >::read |
( |
void |
| ) |
|
|
inlinestatic |
Read the value of the current Control Register.
- Returns
- Value stored in the CR
◆ write()
template<uint8_t id>
static void Core::CR< id >::write |
( |
uintptr_t |
value | ) |
|
|
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: