Numworks Epsilon  1.4.1
Graphing Calculator Operating System
CM4::CPACR Class Reference

#include <cm4.h>

Inheritance diagram for CM4::CPACR:
Register< T >

Public Types

enum  Access { Access::Denied = 0, Access::PrivilegedOnly = 1, Access::Full = 3 }
 

Public Member Functions

void setAccess (int index, Access a) volatile
 
- Public Member Functions inherited from Register< T >
 Register ()=delete
 
 Register (T v)
 
void set (Register< T > value) volatile
 
void set (T value) volatile
 
T get () volatile
 
void setBitRange (uint8_t high, uint8_t low, T value) volatile
 
T getBitRange (uint8_t high, uint8_t low) volatile
 

Additional Inherited Members

- Static Protected Member Functions inherited from Register< T >
static constexpr T bit_range_mask (uint8_t high, uint8_t low)
 
static constexpr T bit_range_value (T value, uint8_t high, uint8_t low)
 
static constexpr T bit_range_set_value (uint8_t high, uint8_t low, T originalValue, T targetValue)
 

Detailed Description

Definition at line 17 of file cm4.h.

Member Enumeration Documentation

◆ Access

enum CM4::CPACR::Access
strong
Enumerator
Denied 
PrivilegedOnly 
Full 

Definition at line 19 of file cm4.h.

Member Function Documentation

◆ setAccess()

void CM4::CPACR::setAccess ( int  index,
Access  a 
) volatile
inline

Definition at line 24 of file cm4.h.


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