summaryrefslogtreecommitdiffstats
path: root/library/stdarch/crates/core_arch/src/arm_shared/registers/v6m.rs
blob: 7acc63b6d17fcab557bc877c967901c5a41323a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/// CONTROL register
pub struct CONTROL;

rsr!(CONTROL);
wsr!(CONTROL);

/// Execution Program Status Register
pub struct EPSR;

rsr!(EPSR);

/// Interrupt Program Status Register
pub struct IPSR;

rsr!(IPSR);

/// Main Stack Pointer
pub struct MSP;

rsrp!(MSP);
wsrp!(MSP);

/// Priority Mask Register
pub struct PRIMASK;

rsr!(PRIMASK);
wsr!(PRIMASK);

/// Process Stack Pointer
pub struct PSP;

rsrp!(PSP);
wsrp!(PSP);

/// Program Status Register
#[allow(non_camel_case_types)]
pub struct xPSR;

rsr!(xPSR);