#[repr(transparent)]pub struct Usb1ChrgDetect(pub u32);Expand description
Charger Detect
Tuple Fields§
§0: u32Implementations§
Source§impl Usb1ChrgDetect
impl Usb1ChrgDetect
Sourcepub const fn detect_sec(&self) -> DetectSec
pub const fn detect_sec(&self) -> DetectSec
Secondary Detection Function Enable
Sourcepub const fn set_detect_sec(&mut self, val: DetectSec)
pub const fn set_detect_sec(&mut self, val: DetectSec)
Secondary Detection Function Enable
Sourcepub const fn set_pullup_dp(&mut self, val: PullupDp)
pub const fn set_pullup_dp(&mut self, val: PullupDp)
DP Pullup Resistor Enable Override Control
Sourcepub const fn vdm_src_enable(&self) -> VdmSrcEnable
pub const fn vdm_src_enable(&self) -> VdmSrcEnable
VDM_SRC Function Enable
Sourcepub const fn set_vdm_src_enable(&mut self, val: VdmSrcEnable)
pub const fn set_vdm_src_enable(&mut self, val: VdmSrcEnable)
VDM_SRC Function Enable
Sourcepub const fn chk_contact(&self) -> ChkContact
pub const fn chk_contact(&self) -> ChkContact
BC Data Contact Detect Function Enable
Sourcepub const fn set_chk_contact(&mut self, val: ChkContact)
pub const fn set_chk_contact(&mut self, val: ChkContact)
BC Data Contact Detect Function Enable
Sourcepub const fn chk_chrg_b(&self) -> ChkChrgB
pub const fn chk_chrg_b(&self) -> ChkChrgB
BC Charger Detection Function Enable
Sourcepub const fn set_chk_chrg_b(&mut self, val: ChkChrgB)
pub const fn set_chk_chrg_b(&mut self, val: ChkChrgB)
BC Charger Detection Function Enable
Sourcepub const fn set_dcdsel(&mut self, val: Dcdsel)
pub const fn set_dcdsel(&mut self, val: Dcdsel)
DCD Selection
Trait Implementations§
Source§impl Clone for Usb1ChrgDetect
impl Clone for Usb1ChrgDetect
Source§fn clone(&self) -> Usb1ChrgDetect
fn clone(&self) -> Usb1ChrgDetect
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 Usb1ChrgDetect
impl Debug for Usb1ChrgDetect
Source§impl Default for Usb1ChrgDetect
impl Default for Usb1ChrgDetect
Source§fn default() -> Usb1ChrgDetect
fn default() -> Usb1ChrgDetect
Returns the “default value” for a type. Read more
Source§impl PartialEq for Usb1ChrgDetect
impl PartialEq for Usb1ChrgDetect
impl Copy for Usb1ChrgDetect
impl Eq for Usb1ChrgDetect
impl StructuralPartialEq for Usb1ChrgDetect
Auto Trait Implementations§
impl Freeze for Usb1ChrgDetect
impl RefUnwindSafe for Usb1ChrgDetect
impl Send for Usb1ChrgDetect
impl Sync for Usb1ChrgDetect
impl Unpin for Usb1ChrgDetect
impl UnwindSafe for Usb1ChrgDetect
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