stm32l4x2_pac/
quadspi.rs

1#[doc = r" Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4    #[doc = "0x00 - control register"]
5    pub cr: CR,
6    #[doc = "0x04 - device configuration register"]
7    pub dcr: DCR,
8    #[doc = "0x08 - status register"]
9    pub sr: SR,
10    #[doc = "0x0c - flag clear register"]
11    pub fcr: FCR,
12    #[doc = "0x10 - data length register"]
13    pub dlr: DLR,
14    #[doc = "0x14 - communication configuration register"]
15    pub ccr: CCR,
16    #[doc = "0x18 - address register"]
17    pub ar: AR,
18    #[doc = "0x1c - ABR"]
19    pub abr: ABR,
20    #[doc = "0x20 - data register"]
21    pub dr: DR,
22    #[doc = "0x24 - polling status mask register"]
23    pub psmkr: PSMKR,
24    #[doc = "0x28 - polling status match register"]
25    pub psmar: PSMAR,
26    #[doc = "0x2c - polling interval register"]
27    pub pir: PIR,
28    #[doc = "0x30 - low-power timeout register"]
29    pub lptr: LPTR,
30}
31#[doc = "control register"]
32pub struct CR {
33    register: ::vcell::VolatileCell<u32>,
34}
35#[doc = "control register"]
36pub mod cr;
37#[doc = "device configuration register"]
38pub struct DCR {
39    register: ::vcell::VolatileCell<u32>,
40}
41#[doc = "device configuration register"]
42pub mod dcr;
43#[doc = "status register"]
44pub struct SR {
45    register: ::vcell::VolatileCell<u32>,
46}
47#[doc = "status register"]
48pub mod sr;
49#[doc = "flag clear register"]
50pub struct FCR {
51    register: ::vcell::VolatileCell<u32>,
52}
53#[doc = "flag clear register"]
54pub mod fcr;
55#[doc = "data length register"]
56pub struct DLR {
57    register: ::vcell::VolatileCell<u32>,
58}
59#[doc = "data length register"]
60pub mod dlr;
61#[doc = "communication configuration register"]
62pub struct CCR {
63    register: ::vcell::VolatileCell<u32>,
64}
65#[doc = "communication configuration register"]
66pub mod ccr;
67#[doc = "address register"]
68pub struct AR {
69    register: ::vcell::VolatileCell<u32>,
70}
71#[doc = "address register"]
72pub mod ar;
73#[doc = "ABR"]
74pub struct ABR {
75    register: ::vcell::VolatileCell<u32>,
76}
77#[doc = "ABR"]
78pub mod abr;
79#[doc = "data register"]
80pub struct DR {
81    register: ::vcell::VolatileCell<u32>,
82}
83#[doc = "data register"]
84pub mod dr;
85#[doc = "polling status mask register"]
86pub struct PSMKR {
87    register: ::vcell::VolatileCell<u32>,
88}
89#[doc = "polling status mask register"]
90pub mod psmkr;
91#[doc = "polling status match register"]
92pub struct PSMAR {
93    register: ::vcell::VolatileCell<u32>,
94}
95#[doc = "polling status match register"]
96pub mod psmar;
97#[doc = "polling interval register"]
98pub struct PIR {
99    register: ::vcell::VolatileCell<u32>,
100}
101#[doc = "polling interval register"]
102pub mod pir;
103#[doc = "low-power timeout register"]
104pub struct LPTR {
105    register: ::vcell::VolatileCell<u32>,
106}
107#[doc = "low-power timeout register"]
108pub mod lptr;