mk20d7/ftfl/
mod.rs

1#[doc = r" Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4    #[doc = "0x00 - Flash Status Register"]
5    pub fstat: FSTAT,
6    #[doc = "0x01 - Flash Configuration Register"]
7    pub fcnfg: FCNFG,
8    #[doc = "0x02 - Flash Security Register"]
9    pub fsec: FSEC,
10    #[doc = "0x03 - Flash Option Register"]
11    pub fopt: FOPT,
12    #[doc = "0x04 - Flash Common Command Object Registers"]
13    pub fccob3: FCCOB,
14    #[doc = "0x05 - Flash Common Command Object Registers"]
15    pub fccob2: FCCOB,
16    #[doc = "0x06 - Flash Common Command Object Registers"]
17    pub fccob1: FCCOB,
18    #[doc = "0x07 - Flash Common Command Object Registers"]
19    pub fccob0: FCCOB,
20    #[doc = "0x08 - Flash Common Command Object Registers"]
21    pub fccob7: FCCOB,
22    #[doc = "0x09 - Flash Common Command Object Registers"]
23    pub fccob6: FCCOB,
24    #[doc = "0x0a - Flash Common Command Object Registers"]
25    pub fccob5: FCCOB,
26    #[doc = "0x0b - Flash Common Command Object Registers"]
27    pub fccob4: FCCOB,
28    #[doc = "0x0c - Flash Common Command Object Registers"]
29    pub fccobb: FCCOB,
30    #[doc = "0x0d - Flash Common Command Object Registers"]
31    pub fccoba: FCCOB,
32    #[doc = "0x0e - Flash Common Command Object Registers"]
33    pub fccob9: FCCOB,
34    #[doc = "0x0f - Flash Common Command Object Registers"]
35    pub fccob8: FCCOB,
36    #[doc = "0x10 - Program Flash Protection Registers"]
37    pub fprot3: FPROT,
38    #[doc = "0x11 - Program Flash Protection Registers"]
39    pub fprot2: FPROT,
40    #[doc = "0x12 - Program Flash Protection Registers"]
41    pub fprot1: FPROT,
42    #[doc = "0x13 - Program Flash Protection Registers"]
43    pub fprot0: FPROT,
44    _reserved0: [u8; 2usize],
45    #[doc = "0x16 - EEPROM Protection Register"]
46    pub feprot: FEPROT,
47    #[doc = "0x17 - Data Flash Protection Register"]
48    pub fdprot: FDPROT,
49}
50#[doc = "Flash Status Register"]
51pub struct FSTAT {
52    register: ::vcell::VolatileCell<u8>,
53}
54#[doc = "Flash Status Register"]
55pub mod fstat;
56#[doc = "Flash Configuration Register"]
57pub struct FCNFG {
58    register: ::vcell::VolatileCell<u8>,
59}
60#[doc = "Flash Configuration Register"]
61pub mod fcnfg;
62#[doc = "Flash Security Register"]
63pub struct FSEC {
64    register: ::vcell::VolatileCell<u8>,
65}
66#[doc = "Flash Security Register"]
67pub mod fsec;
68#[doc = "Flash Option Register"]
69pub struct FOPT {
70    register: ::vcell::VolatileCell<u8>,
71}
72#[doc = "Flash Option Register"]
73pub mod fopt;
74#[doc = "Flash Common Command Object Registers"]
75pub struct FCCOB {
76    register: ::vcell::VolatileCell<u8>,
77}
78#[doc = "Flash Common Command Object Registers"]
79pub mod fccob;
80#[doc = "Program Flash Protection Registers"]
81pub struct FPROT {
82    register: ::vcell::VolatileCell<u8>,
83}
84#[doc = "Program Flash Protection Registers"]
85pub mod fprot;
86#[doc = "EEPROM Protection Register"]
87pub struct FEPROT {
88    register: ::vcell::VolatileCell<u8>,
89}
90#[doc = "EEPROM Protection Register"]
91pub mod feprot;
92#[doc = "Data Flash Protection Register"]
93pub struct FDPROT {
94    register: ::vcell::VolatileCell<u8>,
95}
96#[doc = "Data Flash Protection Register"]
97pub mod fdprot;