Numworks Epsilon
1.4.1
Graphing Calculator Operating System
pwr.h
Go to the documentation of this file.
1
#ifndef REGS_PWR_H
2
#define REGS_PWR_H
3
4
#include "
register.h
"
5
6
class
PWR
{
7
public
:
8
class
CR
:
Register32
{
9
public
:
10
REGS_BOOL_FIELD
(LPDS, 0);
11
REGS_BOOL_FIELD
(PPDS, 1);
12
REGS_BOOL_FIELD
(FPDS, 9);
13
};
14
15
constexpr
PWR
() {};
16
REGS_REGISTER_AT
(CR, 0x00);
17
private
:
18
constexpr
uint32_t
Base()
const
{
19
return
0x40007000;
20
};
21
};
22
23
constexpr
PWR
PWR
;
24
25
#endif
PWR
Definition:
pwr.h:6
register.h
PWR::REGS_REGISTER_AT
REGS_REGISTER_AT(CR, 0x00)
PWR::PWR
constexpr PWR()
Definition:
pwr.h:15
Register
Definition:
register.h:8
uint32_t
unsigned int uint32_t
Definition:
stdint.h:6
PWR::CR::REGS_BOOL_FIELD
REGS_BOOL_FIELD(LPDS, 0)
PWR
constexpr PWR PWR
Definition:
pwr.h:23
PWR::CR
Definition:
pwr.h:8
epsilon
ion
src
device
regs
pwr.h
Generated by
1.8.14