Struct stm32_metapac::flash::regs::Wrp1ar
#[repr(transparent)]pub struct Wrp1ar(pub u32);
Expand description
FLASH WRP area A address register
Tuple Fields§
§0: u32
Implementations§
§impl Wrp1ar
impl Wrp1ar
pub const fn wrp1a_strt(&self) -> u8
pub const fn wrp1a_strt(&self) -> u8
WRP area A start offset This bitfield contains the offset of the first page of the WRP area A. Note: The number of effective bits depends on the size of the flash memory in the device.
pub fn set_wrp1a_strt(&mut self, val: u8)
pub fn set_wrp1a_strt(&mut self, val: u8)
WRP area A start offset This bitfield contains the offset of the first page of the WRP area A. Note: The number of effective bits depends on the size of the flash memory in the device.
pub const fn wrp1a_end(&self) -> u8
pub const fn wrp1a_end(&self) -> u8
WRP area A end offset This bitfield contains the offset of the last page of the WRP area A. Note: The number of effective bits depends on the size of the flash memory in the device.
pub fn set_wrp1a_end(&mut self, val: u8)
pub fn set_wrp1a_end(&mut self, val: u8)
WRP area A end offset This bitfield contains the offset of the last page of the WRP area A. Note: The number of effective bits depends on the size of the flash memory in the device.