#[repr(u8)]
pub enum VBUSVALID_THRESH_A {
VALUE0,
VALUE1,
VALUE2,
VALUE3,
VALUE4,
VALUE5,
VALUE6,
VALUE7,
}
Expand description
Sets the threshold for the VBUSVALID comparator
Value on reset: 4
Variants
VALUE0
0: 4.0V
VALUE1
1: 4.1V
VALUE2
2: 4.2V
VALUE3
3: 4.3V
VALUE4
4: 4.4V(Default)
VALUE5
5: 4.5V
VALUE6
6: 4.6V
VALUE7
7: 4.7V
Trait Implementations
sourceimpl Clone for VBUSVALID_THRESH_A
impl Clone for VBUSVALID_THRESH_A
sourcefn clone(&self) -> VBUSVALID_THRESH_A
fn clone(&self) -> VBUSVALID_THRESH_A
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for VBUSVALID_THRESH_A
impl Debug for VBUSVALID_THRESH_A
sourceimpl From<VBUSVALID_THRESH_A> for u8
impl From<VBUSVALID_THRESH_A> for u8
sourcefn from(variant: VBUSVALID_THRESH_A) -> Self
fn from(variant: VBUSVALID_THRESH_A) -> Self
Performs the conversion.
impl Copy for VBUSVALID_THRESH_A
impl StructuralPartialEq for VBUSVALID_THRESH_A
Auto Trait Implementations
impl RefUnwindSafe for VBUSVALID_THRESH_A
impl Send for VBUSVALID_THRESH_A
impl Sync for VBUSVALID_THRESH_A
impl Unpin for VBUSVALID_THRESH_A
impl UnwindSafe for VBUSVALID_THRESH_A
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more