Struct AuthAck
#[repr(transparent)]pub struct AuthAck(pub u32);Expand description
DBGMCU debug authentication mailbox acknowledge register
Tuple Fields§
§0: u32Implementations§
§impl AuthAck
impl AuthAck
pub const fn host_ack(&self) -> bool
pub const fn host_ack(&self) -> bool
Host to device acknowledge. Set by hardware when the host (debugger) writes a message in the AUTH_HOST register, reset automatically when the device (CPU) reads the message
pub const fn set_host_ack(&mut self, val: bool)
pub const fn set_host_ack(&mut self, val: bool)
Host to device acknowledge. Set by hardware when the host (debugger) writes a message in the AUTH_HOST register, reset automatically when the device (CPU) reads the message
pub const fn dev_ack(&self) -> bool
pub const fn dev_ack(&self) -> bool
Device to host acknowledge. Set by hardware when the device (CPU) writes a message in the AUTH_DEVICE register, reset automatically when the host (debugger) reads the message
pub const fn set_dev_ack(&mut self, val: bool)
pub const fn set_dev_ack(&mut self, val: bool)
Device to host acknowledge. Set by hardware when the device (CPU) writes a message in the AUTH_DEVICE register, reset automatically when the host (debugger) reads 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 UnsafeUnpin 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
Mutably borrows from an owned value. Read more