1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
#[doc = r" Register block"]
#[repr(C)]
pub struct RegisterBlock {
    #[doc = "0x00 - Flash access control register"]
    pub acr: ACR,
    #[doc = "0x04 - Flash key register"]
    pub keyr: KEYR,
    #[doc = "0x08 - Flash option key register"]
    pub optkeyr: OPTKEYR,
    #[doc = "0x0c - Flash status register"]
    pub sr: SR,
    #[doc = "0x10 - Flash control register"]
    pub cr: CR,
    #[doc = "0x14 - Flash address register"]
    pub ar: AR,
    _reserved0: [u8; 4usize],
    #[doc = "0x1c - Option byte register"]
    pub obr: OBR,
    #[doc = "0x20 - Write protection register"]
    pub wrpr: WRPR,
}
#[doc = "Flash access control register"]
pub struct ACR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Flash access control register"]
pub mod acr;
#[doc = "Flash key register"]
pub struct KEYR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Flash key register"]
pub mod keyr;
#[doc = "Flash option key register"]
pub struct OPTKEYR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Flash option key register"]
pub mod optkeyr;
#[doc = "Flash status register"]
pub struct SR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Flash status register"]
pub mod sr;
#[doc = "Flash control register"]
pub struct CR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Flash control register"]
pub mod cr;
#[doc = "Flash address register"]
pub struct AR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Flash address register"]
pub mod ar;
#[doc = "Option byte register"]
pub struct OBR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Option byte register"]
pub mod obr;
#[doc = "Write protection register"]
pub struct WRPR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Write protection register"]
pub mod wrpr;