#[repr(C)]pub struct BANK {Show 14 fields
pub keyr: Reg<KEYR_SPEC>,
pub cr: Reg<CR_SPEC>,
pub sr: Reg<SR_SPEC>,
pub ccr: Reg<CCR_SPEC>,
pub prar_cur: Reg<PRAR_CUR_SPEC>,
pub prar_prg: Reg<PRAR_PRG_SPEC>,
pub scar_cur: Reg<SCAR_CUR_SPEC>,
pub scar_prg: Reg<SCAR_PRG_SPEC>,
pub wpsn_curr: Reg<WPSN_CURR_SPEC>,
pub wpsn_prgr: Reg<WPSN_PRGR_SPEC>,
pub crccr: Reg<CRCCR_SPEC>,
pub crcsaddr: Reg<CRCSADDR_SPEC>,
pub crceaddr: Reg<CRCEADDR_SPEC>,
pub far: Reg<FAR_SPEC>,
/* private fields */
}
Expand description
Register block
Fields
keyr: Reg<KEYR_SPEC>
0x00 - FLASH key register for bank 1
cr: Reg<CR_SPEC>
0x08 - FLASH control register for bank 1
sr: Reg<SR_SPEC>
0x0c - FLASH status register for bank 1
ccr: Reg<CCR_SPEC>
0x10 - FLASH clear control register for bank 1
prar_cur: Reg<PRAR_CUR_SPEC>
0x24 - FLASH protection address for bank 1
prar_prg: Reg<PRAR_PRG_SPEC>
0x28 - FLASH protection address for bank 1
scar_cur: Reg<SCAR_CUR_SPEC>
0x2c - FLASH secure address for bank 1
scar_prg: Reg<SCAR_PRG_SPEC>
0x30 - FLASH secure address for bank 1
wpsn_curr: Reg<WPSN_CURR_SPEC>
0x34 - FLASH write sector protection for bank 1
wpsn_prgr: Reg<WPSN_PRGR_SPEC>
0x38 - FLASH write sector protection for bank 1
crccr: Reg<CRCCR_SPEC>
0x4c - FLASH CRC control register for bank 1
crcsaddr: Reg<CRCSADDR_SPEC>
0x50 - FLASH CRC start address register for bank 1
crceaddr: Reg<CRCEADDR_SPEC>
0x54 - FLASH CRC end address register for bank 1
far: Reg<FAR_SPEC>
0x5c - FLASH ECC fail address for bank 1
Auto Trait Implementations
impl !RefUnwindSafe for BANK
impl Send for BANK
impl !Sync for BANK
impl Unpin for BANK
impl UnwindSafe for BANK
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more