#[doc = r"Register block"] #[repr(C)] pub struct RegisterBlock { #[doc = "0x00 - Flash Status Register"] pub fstat: FSTAT, #[doc = "0x01 - Flash Configuration Register"] pub fcnfg: FCNFG, #[doc = "0x02 - Flash Security Register"] pub fsec: FSEC, #[doc = "0x03 - Flash Option Register"] pub fopt: FOPT, #[doc = "0x04 - Flash Common Command Object Registers"] pub fccob3: FCCOB, #[doc = "0x05 - Flash Common Command Object Registers"] pub fccob2: FCCOB, #[doc = "0x06 - Flash Common Command Object Registers"] pub fccob1: FCCOB, #[doc = "0x07 - Flash Common Command Object Registers"] pub fccob0: FCCOB, #[doc = "0x08 - Flash Common Command Object Registers"] pub fccob7: FCCOB, #[doc = "0x09 - Flash Common Command Object Registers"] pub fccob6: FCCOB, #[doc = "0x0a - Flash Common Command Object Registers"] pub fccob5: FCCOB, #[doc = "0x0b - Flash Common Command Object Registers"] pub fccob4: FCCOB, #[doc = "0x0c - Flash Common Command Object Registers"] pub fccobb: FCCOB, #[doc = "0x0d - Flash Common Command Object Registers"] pub fccoba: FCCOB, #[doc = "0x0e - Flash Common Command Object Registers"] pub fccob9: FCCOB, #[doc = "0x0f - Flash Common Command Object Registers"] pub fccob8: FCCOB, #[doc = "0x10 - Program Flash Protection Registers"] pub fprot3: FPROT, #[doc = "0x11 - Program Flash Protection Registers"] pub fprot2: FPROT, #[doc = "0x12 - Program Flash Protection Registers"] pub fprot1: FPROT, #[doc = "0x13 - Program Flash Protection Registers"] pub fprot0: FPROT, _reserved20: [u8; 2usize], #[doc = "0x16 - EEPROM Protection Register"] pub feprot: FEPROT, #[doc = "0x17 - Data Flash Protection Register"] pub fdprot: FDPROT, #[doc = "0x18 - Execute-only Access Registers"] pub xacch3: XACC, #[doc = "0x19 - Execute-only Access Registers"] pub xacch2: XACC, #[doc = "0x1a - Execute-only Access Registers"] pub xacch1: XACC, #[doc = "0x1b - Execute-only Access Registers"] pub xacch0: XACC, #[doc = "0x1c - Execute-only Access Registers"] pub xaccl3: XACC, #[doc = "0x1d - Execute-only Access Registers"] pub xaccl2: XACC, #[doc = "0x1e - Execute-only Access Registers"] pub xaccl1: XACC, #[doc = "0x1f - Execute-only Access Registers"] pub xaccl0: XACC, #[doc = "0x20 - Supervisor-only Access Registers"] pub sacch3: SACC, #[doc = "0x21 - Supervisor-only Access Registers"] pub sacch2: SACC, #[doc = "0x22 - Supervisor-only Access Registers"] pub sacch1: SACC, #[doc = "0x23 - Supervisor-only Access Registers"] pub sacch0: SACC, #[doc = "0x24 - Supervisor-only Access Registers"] pub saccl3: SACC, #[doc = "0x25 - Supervisor-only Access Registers"] pub saccl2: SACC, #[doc = "0x26 - Supervisor-only Access Registers"] pub saccl1: SACC, #[doc = "0x27 - Supervisor-only Access Registers"] pub saccl0: SACC, #[doc = "0x28 - Flash Access Segment Size Register"] pub facss: FACSS, _reserved39: [u8; 2usize], #[doc = "0x2b - Flash Access Segment Number Register"] pub facsn: FACSN, } #[doc = "Flash Status Register\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [fstat](fstat) module"] pub type FSTAT = crate::Reg; #[allow(missing_docs)] #[doc(hidden)] pub struct _FSTAT; #[doc = "`read()` method returns [fstat::R](fstat::R) reader structure"] impl crate::Readable for FSTAT {} #[doc = "`write(|w| ..)` method takes [fstat::W](fstat::W) writer structure"] impl crate::Writable for FSTAT {} #[doc = "Flash Status Register"] pub mod fstat; #[doc = "Flash Configuration Register\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [fcnfg](fcnfg) module"] pub type FCNFG = crate::Reg; #[allow(missing_docs)] #[doc(hidden)] pub struct _FCNFG; #[doc = "`read()` method returns [fcnfg::R](fcnfg::R) reader structure"] impl crate::Readable for FCNFG {} #[doc = "`write(|w| ..)` method takes [fcnfg::W](fcnfg::W) writer structure"] impl crate::Writable for FCNFG {} #[doc = "Flash Configuration Register"] pub mod fcnfg; #[doc = "Flash Security Register\n\nThis register you can [`read`](crate::generic::Reg::read). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [fsec](fsec) module"] pub type FSEC = crate::Reg; #[allow(missing_docs)] #[doc(hidden)] pub struct _FSEC; #[doc = "`read()` method returns [fsec::R](fsec::R) reader structure"] impl crate::Readable for FSEC {} #[doc = "Flash Security Register"] pub mod fsec; #[doc = "Flash Option Register\n\nThis register you can [`read`](crate::generic::Reg::read). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [fopt](fopt) module"] pub type FOPT = crate::Reg; #[allow(missing_docs)] #[doc(hidden)] pub struct _FOPT; #[doc = "`read()` method returns [fopt::R](fopt::R) reader structure"] impl crate::Readable for FOPT {} #[doc = "Flash Option Register"] pub mod fopt; #[doc = "Flash Common Command Object Registers\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [fccob](fccob) module"] pub type FCCOB = crate::Reg; #[allow(missing_docs)] #[doc(hidden)] pub struct _FCCOB; #[doc = "`read()` method returns [fccob::R](fccob::R) reader structure"] impl crate::Readable for FCCOB {} #[doc = "`write(|w| ..)` method takes [fccob::W](fccob::W) writer structure"] impl crate::Writable for FCCOB {} #[doc = "Flash Common Command Object Registers"] pub mod fccob; #[doc = "Program Flash Protection Registers\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [fprot](fprot) module"] pub type FPROT = crate::Reg; #[allow(missing_docs)] #[doc(hidden)] pub struct _FPROT; #[doc = "`read()` method returns [fprot::R](fprot::R) reader structure"] impl crate::Readable for FPROT {} #[doc = "`write(|w| ..)` method takes [fprot::W](fprot::W) writer structure"] impl crate::Writable for FPROT {} #[doc = "Program Flash Protection Registers"] pub mod fprot; #[doc = "EEPROM Protection Register\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [feprot](feprot) module"] pub type FEPROT = crate::Reg; #[allow(missing_docs)] #[doc(hidden)] pub struct _FEPROT; #[doc = "`read()` method returns [feprot::R](feprot::R) reader structure"] impl crate::Readable for FEPROT {} #[doc = "`write(|w| ..)` method takes [feprot::W](feprot::W) writer structure"] impl crate::Writable for FEPROT {} #[doc = "EEPROM Protection Register"] pub mod feprot; #[doc = "Data Flash Protection Register\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [fdprot](fdprot) module"] pub type FDPROT = crate::Reg; #[allow(missing_docs)] #[doc(hidden)] pub struct _FDPROT; #[doc = "`read()` method returns [fdprot::R](fdprot::R) reader structure"] impl crate::Readable for FDPROT {} #[doc = "`write(|w| ..)` method takes [fdprot::W](fdprot::W) writer structure"] impl crate::Writable for FDPROT {} #[doc = "Data Flash Protection Register"] pub mod fdprot; #[doc = "Execute-only Access Registers\n\nThis register you can [`read`](crate::generic::Reg::read). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [xacc](xacc) module"] pub type XACC = crate::Reg; #[allow(missing_docs)] #[doc(hidden)] pub struct _XACC; #[doc = "`read()` method returns [xacc::R](xacc::R) reader structure"] impl crate::Readable for XACC {} #[doc = "Execute-only Access Registers"] pub mod xacc; #[doc = "Supervisor-only Access Registers\n\nThis register you can [`read`](crate::generic::Reg::read). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [sacc](sacc) module"] pub type SACC = crate::Reg; #[allow(missing_docs)] #[doc(hidden)] pub struct _SACC; #[doc = "`read()` method returns [sacc::R](sacc::R) reader structure"] impl crate::Readable for SACC {} #[doc = "Supervisor-only Access Registers"] pub mod sacc; #[doc = "Flash Access Segment Size Register\n\nThis register you can [`read`](crate::generic::Reg::read). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [facss](facss) module"] pub type FACSS = crate::Reg; #[allow(missing_docs)] #[doc(hidden)] pub struct _FACSS; #[doc = "`read()` method returns [facss::R](facss::R) reader structure"] impl crate::Readable for FACSS {} #[doc = "Flash Access Segment Size Register"] pub mod facss; #[doc = "Flash Access Segment Number Register\n\nThis register you can [`read`](crate::generic::Reg::read). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [facsn](facsn) module"] pub type FACSN = crate::Reg; #[allow(missing_docs)] #[doc(hidden)] pub struct _FACSN; #[doc = "`read()` method returns [facsn::R](facsn::R) reader structure"] impl crate::Readable for FACSN {} #[doc = "Flash Access Segment Number Register"] pub mod facsn;