#[repr(transparent)]pub struct UsbphyAlphaFieldsetTangoAlpha(pub u32);Expand description
Charger Detect.
Tuple Fields§
§0: u32Implementations§
Source§impl UsbphyAlphaFieldsetTangoAlpha
impl UsbphyAlphaFieldsetTangoAlpha
Sourcepub const fn detect_sec(&self) -> bool
pub const fn detect_sec(&self) -> bool
Secondary Detection Function Enable. Raw bit values: false (0) = BcSecdetDisable: Disable.; true (1) = BcSecdetEnable: Enable.
Sourcepub const fn set_detect_sec(&mut self, val: bool)
pub const fn set_detect_sec(&mut self, val: bool)
Secondary Detection Function Enable. Raw bit values: false (0) = BcSecdetDisable: Disable.; true (1) = BcSecdetEnable: Enable.
Sourcepub const fn pullup_dp(&self) -> bool
pub const fn pullup_dp(&self) -> bool
DP Pullup Resistor Enable Override Control. Raw bit values: false (0) = DpPueNormal: Disable.; true (1) = DpPueOverride: Enable.
Sourcepub const fn set_pullup_dp(&mut self, val: bool)
pub const fn set_pullup_dp(&mut self, val: bool)
DP Pullup Resistor Enable Override Control. Raw bit values: false (0) = DpPueNormal: Disable.; true (1) = DpPueOverride: Enable.
Sourcepub const fn vdm_src_enable(&self) -> bool
pub const fn vdm_src_enable(&self) -> bool
VDM_SRC Function Enable. Raw bit values: false (0) = DcdVdmSrcDisable: Disable.; true (1) = DcdVdmSrcEnable: Enable.
Sourcepub const fn set_vdm_src_enable(&mut self, val: bool)
pub const fn set_vdm_src_enable(&mut self, val: bool)
VDM_SRC Function Enable. Raw bit values: false (0) = DcdVdmSrcDisable: Disable.; true (1) = DcdVdmSrcEnable: Enable.
Sourcepub const fn chk_contact(&self) -> bool
pub const fn chk_contact(&self) -> bool
BC Data Contact Detect Function Enable. Raw bit values: false (0) = BcDcdDisable: Disable.; true (1) = BcDcdEnable: Enable.
Sourcepub const fn set_chk_contact(&mut self, val: bool)
pub const fn set_chk_contact(&mut self, val: bool)
BC Data Contact Detect Function Enable. Raw bit values: false (0) = BcDcdDisable: Disable.; true (1) = BcDcdEnable: Enable.
Sourcepub const fn chk_chrg_b(&self) -> bool
pub const fn chk_chrg_b(&self) -> bool
BC Charger Detection Function Enable. Raw bit values: false (0) = BcChrgdetEnable: Enable.; true (1) = BcChrgdetDisable: Disable.
Sourcepub const fn set_chk_chrg_b(&mut self, val: bool)
pub const fn set_chk_chrg_b(&mut self, val: bool)
BC Charger Detection Function Enable. Raw bit values: false (0) = BcChrgdetEnable: Enable.; true (1) = BcChrgdetDisable: Disable.
Sourcepub const fn en_b(&self) -> bool
pub const fn en_b(&self) -> bool
Selection of BC v1.2 Function Enable. Raw bit values: false (0) = BcEnable: Enable.; true (1) = BcDisable: Disable.
Sourcepub const fn set_en_b(&mut self, val: bool)
pub const fn set_en_b(&mut self, val: bool)
Selection of BC v1.2 Function Enable. Raw bit values: false (0) = BcEnable: Enable.; true (1) = BcDisable: Disable.
Sourcepub const fn dcdsel(&self) -> bool
pub const fn dcdsel(&self) -> bool
DCD Selection. Raw bit values: false (0) = ChrgdetCtrl: Fields in USB1_CHRG_DETECT.; true (1) = UsbhsdcdCtrl: Fields and state machines in the USBHSDCD module.
Sourcepub const fn set_dcdsel(&mut self, val: bool)
pub const fn set_dcdsel(&mut self, val: bool)
DCD Selection. Raw bit values: false (0) = ChrgdetCtrl: Fields in USB1_CHRG_DETECT.; true (1) = UsbhsdcdCtrl: Fields and state machines in the USBHSDCD module.
Trait Implementations§
Source§impl Clone for UsbphyAlphaFieldsetTangoAlpha
impl Clone for UsbphyAlphaFieldsetTangoAlpha
Source§fn clone(&self) -> UsbphyAlphaFieldsetTangoAlpha
fn clone(&self) -> UsbphyAlphaFieldsetTangoAlpha
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for UsbphyAlphaFieldsetTangoAlpha
impl Default for UsbphyAlphaFieldsetTangoAlpha
Source§fn default() -> UsbphyAlphaFieldsetTangoAlpha
fn default() -> UsbphyAlphaFieldsetTangoAlpha
Source§impl PartialEq for UsbphyAlphaFieldsetTangoAlpha
impl PartialEq for UsbphyAlphaFieldsetTangoAlpha
Source§fn eq(&self, other: &UsbphyAlphaFieldsetTangoAlpha) -> bool
fn eq(&self, other: &UsbphyAlphaFieldsetTangoAlpha) -> bool
self and other values to be equal, and is used by ==.