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
use crate::reg::prelude::*;
use drone_core::reg;
reg! {
pub mod ITM TPR;
0xE000_0E40 0x20 0x0000_0000
RReg WReg;
PRIVMASK { 0 32 RRRegField WWRegField }
}
reg! {
pub mod ITM TCR;
0xE000_0E80 0x20 0x0000_0000
RReg WReg;
BUSY { 23 1 RRRegField RoRRegField }
TraceBusID { 16 7 RRRegField WWRegField }
GTSFREQ { 10 2 RRRegField WWRegField }
TSPrescale { 8 2 RRRegField WWRegField }
SWOENA { 4 1 RRRegField WWRegField }
TXENA { 3 1 RRRegField WWRegField }
SYNCENA { 2 1 RRRegField WWRegField }
TSENA { 1 1 RRRegField WWRegField }
ITMENA { 0 1 RRRegField WWRegField }
}
reg! {
pub mod ITM LAR;
0xE000_0FB0 0x20 0x0000_0000
WReg WoReg;
UNLOCK { 0 32 WWRegField WoWRegField }
}