Struct stm32_metapac::flash::regs::Hdpextr
#[repr(transparent)]pub struct Hdpextr(pub u32);
Expand description
FLASH HDP extension register
Tuple Fields§
§0: u32
Implementations§
§impl Hdpextr
impl Hdpextr
pub const fn hdp1_ext(&self) -> u8
pub const fn hdp1_ext(&self) -> u8
HDP area extension in 8�Kbytes sectors in Bank1. Extension is added after the HDP1_END sector (included).
pub fn set_hdp1_ext(&mut self, val: u8)
pub fn set_hdp1_ext(&mut self, val: u8)
HDP area extension in 8�Kbytes sectors in Bank1. Extension is added after the HDP1_END sector (included).
pub const fn hdp2_ext(&self) -> u8
pub const fn hdp2_ext(&self) -> u8
HDP area extension in 8�Kbytes sectors in bank 2. Extension is added after the HDP2_END sector (included).
pub fn set_hdp2_ext(&mut self, val: u8)
pub fn set_hdp2_ext(&mut self, val: u8)
HDP area extension in 8�Kbytes sectors in bank 2. Extension is added after the HDP2_END sector (included).
Trait Implementations§
impl Copy for Hdpextr
impl Eq for Hdpextr
impl StructuralPartialEq for Hdpextr
Auto Trait Implementations§
impl Freeze for Hdpextr
impl RefUnwindSafe for Hdpextr
impl Send for Hdpextr
impl Sync for Hdpextr
impl Unpin for Hdpextr
impl UnwindSafe for Hdpextr
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)