Struct stm32_metapac::flash::regs::Wrp1br
#[repr(transparent)]pub struct Wrp1br(pub u32);
Expand description
FLASH WRP area B address register
Tuple Fields§
§0: u32
Implementations§
§impl Wrp1br
impl Wrp1br
pub const fn wrp1b_strt(&self) -> u8
pub const fn wrp1b_strt(&self) -> u8
WRP area B start offset This bitfield contains the offset of the first page of the WRP area B. Note: The number of effective bits depends on the size of the flash memory in the device.
pub fn set_wrp1b_strt(&mut self, val: u8)
pub fn set_wrp1b_strt(&mut self, val: u8)
WRP area B start offset This bitfield contains the offset of the first page of the WRP area B. Note: The number of effective bits depends on the size of the flash memory in the device.
pub const fn wrp1b_end(&self) -> u8
pub const fn wrp1b_end(&self) -> u8
WRP area B end offset This bitfield contains the offset of the last page of the WRP area B. Note: The number of effective bits depends on the size of the flash memory in the device.
pub fn set_wrp1b_end(&mut self, val: u8)
pub fn set_wrp1b_end(&mut self, val: u8)
WRP area B end offset This bitfield contains the offset of the last page of the WRP area B. Note: The number of effective bits depends on the size of the flash memory in the device.
Trait Implementations§
impl Copy for Wrp1br
impl Eq for Wrp1br
impl StructuralPartialEq for Wrp1br
Auto Trait Implementations§
impl Freeze for Wrp1br
impl RefUnwindSafe for Wrp1br
impl Send for Wrp1br
impl Sync for Wrp1br
impl Unpin for Wrp1br
impl UnwindSafe for Wrp1br
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
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)
clone_to_uninit
)