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:
3232 STANDBY : [1, "Standby Mode"]
3333 PDOWN : [2, "Power-down Mode"]
3434
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+
3550TCD0 :
3651 EVCTRL? :
3752 CFG :
@@ -100,8 +115,19 @@ CPUINT:
100115
101116EVSYS :
102117 # 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"
103123 _array :
104124 " ASYNCCH* " : {}
105125 " SYNCCH* " : {}
106126 " ASYNCUSER* " : {}
107127 " 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 11//! This crate contains register definitions for
2- #![ feature( asm_const) ]
3-
42#![ cfg_attr( feature = "at90usb1286" , doc = "**at90usb1286**," ) ]
53#![ cfg_attr( feature = "atmega1280" , doc = "**atmega1280**," ) ]
64#![ cfg_attr( feature = "atmega1284p" , doc = "**atmega1284p**," ) ]
You can’t perform that action at this time.
0 commit comments