Struct stm32_metapac::flash::regs::Rotsrp
#[repr(transparent)]pub struct Rotsrp(pub u32);
Expand description
FLASH RoT status register programming.
Tuple Fields§
§0: u32
Implementations§
§impl Rotsrp
impl Rotsrp
pub const fn oem_provd(&self) -> u8
pub const fn oem_provd(&self) -> u8
OEM provisioned device Write to change corresponding bits in FLASH_ROTSR register. Write are ignored if HDPL is greater than 1.
pub fn set_oem_provd(&mut self, val: u8)
pub fn set_oem_provd(&mut self, val: u8)
OEM provisioned device Write to change corresponding bits in FLASH_ROTSR register. Write are ignored if HDPL is greater than 1.
pub const fn dbg_auth(&self) -> u8
pub const fn dbg_auth(&self) -> u8
Debug authentication method programming Write to change corresponding bits in FLASH_ROTSR register. Write are ignored if HDPL is greater than 0.
pub fn set_dbg_auth(&mut self, val: u8)
pub fn set_dbg_auth(&mut self, val: u8)
Debug authentication method programming Write to change corresponding bits in FLASH_ROTSR register. Write are ignored if HDPL is greater than 0.
pub const fn irot_select(&self) -> u8
pub const fn irot_select(&self) -> u8
iRoT selection This option is ignored for STM32H7R devices. Write to change corresponding bits in FLASH_ROTSR register. Write are ignored if HDPL is greater than 1 and if NVSTATE is not 0xB4 (OPEN).
pub fn set_irot_select(&mut self, val: u8)
pub fn set_irot_select(&mut self, val: u8)
iRoT selection This option is ignored for STM32H7R devices. Write to change corresponding bits in FLASH_ROTSR register. Write are ignored if HDPL is greater than 1 and if NVSTATE is not 0xB4 (OPEN).
Trait Implementations§
impl Copy for Rotsrp
impl Eq for Rotsrp
impl StructuralPartialEq for Rotsrp
Auto Trait Implementations§
impl Freeze for Rotsrp
impl RefUnwindSafe for Rotsrp
impl Send for Rotsrp
impl Sync for Rotsrp
impl Unpin for Rotsrp
impl UnwindSafe for Rotsrp
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
)