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: u32
Implementations§
§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 fn set_detectmode(&mut self, val: Detectmode)
pub 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 copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Default for Detectmode
impl Default for Detectmode
§fn default() -> Detectmode
fn default() -> Detectmode
Returns the “default value” for a type. Read more
§impl PartialEq for Detectmode
impl PartialEq for Detectmode
impl Copy for Detectmode
impl Eq 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 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