#[repr(transparent)]pub struct Gusbcfg(pub u32);Expand description
USB Configuration Register
Tuple Fields§
§0: u32Implementations§
Source§impl Gusbcfg
impl Gusbcfg
Sourcepub const fn toutcal(&self) -> Toutcal
pub const fn toutcal(&self) -> Toutcal
Mode: Host and Device. HS/FS Timeout Calibration (TOutCal)
Sourcepub const fn set_toutcal(&mut self, val: Toutcal)
pub const fn set_toutcal(&mut self, val: Toutcal)
Mode: Host and Device. HS/FS Timeout Calibration (TOutCal)
Sourcepub const fn ulpiutmisel(&self) -> Ulpiutmisel
pub const fn ulpiutmisel(&self) -> Ulpiutmisel
Mode: Host and Device. ULPI or UTMI+ Select (ULPI_UTMI_Sel)
Sourcepub const fn set_ulpiutmisel(&mut self, val: Ulpiutmisel)
pub const fn set_ulpiutmisel(&mut self, val: Ulpiutmisel)
Mode: Host and Device. ULPI or UTMI+ Select (ULPI_UTMI_Sel)
Sourcepub const fn fsintf(&self) -> Fsintf
pub const fn fsintf(&self) -> Fsintf
Mode: Host and Device. Full-Speed Serial Interface Select (FSIntf)
Sourcepub const fn set_fsintf(&mut self, val: Fsintf)
pub const fn set_fsintf(&mut self, val: Fsintf)
Mode: Host and Device. Full-Speed Serial Interface Select (FSIntf)
Sourcepub const fn set_physel(&mut self, val: Physel)
pub const fn set_physel(&mut self, val: Physel)
PHYSel
Sourcepub const fn set_usbtrdtim(&mut self, val: Usbtrdtim)
pub const fn set_usbtrdtim(&mut self, val: Usbtrdtim)
Mode: Device only. USB Turnaround Time (USBTrdTim)
Sourcepub const fn phylpwrclksel(&self) -> Phylpwrclksel
pub const fn phylpwrclksel(&self) -> Phylpwrclksel
PHY Low-Power Clock Select (PhyLPwrClkSel)
Sourcepub const fn set_phylpwrclksel(&mut self, val: Phylpwrclksel)
pub const fn set_phylpwrclksel(&mut self, val: Phylpwrclksel)
PHY Low-Power Clock Select (PhyLPwrClkSel)
Sourcepub const fn termseldlpulse(&self) -> Termseldlpulse
pub const fn termseldlpulse(&self) -> Termseldlpulse
Mode: Device only. TermSel DLine Pulsing Selection (TermSelDLPulse)
Sourcepub const fn set_termseldlpulse(&mut self, val: Termseldlpulse)
pub const fn set_termseldlpulse(&mut self, val: Termseldlpulse)
Mode: Device only. TermSel DLine Pulsing Selection (TermSelDLPulse)
Sourcepub const fn set_icusbcap(&mut self, val: bool)
pub const fn set_icusbcap(&mut self, val: bool)
Mode: Host and Device. IC_USB-Capable (IC_USBCap)
Sourcepub const fn txenddelay(&self) -> bool
pub const fn txenddelay(&self) -> bool
Mode: Device only. Tx End Delay (TxEndDelay)
Sourcepub const fn set_txenddelay(&mut self, val: bool)
pub const fn set_txenddelay(&mut self, val: bool)
Mode: Device only. Tx End Delay (TxEndDelay)
Sourcepub const fn forcehstmode(&self) -> bool
pub const fn forcehstmode(&self) -> bool
Mode: Host and device. Force Host Mode (ForceHstMode)
Sourcepub const fn set_forcehstmode(&mut self, val: bool)
pub const fn set_forcehstmode(&mut self, val: bool)
Mode: Host and device. Force Host Mode (ForceHstMode)
Sourcepub const fn forcedevmode(&self) -> bool
pub const fn forcedevmode(&self) -> bool
Mode:Host and device. Force Device Mode (ForceDevMode)
Sourcepub const fn set_forcedevmode(&mut self, val: bool)
pub const fn set_forcedevmode(&mut self, val: bool)
Mode:Host and device. Force Device Mode (ForceDevMode)
Sourcepub const fn corrupttxpkt(&self) -> bool
pub const fn corrupttxpkt(&self) -> bool
Mode: Host and device. Corrupt Tx packet (CorruptTxPkt)
Sourcepub const fn set_corrupttxpkt(&mut self, val: bool)
pub const fn set_corrupttxpkt(&mut self, val: bool)
Mode: Host and device. Corrupt Tx packet (CorruptTxPkt)