Enum atsam4n16b_pac::adc::tempmr::TEMPCMPMOD_A
source · #[repr(u8)]
pub enum TEMPCMPMOD_A {
LOW,
HIGH,
IN,
OUT,
}
Expand description
Temperature Comparison Mode
Value on reset: 0
Variants§
LOW
0: Generates an event when the converted data is lower than the low threshold of the window.
HIGH
1: Generates an event when the converted data is higher than the high threshold of the window.
IN
2: Generates an event when the converted data is in the comparison window.
OUT
3: Generates an event when the converted data is out of the comparison window.
Trait Implementations§
source§impl Clone for TEMPCMPMOD_A
impl Clone for TEMPCMPMOD_A
source§fn clone(&self) -> TEMPCMPMOD_A
fn clone(&self) -> TEMPCMPMOD_A
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 Debug for TEMPCMPMOD_A
impl Debug for TEMPCMPMOD_A
source§impl From<TEMPCMPMOD_A> for u8
impl From<TEMPCMPMOD_A> for u8
source§fn from(variant: TEMPCMPMOD_A) -> Self
fn from(variant: TEMPCMPMOD_A) -> Self
Converts to this type from the input type.
source§impl PartialEq<TEMPCMPMOD_A> for TEMPCMPMOD_A
impl PartialEq<TEMPCMPMOD_A> for TEMPCMPMOD_A
source§fn eq(&self, other: &TEMPCMPMOD_A) -> bool
fn eq(&self, other: &TEMPCMPMOD_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for TEMPCMPMOD_A
impl Eq for TEMPCMPMOD_A
impl StructuralEq for TEMPCMPMOD_A
impl StructuralPartialEq for TEMPCMPMOD_A
Auto Trait Implementations§
impl RefUnwindSafe for TEMPCMPMOD_A
impl Send for TEMPCMPMOD_A
impl Sync for TEMPCMPMOD_A
impl Unpin for TEMPCMPMOD_A
impl UnwindSafe for TEMPCMPMOD_A
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