Struct Gusbcfg
#[repr(transparent)]pub struct Gusbcfg(pub u32);Expand description
USB Configuration Register
Tuple Fields§
§0: u32Implementations§
§impl Gusbcfg
impl Gusbcfg
pub 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)
pub const fn ulpiutmisel(&self) -> Ulpiutmisel
pub const fn ulpiutmisel(&self) -> Ulpiutmisel
Mode: Host and Device. ULPI or UTMI+ Select (ULPI_UTMI_Sel)
pub 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)
pub const fn fsintf(&self) -> Fsintf
pub const fn fsintf(&self) -> Fsintf
Mode: Host and Device. Full-Speed Serial Interface Select (FSIntf)
pub 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)
pub const fn set_physel(&mut self, val: Physel)
pub const fn set_physel(&mut self, val: Physel)
PHYSel
pub const fn set_usbtrdtim(&mut self, val: Usbtrdtim)
pub const fn set_usbtrdtim(&mut self, val: Usbtrdtim)
Mode: Device only. USB Turnaround Time (USBTrdTim)
pub const fn phylpwrclksel(&self) -> Phylpwrclksel
pub const fn phylpwrclksel(&self) -> Phylpwrclksel
PHY Low-Power Clock Select (PhyLPwrClkSel)
pub const fn set_phylpwrclksel(&mut self, val: Phylpwrclksel)
pub const fn set_phylpwrclksel(&mut self, val: Phylpwrclksel)
PHY Low-Power Clock Select (PhyLPwrClkSel)
pub const fn termseldlpulse(&self) -> Termseldlpulse
pub const fn termseldlpulse(&self) -> Termseldlpulse
Mode: Device only. TermSel DLine Pulsing Selection (TermSelDLPulse)
pub 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)
pub 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)
pub const fn txenddelay(&self) -> bool
pub const fn txenddelay(&self) -> bool
Mode: Device only. Tx End Delay (TxEndDelay)
pub const fn set_txenddelay(&mut self, val: bool)
pub const fn set_txenddelay(&mut self, val: bool)
Mode: Device only. Tx End Delay (TxEndDelay)
pub const fn forcehstmode(&self) -> bool
pub const fn forcehstmode(&self) -> bool
Mode: Host and device. Force Host Mode (ForceHstMode)
pub 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)
pub const fn forcedevmode(&self) -> bool
pub const fn forcedevmode(&self) -> bool
Mode:Host and device. Force Device Mode (ForceDevMode)
pub 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)
pub const fn corrupttxpkt(&self) -> bool
pub const fn corrupttxpkt(&self) -> bool
Mode: Host and device. Corrupt Tx packet (CorruptTxPkt)
pub 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)