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.
Trait Implementations§
impl Copy for AuthAck
impl Eq for AuthAck
impl StructuralPartialEq for AuthAck
Auto Trait Implementations§
impl Freeze for AuthAck
impl RefUnwindSafe for AuthAck
impl Send for AuthAck
impl Sync for AuthAck
impl Unpin for AuthAck
impl UnwindSafe for AuthAck
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
)