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).