1#[doc = r" Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4 #[doc = "0x00 - Control register 1"]
5 pub cr1: CR1,
6 #[doc = "0x04 - Control register 2"]
7 pub cr2: CR2,
8 #[doc = "0x08 - Own address register 1"]
9 pub oar1: OAR1,
10 #[doc = "0x0c - Own address register 2"]
11 pub oar2: OAR2,
12 #[doc = "0x10 - Timing register"]
13 pub timingr: TIMINGR,
14 #[doc = "0x14 - Status register 1"]
15 pub timeoutr: TIMEOUTR,
16 #[doc = "0x18 - Interrupt and Status register"]
17 pub isr: ISR,
18 #[doc = "0x1c - Interrupt clear register"]
19 pub icr: ICR,
20 #[doc = "0x20 - PEC register"]
21 pub pecr: PECR,
22 #[doc = "0x24 - Receive data register"]
23 pub rxdr: RXDR,
24 #[doc = "0x28 - Transmit data register"]
25 pub txdr: TXDR,
26}
27#[doc = "Control register 1"]
28pub struct CR1 {
29 register: ::vcell::VolatileCell<u32>,
30}
31#[doc = "Control register 1"]
32pub mod cr1;
33#[doc = "Control register 2"]
34pub struct CR2 {
35 register: ::vcell::VolatileCell<u32>,
36}
37#[doc = "Control register 2"]
38pub mod cr2;
39#[doc = "Own address register 1"]
40pub struct OAR1 {
41 register: ::vcell::VolatileCell<u32>,
42}
43#[doc = "Own address register 1"]
44pub mod oar1;
45#[doc = "Own address register 2"]
46pub struct OAR2 {
47 register: ::vcell::VolatileCell<u32>,
48}
49#[doc = "Own address register 2"]
50pub mod oar2;
51#[doc = "Timing register"]
52pub struct TIMINGR {
53 register: ::vcell::VolatileCell<u32>,
54}
55#[doc = "Timing register"]
56pub mod timingr;
57#[doc = "Status register 1"]
58pub struct TIMEOUTR {
59 register: ::vcell::VolatileCell<u32>,
60}
61#[doc = "Status register 1"]
62pub mod timeoutr;
63#[doc = "Interrupt and Status register"]
64pub struct ISR {
65 register: ::vcell::VolatileCell<u32>,
66}
67#[doc = "Interrupt and Status register"]
68pub mod isr;
69#[doc = "Interrupt clear register"]
70pub struct ICR {
71 register: ::vcell::VolatileCell<u32>,
72}
73#[doc = "Interrupt clear register"]
74pub mod icr;
75#[doc = "PEC register"]
76pub struct PECR {
77 register: ::vcell::VolatileCell<u32>,
78}
79#[doc = "PEC register"]
80pub mod pecr;
81#[doc = "Receive data register"]
82pub struct RXDR {
83 register: ::vcell::VolatileCell<u32>,
84}
85#[doc = "Receive data register"]
86pub mod rxdr;
87#[doc = "Transmit data register"]
88pub struct TXDR {
89 register: ::vcell::VolatileCell<u32>,
90}
91#[doc = "Transmit data register"]
92pub mod txdr;