StuBS
Core::CR< id > Class Template Reference

Access to the Control Register. More...

#include <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 >

Access to the Control Register.

See also
ISDMv3, 2.5 Control Registers
Template Parameters
idControl Register to access

Member Function Documentation

◆ 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
valueValue to write into the CR

The documentation for this class was generated from the following file: