Numworks Epsilon  1.4.1
Graphing Calculator Operating System
FLASH::CR Class Reference

#include <flash.h>

Inheritance diagram for FLASH::CR:
Register< T >

Public Types

enum  PSIZE : uint8_t { PSIZE::X8 = 0, PSIZE::X16 = 1, PSIZE::X32 = 2, PSIZE::X64 = 3 }
 

Public Member Functions

 REGS_BOOL_FIELD (PG, 0)
 
 REGS_BOOL_FIELD (SER, 1)
 
 REGS_BOOL_FIELD (MER, 2)
 
 REGS_FIELD (SNB, uint8_t, 6, 3)
 
 REGS_TYPE_FIELD (PSIZE, 9, 8)
 
 REGS_BOOL_FIELD (STRT, 16)
 
 REGS_BOOL_FIELD (LOCK, 31)
 
- 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 21 of file flash.h.

Member Enumeration Documentation

◆ PSIZE

enum FLASH::CR::PSIZE : uint8_t
strong
Enumerator
X8 
X16 
X32 
X64 

Definition at line 23 of file flash.h.

Member Function Documentation

◆ REGS_BOOL_FIELD() [1/5]

FLASH::CR::REGS_BOOL_FIELD ( PG  ,
 
)

◆ REGS_BOOL_FIELD() [2/5]

FLASH::CR::REGS_BOOL_FIELD ( SER  ,
 
)

◆ REGS_BOOL_FIELD() [3/5]

FLASH::CR::REGS_BOOL_FIELD ( MER  ,
 
)

◆ REGS_BOOL_FIELD() [4/5]

FLASH::CR::REGS_BOOL_FIELD ( STRT  ,
16   
)

◆ REGS_BOOL_FIELD() [5/5]

FLASH::CR::REGS_BOOL_FIELD ( LOCK  ,
31   
)

◆ REGS_FIELD()

FLASH::CR::REGS_FIELD ( SNB  ,
uint8_t  ,
,
 
)

◆ REGS_TYPE_FIELD()

FLASH::CR::REGS_TYPE_FIELD ( PSIZE  ,
,
 
)

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