#[repr(C)]pub struct RegisterBlock {
pub acr: ACR,
pub keyr: KEYR,
pub optkeyr: OPTKEYR,
pub sr: SR,
pub cr: CR,
pub ar: AR,
pub obr: OBR,
pub wrpr: WRPR,
/* private fields */
}
Expand description
Register block
Fields§
§acr: ACR
0x00 - Flash access control register
keyr: KEYR
0x04 - Flash key register
optkeyr: OPTKEYR
0x08 - Flash option key register
sr: SR
0x0c - Flash status register
cr: CR
0x10 - Flash control register
ar: AR
0x14 - Flash address register
obr: OBR
0x1c - Option byte register
wrpr: WRPR
0x20 - Write protection register
Auto Trait Implementations§
impl !Freeze for RegisterBlock
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more