Enum stm32_metapac::adf::vals::Datcap
#[repr(u8)]pub enum Datcap {
DISABLED = 0,
ONDETECTED = 1,
ENABLED = 2,
_RESERVED_3 = 3,
}
Expand description
Data capture mode. This bitfield is set and cleared by software. It is used to define in which conditions, the samples provided by DLFT0 are stored into the memory.
Variants§
DISABLED = 0
Samples from DFLT0 not transfered into the memory.
ONDETECTED = 1
Samples from DFLT0 transfered into the memory when SAD is in DETECT state.
ENABLED = 2
Samples from DFLT0 transfered into memory when SAD and DFLT0 are enabled.
_RESERVED_3 = 3
Implementations§
Trait Implementations§
§impl Ord for Datcap
impl Ord for Datcap
§impl PartialOrd for Datcap
impl PartialOrd for Datcap
impl Copy for Datcap
impl Eq for Datcap
impl StructuralPartialEq for Datcap
Auto Trait Implementations§
impl Freeze for Datcap
impl RefUnwindSafe for Datcap
impl Send for Datcap
impl Sync for Datcap
impl Unpin for Datcap
impl UnwindSafe for Datcap
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
)