1#[repr(C)]
2#[doc = "Register block"]
3pub struct RegisterBlock {
4 fmr: Fmr,
5 fcr: Fcr,
6 fsr: Fsr,
7 frr: Frr,
8}
9impl RegisterBlock {
10 #[doc = "0x00 - EEFC Flash Mode Register"]
11 #[inline(always)]
12 pub const fn fmr(&self) -> &Fmr {
13 &self.fmr
14 }
15 #[doc = "0x04 - EEFC Flash Command Register"]
16 #[inline(always)]
17 pub const fn fcr(&self) -> &Fcr {
18 &self.fcr
19 }
20 #[doc = "0x08 - EEFC Flash Status Register"]
21 #[inline(always)]
22 pub const fn fsr(&self) -> &Fsr {
23 &self.fsr
24 }
25 #[doc = "0x0c - EEFC Flash Result Register"]
26 #[inline(always)]
27 pub const fn frr(&self) -> &Frr {
28 &self.frr
29 }
30}
31#[doc = "FMR (rw) register accessor: EEFC Flash Mode Register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`fmr::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`fmr::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@fmr`]
32module"]
33#[doc(alias = "FMR")]
34pub type Fmr = crate::Reg<fmr::FmrSpec>;
35#[doc = "EEFC Flash Mode Register"]
36pub mod fmr;
37#[doc = "FCR (w) register accessor: EEFC Flash Command Register\n\nYou can [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`fcr::W`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@fcr`]
38module"]
39#[doc(alias = "FCR")]
40pub type Fcr = crate::Reg<fcr::FcrSpec>;
41#[doc = "EEFC Flash Command Register"]
42pub mod fcr;
43#[doc = "FSR (r) register accessor: EEFC Flash Status Register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`fsr::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@fsr`]
44module"]
45#[doc(alias = "FSR")]
46pub type Fsr = crate::Reg<fsr::FsrSpec>;
47#[doc = "EEFC Flash Status Register"]
48pub mod fsr;
49#[doc = "FRR (r) register accessor: EEFC Flash Result Register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`frr::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@frr`]
50module"]
51#[doc(alias = "FRR")]
52pub type Frr = crate::Reg<frr::FrrSpec>;
53#[doc = "EEFC Flash Result Register"]
54pub mod frr;