Struct Detectmode
#[repr(transparent)]pub struct Detectmode(pub u32);Expand description
Select between default DETECT signal behavior and LDETECT mode (For non-secure pin only).
Tuple Fields§
§0: u32Implementations§
§impl Detectmode
impl Detectmode
pub const fn detectmode(&self) -> Detectmode
pub const fn detectmode(&self) -> Detectmode
Select between default DETECT signal behavior and LDETECT mode.
pub const fn set_detectmode(&mut self, val: Detectmode)
pub const fn set_detectmode(&mut self, val: Detectmode)
Select between default DETECT signal behavior and LDETECT mode.
Trait Implementations§
§impl Clone for Detectmode
impl Clone for Detectmode
§fn clone(&self) -> Detectmode
fn clone(&self) -> Detectmode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Detectmode
§impl Debug for Detectmode
impl Debug for Detectmode
§impl Default for Detectmode
impl Default for Detectmode
§fn default() -> Detectmode
fn default() -> Detectmode
Returns the “default value” for a type. Read more
impl Eq for Detectmode
§impl PartialEq for Detectmode
impl PartialEq for Detectmode
impl StructuralPartialEq for Detectmode
Auto Trait Implementations§
impl Freeze for Detectmode
impl RefUnwindSafe for Detectmode
impl Send for Detectmode
impl Sync for Detectmode
impl Unpin for Detectmode
impl UnsafeUnpin for Detectmode
impl UnwindSafe for Detectmode
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