Struct stm32_metapac::dbgmcu::regs::AuthAck
#[repr(transparent)]pub struct AuthAck(pub u32);
Expand description
DBGMCU debug authentication mailbox acknowledge register.
Tuple Fields§
§0: u32
Implementations§
§impl AuthAck
impl AuthAck
pub const fn host_ack(&self) -> bool
pub const fn host_ack(&self) -> bool
Host to device acknowledge. The device sets this bit to indicate that it has placed a message in the DBGMCU_DBG_AUTH_DEVICE register. It should be reset by the host after reading the message.
pub fn set_host_ack(&mut self, val: bool)
pub fn set_host_ack(&mut self, val: bool)
Host to device acknowledge. The device sets this bit to indicate that it has placed a message in the DBGMCU_DBG_AUTH_DEVICE register. It should be reset by the host after reading the message.
pub const fn dev_ack(&self) -> bool
pub const fn dev_ack(&self) -> bool
Device to device acknowledge. The host sets this bit to indicate that it has placed a message in the DBGMCU_DBG_AUTH_HOST register. It is reset by the device after reading the message.
pub fn set_dev_ack(&mut self, val: bool)
pub fn set_dev_ack(&mut self, val: bool)
Device to device acknowledge. The host sets this bit to indicate that it has placed a message in the DBGMCU_DBG_AUTH_HOST register. It is reset by the device after reading the message.