Struct stm32_metapac::flash::regs::Rotsr
#[repr(transparent)]pub struct Rotsr(pub u32);
Expand description
FLASH RoT status register.
Tuple Fields§
§0: u32
Implementations§
§impl Rotsr
impl Rotsr
pub const fn oem_provd(&self) -> OemProvd
pub const fn oem_provd(&self) -> OemProvd
OEM provisioned device Any other value: device is not provisioned by the OEM.
pub fn set_oem_provd(&mut self, val: OemProvd)
pub fn set_oem_provd(&mut self, val: OemProvd)
OEM provisioned device Any other value: device is not provisioned by the OEM.
pub const fn dbg_auth(&self) -> DbgAuth
pub const fn dbg_auth(&self) -> DbgAuth
Debug authentication method Any other value: no authentication method selected (NotSet).
pub fn set_dbg_auth(&mut self, val: DbgAuth)
pub fn set_dbg_auth(&mut self, val: DbgAuth)
Debug authentication method Any other value: no authentication method selected (NotSet).
pub const fn irot_select(&self) -> IrotSelect
pub const fn irot_select(&self) -> IrotSelect
iRoT selection This option is ignored for STM32H7R devices (OEM iRoT is always selected). Any other value: OEM iRoT is selected at boot.
pub fn set_irot_select(&mut self, val: IrotSelect)
pub fn set_irot_select(&mut self, val: IrotSelect)
iRoT selection This option is ignored for STM32H7R devices (OEM iRoT is always selected). Any other value: OEM iRoT is selected at boot.
Trait Implementations§
impl Copy for Rotsr
impl Eq for Rotsr
impl StructuralPartialEq for Rotsr
Auto Trait Implementations§
impl Freeze for Rotsr
impl RefUnwindSafe for Rotsr
impl Send for Rotsr
impl Sync for Rotsr
impl Unpin for Rotsr
impl UnwindSafe for Rotsr
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
)