Enum nrf52840_pac::lpcomp::result::RESULT_A
source · pub enum RESULT_A {
BELOW = 0,
ABOVE = 1,
}
Expand description
Result of last compare. Decision point SAMPLE task.
Value on reset: 0
Variants§
BELOW = 0
0: Input voltage is below the reference threshold (VIN+ < VIN-).
ABOVE = 1
1: Input voltage is above the reference threshold (VIN+ > VIN-).
Trait Implementations§
impl Copy for RESULT_A
impl StructuralPartialEq for RESULT_A
Auto Trait Implementations§
impl Freeze for RESULT_A
impl RefUnwindSafe for RESULT_A
impl Send for RESULT_A
impl Sync for RESULT_A
impl Unpin for RESULT_A
impl UnwindSafe for RESULT_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
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
)