File tree Expand file tree Collapse file tree 2 files changed +26
-2
lines changed Expand file tree Collapse file tree 2 files changed +26
-2
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,21 @@ SLPCTRL:
32
32
STANDBY : [1, "Standby Mode"]
33
33
PDOWN : [2, "Power-down Mode"]
34
34
35
+ TCB0 :
36
+ _add :
37
+ # FIXME: no idea how to add a write constraint with range [0x0, 0xFF] to
38
+ # added registers to prevent bits() from being marked as unsafe
39
+ CCMPL :
40
+ description : Lower Compare or Capture in 8-bit PWM mode
41
+ addressOffset : 0x0C
42
+ access : read-write
43
+ size : 8
44
+ CCMPH :
45
+ description : Upper Compare or Capture in 8-bit PWM mode
46
+ addressOffset : 0x0D
47
+ access : read-write
48
+ size : 8
49
+
35
50
TCD0 :
36
51
EVCTRL? :
37
52
CFG :
@@ -100,8 +115,19 @@ CPUINT:
100
115
101
116
EVSYS :
102
117
# make ASYNCCHx, SYNCCHx, ASYNCUSERx and SYNCUSERx a rust slice
118
+ _modify :
119
+ " ASYNCUSER* " :
120
+ description : " Users of asynchronous channels"
121
+ " SYNCUSER* " :
122
+ description : " Users of synchronous channels"
103
123
_array :
104
124
" ASYNCCH* " : {}
105
125
" SYNCCH* " : {}
106
126
" ASYNCUSER* " : {}
107
127
" SYNCUSER* " : {}
128
+
129
+ " SIGROW " :
130
+ # make a bunch of registers rust slices for easier access
131
+ _array :
132
+ " DEVICEID? " : {}
133
+ " SERNUM? " : {}
Original file line number Diff line number Diff line change 1
1
//! This crate contains register definitions for
2
- #![ feature( asm_const) ]
3
-
4
2
#![ cfg_attr( feature = "at90usb1286" , doc = "**at90usb1286**," ) ]
5
3
#![ cfg_attr( feature = "atmega1280" , doc = "**atmega1280**," ) ]
6
4
#![ cfg_attr( feature = "atmega1284p" , doc = "**atmega1284p**," ) ]
You can’t perform that action at this time.
0 commit comments