efm32gg12b110_pac/
can1.rs1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4 #[doc = "0x00 - Control Register"]
5 pub ctrl: crate::Reg<ctrl::CTRL_SPEC>,
6 #[doc = "0x04 - Status Register"]
7 pub status: crate::Reg<status::STATUS_SPEC>,
8 #[doc = "0x08 - Error Count Register"]
9 pub errcnt: crate::Reg<errcnt::ERRCNT_SPEC>,
10 #[doc = "0x0c - Bit Timing Register"]
11 pub bittiming: crate::Reg<bittiming::BITTIMING_SPEC>,
12 #[doc = "0x10 - Interrupt Identification Register"]
13 pub intid: crate::Reg<intid::INTID_SPEC>,
14 #[doc = "0x14 - Test Register"]
15 pub test: crate::Reg<test::TEST_SPEC>,
16 #[doc = "0x18 - BRP Extension Register"]
17 pub brpe: crate::Reg<brpe::BRPE_SPEC>,
18 #[doc = "0x1c - Transmission Request Register"]
19 pub transreq: crate::Reg<transreq::TRANSREQ_SPEC>,
20 #[doc = "0x20 - New Data Register"]
21 pub messagedata: crate::Reg<messagedata::MESSAGEDATA_SPEC>,
22 _reserved9: [u8; 0x04],
23 #[doc = "0x28 - Message Valid Register"]
24 pub messagestate: crate::Reg<messagestate::MESSAGESTATE_SPEC>,
25 #[doc = "0x2c - Configuration Register"]
26 pub config: crate::Reg<config::CONFIG_SPEC>,
27 #[doc = "0x30 - Message Object Interrupt Flag Register"]
28 pub if0if: crate::Reg<if0if::IF0IF_SPEC>,
29 #[doc = "0x34 - Message Object Interrupt Flag Set Register"]
30 pub if0ifs: crate::Reg<if0ifs::IF0IFS_SPEC>,
31 #[doc = "0x38 - Message Object Interrupt Flag Clear Register"]
32 pub if0ifc: crate::Reg<if0ifc::IF0IFC_SPEC>,
33 #[doc = "0x3c - Message Object Interrupt Enable Register"]
34 pub if0ien: crate::Reg<if0ien::IF0IEN_SPEC>,
35 #[doc = "0x40 - Status Interrupt Flag Register"]
36 pub if1if: crate::Reg<if1if::IF1IF_SPEC>,
37 #[doc = "0x44 - Message Object Interrupt Flag Set Register"]
38 pub if1ifs: crate::Reg<if1ifs::IF1IFS_SPEC>,
39 #[doc = "0x48 - Message Object Interrupt Flag Clear Register"]
40 pub if1ifc: crate::Reg<if1ifc::IF1IFC_SPEC>,
41 #[doc = "0x4c - Status Interrupt Enable Register"]
42 pub if1ien: crate::Reg<if1ien::IF1IEN_SPEC>,
43 #[doc = "0x50 - I/O Routing Register"]
44 pub route: crate::Reg<route::ROUTE_SPEC>,
45 _reserved20: [u8; 0x0c],
46 #[doc = "0x60 - Interface Command Mask Register"]
47 pub mir0_cmdmask: crate::Reg<mir0_cmdmask::MIR0_CMDMASK_SPEC>,
48 #[doc = "0x64 - Interface Mask Register"]
49 pub mir0_mask: crate::Reg<mir0_mask::MIR0_MASK_SPEC>,
50 #[doc = "0x68 - Interface Arbitration Register"]
51 pub mir0_arb: crate::Reg<mir0_arb::MIR0_ARB_SPEC>,
52 #[doc = "0x6c - Interface Message Control Register"]
53 pub mir0_ctrl: crate::Reg<mir0_ctrl::MIR0_CTRL_SPEC>,
54 #[doc = "0x70 - Interface Data a Register"]
55 pub mir0_datal: crate::Reg<mir0_datal::MIR0_DATAL_SPEC>,
56 #[doc = "0x74 - Interface Data B Register"]
57 pub mir0_datah: crate::Reg<mir0_datah::MIR0_DATAH_SPEC>,
58 #[doc = "0x78 - Interface Command Request Register"]
59 pub mir0_cmdreq: crate::Reg<mir0_cmdreq::MIR0_CMDREQ_SPEC>,
60 _reserved27: [u8; 0x04],
61 #[doc = "0x80 - Interface Command Mask Register"]
62 pub mir1_cmdmask: crate::Reg<mir1_cmdmask::MIR1_CMDMASK_SPEC>,
63 #[doc = "0x84 - Interface Mask Register"]
64 pub mir1_mask: crate::Reg<mir1_mask::MIR1_MASK_SPEC>,
65 #[doc = "0x88 - Interface Arbitration Register"]
66 pub mir1_arb: crate::Reg<mir1_arb::MIR1_ARB_SPEC>,
67 #[doc = "0x8c - Interface Message Control Register"]
68 pub mir1_ctrl: crate::Reg<mir1_ctrl::MIR1_CTRL_SPEC>,
69 #[doc = "0x90 - Interface Data a Register"]
70 pub mir1_datal: crate::Reg<mir1_datal::MIR1_DATAL_SPEC>,
71 #[doc = "0x94 - Interface Data B Register"]
72 pub mir1_datah: crate::Reg<mir1_datah::MIR1_DATAH_SPEC>,
73 #[doc = "0x98 - Interface Command Request Register"]
74 pub mir1_cmdreq: crate::Reg<mir1_cmdreq::MIR1_CMDREQ_SPEC>,
75}
76#[doc = "CTRL register accessor: an alias for `Reg<CTRL_SPEC>`"]
77pub type CTRL = crate::Reg<ctrl::CTRL_SPEC>;
78#[doc = "Control Register"]
79pub mod ctrl;
80#[doc = "STATUS register accessor: an alias for `Reg<STATUS_SPEC>`"]
81pub type STATUS = crate::Reg<status::STATUS_SPEC>;
82#[doc = "Status Register"]
83pub mod status;
84#[doc = "ERRCNT register accessor: an alias for `Reg<ERRCNT_SPEC>`"]
85pub type ERRCNT = crate::Reg<errcnt::ERRCNT_SPEC>;
86#[doc = "Error Count Register"]
87pub mod errcnt;
88#[doc = "BITTIMING register accessor: an alias for `Reg<BITTIMING_SPEC>`"]
89pub type BITTIMING = crate::Reg<bittiming::BITTIMING_SPEC>;
90#[doc = "Bit Timing Register"]
91pub mod bittiming;
92#[doc = "INTID register accessor: an alias for `Reg<INTID_SPEC>`"]
93pub type INTID = crate::Reg<intid::INTID_SPEC>;
94#[doc = "Interrupt Identification Register"]
95pub mod intid;
96#[doc = "TEST register accessor: an alias for `Reg<TEST_SPEC>`"]
97pub type TEST = crate::Reg<test::TEST_SPEC>;
98#[doc = "Test Register"]
99pub mod test;
100#[doc = "BRPE register accessor: an alias for `Reg<BRPE_SPEC>`"]
101pub type BRPE = crate::Reg<brpe::BRPE_SPEC>;
102#[doc = "BRP Extension Register"]
103pub mod brpe;
104#[doc = "TRANSREQ register accessor: an alias for `Reg<TRANSREQ_SPEC>`"]
105pub type TRANSREQ = crate::Reg<transreq::TRANSREQ_SPEC>;
106#[doc = "Transmission Request Register"]
107pub mod transreq;
108#[doc = "MESSAGEDATA register accessor: an alias for `Reg<MESSAGEDATA_SPEC>`"]
109pub type MESSAGEDATA = crate::Reg<messagedata::MESSAGEDATA_SPEC>;
110#[doc = "New Data Register"]
111pub mod messagedata;
112#[doc = "MESSAGESTATE register accessor: an alias for `Reg<MESSAGESTATE_SPEC>`"]
113pub type MESSAGESTATE = crate::Reg<messagestate::MESSAGESTATE_SPEC>;
114#[doc = "Message Valid Register"]
115pub mod messagestate;
116#[doc = "CONFIG register accessor: an alias for `Reg<CONFIG_SPEC>`"]
117pub type CONFIG = crate::Reg<config::CONFIG_SPEC>;
118#[doc = "Configuration Register"]
119pub mod config;
120#[doc = "IF0IF register accessor: an alias for `Reg<IF0IF_SPEC>`"]
121pub type IF0IF = crate::Reg<if0if::IF0IF_SPEC>;
122#[doc = "Message Object Interrupt Flag Register"]
123pub mod if0if;
124#[doc = "IF0IFS register accessor: an alias for `Reg<IF0IFS_SPEC>`"]
125pub type IF0IFS = crate::Reg<if0ifs::IF0IFS_SPEC>;
126#[doc = "Message Object Interrupt Flag Set Register"]
127pub mod if0ifs;
128#[doc = "IF0IFC register accessor: an alias for `Reg<IF0IFC_SPEC>`"]
129pub type IF0IFC = crate::Reg<if0ifc::IF0IFC_SPEC>;
130#[doc = "Message Object Interrupt Flag Clear Register"]
131pub mod if0ifc;
132#[doc = "IF0IEN register accessor: an alias for `Reg<IF0IEN_SPEC>`"]
133pub type IF0IEN = crate::Reg<if0ien::IF0IEN_SPEC>;
134#[doc = "Message Object Interrupt Enable Register"]
135pub mod if0ien;
136#[doc = "IF1IF register accessor: an alias for `Reg<IF1IF_SPEC>`"]
137pub type IF1IF = crate::Reg<if1if::IF1IF_SPEC>;
138#[doc = "Status Interrupt Flag Register"]
139pub mod if1if;
140#[doc = "IF1IFS register accessor: an alias for `Reg<IF1IFS_SPEC>`"]
141pub type IF1IFS = crate::Reg<if1ifs::IF1IFS_SPEC>;
142#[doc = "Message Object Interrupt Flag Set Register"]
143pub mod if1ifs;
144#[doc = "IF1IFC register accessor: an alias for `Reg<IF1IFC_SPEC>`"]
145pub type IF1IFC = crate::Reg<if1ifc::IF1IFC_SPEC>;
146#[doc = "Message Object Interrupt Flag Clear Register"]
147pub mod if1ifc;
148#[doc = "IF1IEN register accessor: an alias for `Reg<IF1IEN_SPEC>`"]
149pub type IF1IEN = crate::Reg<if1ien::IF1IEN_SPEC>;
150#[doc = "Status Interrupt Enable Register"]
151pub mod if1ien;
152#[doc = "ROUTE register accessor: an alias for `Reg<ROUTE_SPEC>`"]
153pub type ROUTE = crate::Reg<route::ROUTE_SPEC>;
154#[doc = "I/O Routing Register"]
155pub mod route;
156#[doc = "MIR0_CMDMASK register accessor: an alias for `Reg<MIR0_CMDMASK_SPEC>`"]
157pub type MIR0_CMDMASK = crate::Reg<mir0_cmdmask::MIR0_CMDMASK_SPEC>;
158#[doc = "Interface Command Mask Register"]
159pub mod mir0_cmdmask;
160#[doc = "MIR0_MASK register accessor: an alias for `Reg<MIR0_MASK_SPEC>`"]
161pub type MIR0_MASK = crate::Reg<mir0_mask::MIR0_MASK_SPEC>;
162#[doc = "Interface Mask Register"]
163pub mod mir0_mask;
164#[doc = "MIR0_ARB register accessor: an alias for `Reg<MIR0_ARB_SPEC>`"]
165pub type MIR0_ARB = crate::Reg<mir0_arb::MIR0_ARB_SPEC>;
166#[doc = "Interface Arbitration Register"]
167pub mod mir0_arb;
168#[doc = "MIR0_CTRL register accessor: an alias for `Reg<MIR0_CTRL_SPEC>`"]
169pub type MIR0_CTRL = crate::Reg<mir0_ctrl::MIR0_CTRL_SPEC>;
170#[doc = "Interface Message Control Register"]
171pub mod mir0_ctrl;
172#[doc = "MIR0_DATAL register accessor: an alias for `Reg<MIR0_DATAL_SPEC>`"]
173pub type MIR0_DATAL = crate::Reg<mir0_datal::MIR0_DATAL_SPEC>;
174#[doc = "Interface Data a Register"]
175pub mod mir0_datal;
176#[doc = "MIR0_DATAH register accessor: an alias for `Reg<MIR0_DATAH_SPEC>`"]
177pub type MIR0_DATAH = crate::Reg<mir0_datah::MIR0_DATAH_SPEC>;
178#[doc = "Interface Data B Register"]
179pub mod mir0_datah;
180#[doc = "MIR0_CMDREQ register accessor: an alias for `Reg<MIR0_CMDREQ_SPEC>`"]
181pub type MIR0_CMDREQ = crate::Reg<mir0_cmdreq::MIR0_CMDREQ_SPEC>;
182#[doc = "Interface Command Request Register"]
183pub mod mir0_cmdreq;
184#[doc = "MIR1_CMDMASK register accessor: an alias for `Reg<MIR1_CMDMASK_SPEC>`"]
185pub type MIR1_CMDMASK = crate::Reg<mir1_cmdmask::MIR1_CMDMASK_SPEC>;
186#[doc = "Interface Command Mask Register"]
187pub mod mir1_cmdmask;
188#[doc = "MIR1_MASK register accessor: an alias for `Reg<MIR1_MASK_SPEC>`"]
189pub type MIR1_MASK = crate::Reg<mir1_mask::MIR1_MASK_SPEC>;
190#[doc = "Interface Mask Register"]
191pub mod mir1_mask;
192#[doc = "MIR1_ARB register accessor: an alias for `Reg<MIR1_ARB_SPEC>`"]
193pub type MIR1_ARB = crate::Reg<mir1_arb::MIR1_ARB_SPEC>;
194#[doc = "Interface Arbitration Register"]
195pub mod mir1_arb;
196#[doc = "MIR1_CTRL register accessor: an alias for `Reg<MIR1_CTRL_SPEC>`"]
197pub type MIR1_CTRL = crate::Reg<mir1_ctrl::MIR1_CTRL_SPEC>;
198#[doc = "Interface Message Control Register"]
199pub mod mir1_ctrl;
200#[doc = "MIR1_DATAL register accessor: an alias for `Reg<MIR1_DATAL_SPEC>`"]
201pub type MIR1_DATAL = crate::Reg<mir1_datal::MIR1_DATAL_SPEC>;
202#[doc = "Interface Data a Register"]
203pub mod mir1_datal;
204#[doc = "MIR1_DATAH register accessor: an alias for `Reg<MIR1_DATAH_SPEC>`"]
205pub type MIR1_DATAH = crate::Reg<mir1_datah::MIR1_DATAH_SPEC>;
206#[doc = "Interface Data B Register"]
207pub mod mir1_datah;
208#[doc = "MIR1_CMDREQ register accessor: an alias for `Reg<MIR1_CMDREQ_SPEC>`"]
209pub type MIR1_CMDREQ = crate::Reg<mir1_cmdreq::MIR1_CMDREQ_SPEC>;
210#[doc = "Interface Command Request Register"]
211pub mod mir1_cmdreq;