lpc845_pac/
flash_ctrl.rs

1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4    _reserved0: [u8; 0x10],
5    #[doc = "0x10 - Flash configuration register"]
6    pub flashcfg: crate::Reg<flashcfg::FLASHCFG_SPEC>,
7    _reserved1: [u8; 0x0c],
8    #[doc = "0x20 - Flash signature start address register"]
9    pub fmsstart: crate::Reg<fmsstart::FMSSTART_SPEC>,
10    #[doc = "0x24 - Flash signaure stop address register"]
11    pub fmsstop: crate::Reg<fmsstop::FMSSTOP_SPEC>,
12    _reserved3: [u8; 0x04],
13    #[doc = "0x2c - Flash signature generation result register returns the flash signature produced by the embedded signature generator.."]
14    pub fmsw0: crate::Reg<fmsw0::FMSW0_SPEC>,
15    _reserved4: [u8; 0x0fb0],
16    #[doc = "0xfe0 - Flash signature generation status bit"]
17    pub fmstat: crate::Reg<fmstat::FMSTAT_SPEC>,
18    _reserved5: [u8; 0x04],
19    #[doc = "0xfe8 - Clear FLASH signature generation status bit"]
20    pub fmstatclr: crate::Reg<fmstatclr::FMSTATCLR_SPEC>,
21}
22#[doc = "FLASHCFG register accessor: an alias for `Reg<FLASHCFG_SPEC>`"]
23pub type FLASHCFG = crate::Reg<flashcfg::FLASHCFG_SPEC>;
24#[doc = "Flash configuration register"]
25pub mod flashcfg;
26#[doc = "FMSSTART register accessor: an alias for `Reg<FMSSTART_SPEC>`"]
27pub type FMSSTART = crate::Reg<fmsstart::FMSSTART_SPEC>;
28#[doc = "Flash signature start address register"]
29pub mod fmsstart;
30#[doc = "FMSSTOP register accessor: an alias for `Reg<FMSSTOP_SPEC>`"]
31pub type FMSSTOP = crate::Reg<fmsstop::FMSSTOP_SPEC>;
32#[doc = "Flash signaure stop address register"]
33pub mod fmsstop;
34#[doc = "FMSW0 register accessor: an alias for `Reg<FMSW0_SPEC>`"]
35pub type FMSW0 = crate::Reg<fmsw0::FMSW0_SPEC>;
36#[doc = "Flash signature generation result register returns the flash signature produced by the embedded signature generator.."]
37pub mod fmsw0;
38#[doc = "FMSTAT register accessor: an alias for `Reg<FMSTAT_SPEC>`"]
39pub type FMSTAT = crate::Reg<fmstat::FMSTAT_SPEC>;
40#[doc = "Flash signature generation status bit"]
41pub mod fmstat;
42#[doc = "FMSTATCLR register accessor: an alias for `Reg<FMSTATCLR_SPEC>`"]
43pub type FMSTATCLR = crate::Reg<fmstatclr::FMSTATCLR_SPEC>;
44#[doc = "Clear FLASH signature generation status bit"]
45pub mod fmstatclr;