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
40
41
42
43
44
45
46
47
48
use crate::reg::prelude::*;
use drone_core::reg;
reg! {
pub mod STK CTRL;
0xE000_E010 0x20 0x0000_0000
RReg WReg;
COUNTFLAG { 16 1 RRRegField WWRegField }
CLKSOURCE { 2 1 RRRegField WWRegField }
TICKINT { 1 1 RRRegField WWRegField }
ENABLE { 0 1 RRRegField WWRegField }
}
reg! {
pub mod STK LOAD;
0xE000_E014 0x20 0x0000_0000
RReg WReg;
RELOAD { 0 24 RRRegField WWRegField }
}
reg! {
pub mod STK VAL;
0xE000_E018 0x20 0x0000_0000
RReg WReg;
CURRENT { 0 24 RRRegField WWRegField }
}
reg! {
pub mod STK CALIB;
0xE000_E01C 0x20 0x0000_0000
RReg RoReg;
NOREF { 31 1 RRRegField RoRRegField }
SKEW { 30 1 RRRegField RoRRegField }
TENMS { 0 24 RRRegField RoRRegField }
}