#[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§
Source§impl Detectmode
impl Detectmode
Sourcepub const fn detectmode(&self) -> Detectmode
pub const fn detectmode(&self) -> Detectmode
Select between default DETECT signal behavior and LDETECT mode
Sourcepub 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§
Source§impl Clone for Detectmode
impl Clone for Detectmode
Source§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 moreSource§impl Default for Detectmode
impl Default for Detectmode
Source§fn default() -> Detectmode
fn default() -> Detectmode
Returns the “default value” for a type. Read more
Source§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
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)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)