cyt2b6_d/m4/flashc/
fm_ctl_ect.rs1#[doc = r"Register block"]
2#[repr(C)]
3pub struct FM_CTL_ECT {
4 #[doc = "0x00 - Flash Macro Control"]
5 pub fm_ctl: FM_CTL,
6 #[doc = "0x04 - Flash Macro Margin Mode on Code Flash"]
7 pub fm_code_margin: FM_CODE_MARGIN,
8 #[doc = "0x08 - Flash Macro Address"]
9 pub fm_addr: FM_ADDR,
10 _reserved3: [u8; 0x14],
11 #[doc = "0x20 - Interrupt"]
12 pub intr: INTR,
13 #[doc = "0x24 - Interrupt Set"]
14 pub intr_set: INTR_SET,
15 #[doc = "0x28 - Interrupt Mask"]
16 pub intr_mask: INTR_MASK,
17 #[doc = "0x2c - Interrupt Masked"]
18 pub intr_masked: INTR_MASKED,
19 #[doc = "0x30 - ECC Data In override information and control bits"]
20 pub ecc_override: ECC_OVERRIDE,
21 _reserved8: [u8; 0x0c],
22 #[doc = "0x40 - Flash macro data_in\\[31 to 0\\]
23both Code and Work Flash"]
24 pub fm_data: FM_DATA,
25 _reserved9: [u8; 0x20],
26 #[doc = "0x64 - Bookmark register - keeps the current FW HV seq"]
27 pub bookmark: BOOKMARK,
28 _reserved10: [u8; 0x0398],
29 #[doc = "0x400 - Main (Code) Flash Security enable"]
30 pub main_flash_safety: MAIN_FLASH_SAFETY,
31 #[doc = "0x404 - Status read from Flash Macro"]
32 pub status: STATUS,
33 _reserved12: [u8; 0xf8],
34 #[doc = "0x500 - Work Flash Security enable"]
35 pub work_flash_safety: WORK_FLASH_SAFETY,
36}
37#[doc = "FM_CTL (rw) register accessor: an alias for `Reg<FM_CTL_SPEC>`"]
38pub type FM_CTL = crate::Reg<fm_ctl::FM_CTL_SPEC>;
39#[doc = "Flash Macro Control"]
40pub mod fm_ctl;
41#[doc = "FM_CODE_MARGIN (rw) register accessor: an alias for `Reg<FM_CODE_MARGIN_SPEC>`"]
42pub type FM_CODE_MARGIN = crate::Reg<fm_code_margin::FM_CODE_MARGIN_SPEC>;
43#[doc = "Flash Macro Margin Mode on Code Flash"]
44pub mod fm_code_margin;
45#[doc = "FM_ADDR (w) register accessor: an alias for `Reg<FM_ADDR_SPEC>`"]
46pub type FM_ADDR = crate::Reg<fm_addr::FM_ADDR_SPEC>;
47#[doc = "Flash Macro Address"]
48pub mod fm_addr;
49#[doc = "INTR (rw) register accessor: an alias for `Reg<INTR_SPEC>`"]
50pub type INTR = crate::Reg<intr::INTR_SPEC>;
51#[doc = "Interrupt"]
52pub mod intr;
53#[doc = "INTR_SET (rw) register accessor: an alias for `Reg<INTR_SET_SPEC>`"]
54pub type INTR_SET = crate::Reg<intr_set::INTR_SET_SPEC>;
55#[doc = "Interrupt Set"]
56pub mod intr_set;
57#[doc = "INTR_MASK (rw) register accessor: an alias for `Reg<INTR_MASK_SPEC>`"]
58pub type INTR_MASK = crate::Reg<intr_mask::INTR_MASK_SPEC>;
59#[doc = "Interrupt Mask"]
60pub mod intr_mask;
61#[doc = "INTR_MASKED (r) register accessor: an alias for `Reg<INTR_MASKED_SPEC>`"]
62pub type INTR_MASKED = crate::Reg<intr_masked::INTR_MASKED_SPEC>;
63#[doc = "Interrupt Masked"]
64pub mod intr_masked;
65#[doc = "ECC_OVERRIDE (w) register accessor: an alias for `Reg<ECC_OVERRIDE_SPEC>`"]
66pub type ECC_OVERRIDE = crate::Reg<ecc_override::ECC_OVERRIDE_SPEC>;
67#[doc = "ECC Data In override information and control bits"]
68pub mod ecc_override;
69#[doc = "FM_DATA (w) register accessor: an alias for `Reg<FM_DATA_SPEC>`"]
70pub type FM_DATA = crate::Reg<fm_data::FM_DATA_SPEC>;
71#[doc = "Flash macro data_in\\[31 to 0\\]
72both Code and Work Flash"]
73pub mod fm_data;
74#[doc = "BOOKMARK (rw) register accessor: an alias for `Reg<BOOKMARK_SPEC>`"]
75pub type BOOKMARK = crate::Reg<bookmark::BOOKMARK_SPEC>;
76#[doc = "Bookmark register - keeps the current FW HV seq"]
77pub mod bookmark;
78#[doc = "MAIN_FLASH_SAFETY (rw) register accessor: an alias for `Reg<MAIN_FLASH_SAFETY_SPEC>`"]
79pub type MAIN_FLASH_SAFETY = crate::Reg<main_flash_safety::MAIN_FLASH_SAFETY_SPEC>;
80#[doc = "Main (Code) Flash Security enable"]
81pub mod main_flash_safety;
82#[doc = "STATUS (r) register accessor: an alias for `Reg<STATUS_SPEC>`"]
83pub type STATUS = crate::Reg<status::STATUS_SPEC>;
84#[doc = "Status read from Flash Macro"]
85pub mod status;
86#[doc = "WORK_FLASH_SAFETY (rw) register accessor: an alias for `Reg<WORK_FLASH_SAFETY_SPEC>`"]
87pub type WORK_FLASH_SAFETY = crate::Reg<work_flash_safety::WORK_FLASH_SAFETY_SPEC>;
88#[doc = "Work Flash Security enable"]
89pub mod work_flash_safety;