#[repr(u8)]pub enum Usb1ChrgDetectSetBgrIbias {
BGR_IBIAS_0 = 0,
BGR_IBIAS_1 = 1,
}Variants§
BGR_IBIAS_0 = 0
Bias current is derived from the USB PHY internal current generator.
BGR_IBIAS_1 = 1
Bias current is derived from the reference generator of the bandgap.
Implementations§
Trait Implementations§
Source§impl Clone for Usb1ChrgDetectSetBgrIbias
impl Clone for Usb1ChrgDetectSetBgrIbias
Source§fn clone(&self) -> Usb1ChrgDetectSetBgrIbias
fn clone(&self) -> Usb1ChrgDetectSetBgrIbias
Returns a duplicate 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 Usb1ChrgDetectSetBgrIbias
impl Debug for Usb1ChrgDetectSetBgrIbias
Source§impl From<Usb1ChrgDetectSetBgrIbias> for u8
impl From<Usb1ChrgDetectSetBgrIbias> for u8
Source§fn from(val: Usb1ChrgDetectSetBgrIbias) -> u8
fn from(val: Usb1ChrgDetectSetBgrIbias) -> u8
Converts to this type from the input type.
Source§impl From<u8> for Usb1ChrgDetectSetBgrIbias
impl From<u8> for Usb1ChrgDetectSetBgrIbias
Source§fn from(val: u8) -> Usb1ChrgDetectSetBgrIbias
fn from(val: u8) -> Usb1ChrgDetectSetBgrIbias
Converts to this type from the input type.
Source§impl Ord for Usb1ChrgDetectSetBgrIbias
impl Ord for Usb1ChrgDetectSetBgrIbias
Source§fn cmp(&self, other: &Usb1ChrgDetectSetBgrIbias) -> Ordering
fn cmp(&self, other: &Usb1ChrgDetectSetBgrIbias) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for Usb1ChrgDetectSetBgrIbias
impl PartialOrd for Usb1ChrgDetectSetBgrIbias
impl Copy for Usb1ChrgDetectSetBgrIbias
impl Eq for Usb1ChrgDetectSetBgrIbias
impl StructuralPartialEq for Usb1ChrgDetectSetBgrIbias
Auto Trait Implementations§
impl Freeze for Usb1ChrgDetectSetBgrIbias
impl RefUnwindSafe for Usb1ChrgDetectSetBgrIbias
impl Send for Usb1ChrgDetectSetBgrIbias
impl Sync for Usb1ChrgDetectSetBgrIbias
impl Unpin for Usb1ChrgDetectSetBgrIbias
impl UnwindSafe for Usb1ChrgDetectSetBgrIbias
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