#[repr(C)]pub struct FLASH_TypeDef {Show 23 fields
pub ACR: u32,
pub RESERVED1: u32,
pub KEYR: u32,
pub OPTKEYR: u32,
pub SR: u32,
pub CR: u32,
pub RESERVED2: [u32; 2],
pub OPTR: u32,
pub SDKR: u32,
pub RESERVED3: u32,
pub WRPR: u32,
pub RESERVED4: [u32; 24],
pub STCR: u32,
pub RESERVED5: [u32; 27],
pub TS0: u32,
pub TS1: u32,
pub TS2P: u32,
pub TPS3: u32,
pub TS3: u32,
pub PERTPE: u32,
pub SMERTPE: u32,
pub PRGTPE: u32,
pub PRETPE: u32,
}Expand description
@brief FLASH Registers
Fields§
§ACR: u32< FLASH Access Control register, Address offset: 0x00
RESERVED1: u32< Reserved1, Address offset: 0x04
KEYR: u32< FLASH Key register, Address offset: 0x08
OPTKEYR: u32< FLASH Option Key register, Address offset: 0x0C
SR: u32< FLASH Status register, Address offset: 0x10
CR: u32< FLASH Control register, Address offset: 0x14
RESERVED2: [u32; 2]< Reserved2, Address offset: 0x18-0x1C
OPTR: u32< FLASH Option register, Address offset: 0x20
SDKR: u32< FLASH SDK address register, Address offset: 0x24
RESERVED3: u32< Reserved2, Address offset: 0x28
WRPR: u32< FLASH WRP address register, Address offset: 0x2C
RESERVED4: [u32; 24]§STCR: u32< FLASH sleep time config register, Address offset: 0x90
RESERVED5: [u32; 27]§TS0: u32< FLASH TS0 register, Address offset: 0x100
TS1: u32< FLASH TS1 register, Address offset: 0x104
TS2P: u32< FLASH TS2P register, Address offset: 0x108
TPS3: u32< FLASH TPS3 register, Address offset: 0x10C
TS3: u32< FLASH TS3 register, Address offset: 0x110
PERTPE: u32< FLASH PERTPE register, Address offset: 0x114
SMERTPE: u32< FLASH SMERTPE register, Address offset: 0x118
PRGTPE: u32< FLASH PRGTPE register, Address offset: 0x11C
PRETPE: u32< FLASH PRETPE register, Address offset: 0x120
Trait Implementations§
Source§impl Clone for FLASH_TypeDef
impl Clone for FLASH_TypeDef
Source§fn clone(&self) -> FLASH_TypeDef
fn clone(&self) -> FLASH_TypeDef
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more