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 - status register"]
9 pub sr: SR,
10 #[doc = "0x0c - data register"]
11 pub dr: DR,
12 #[doc = "0x10 - CRC polynomial register"]
13 pub crcpr: CRCPR,
14 #[doc = "0x14 - RX CRC register"]
15 pub rxcrcr: RXCRCR,
16 #[doc = "0x18 - TX CRC register"]
17 pub txcrcr: TXCRCR,
18}
19#[doc = "control register 1"]
20pub struct CR1 {
21 register: ::vcell::VolatileCell<u32>,
22}
23#[doc = "control register 1"]
24pub mod cr1;
25#[doc = "control register 2"]
26pub struct CR2 {
27 register: ::vcell::VolatileCell<u32>,
28}
29#[doc = "control register 2"]
30pub mod cr2;
31#[doc = "status register"]
32pub struct SR {
33 register: ::vcell::VolatileCell<u32>,
34}
35#[doc = "status register"]
36pub mod sr;
37#[doc = "data register"]
38pub struct DR {
39 register: ::vcell::VolatileCell<u32>,
40}
41#[doc = "data register"]
42pub mod dr;
43#[doc = "CRC polynomial register"]
44pub struct CRCPR {
45 register: ::vcell::VolatileCell<u32>,
46}
47#[doc = "CRC polynomial register"]
48pub mod crcpr;
49#[doc = "RX CRC register"]
50pub struct RXCRCR {
51 register: ::vcell::VolatileCell<u32>,
52}
53#[doc = "RX CRC register"]
54pub mod rxcrcr;
55#[doc = "TX CRC register"]
56pub struct TXCRCR {
57 register: ::vcell::VolatileCell<u32>,
58}
59#[doc = "TX CRC register"]
60pub mod txcrcr;