Struct Ghwcfg4
#[repr(transparent)]pub struct Ghwcfg4(pub u32);Expand description
User Hardware Configuration 4 Register
Tuple Fields§
§0: u32Implementations§
§impl Ghwcfg4
impl Ghwcfg4
pub const fn numdevperioeps(&self) -> Numdevperioeps
pub const fn numdevperioeps(&self) -> Numdevperioeps
Number of Device Mode Periodic IN Endpoints (NumDevPerioEps)
pub const fn set_numdevperioeps(&mut self, val: Numdevperioeps)
pub const fn set_numdevperioeps(&mut self, val: Numdevperioeps)
Number of Device Mode Periodic IN Endpoints (NumDevPerioEps)
pub const fn partialpwrdn(&self) -> bool
pub const fn partialpwrdn(&self) -> bool
Enable Partial Power Down (PartialPwrDn)
pub const fn set_partialpwrdn(&mut self, val: bool)
pub const fn set_partialpwrdn(&mut self, val: bool)
Enable Partial Power Down (PartialPwrDn)
pub const fn set_ahbfreq(&mut self, val: bool)
pub const fn set_ahbfreq(&mut self, val: bool)
Minimum AHB Frequency Less Than 60 MHz (AhbFreq)
pub const fn hibernation(&self) -> bool
pub const fn hibernation(&self) -> bool
Enable Hibernation (Hibernation)
pub const fn set_hibernation(&mut self, val: bool)
pub const fn set_hibernation(&mut self, val: bool)
Enable Hibernation (Hibernation)
pub const fn extendedhibernation(&self) -> bool
pub const fn extendedhibernation(&self) -> bool
Enable Hibernation
pub const fn set_extendedhibernation(&mut self, val: bool)
pub const fn set_extendedhibernation(&mut self, val: bool)
Enable Hibernation
pub const fn enhancedlpmsupt1(&self) -> bool
pub const fn enhancedlpmsupt1(&self) -> bool
Enhanced LPM Support1 (EnhancedLPMSupt1)
pub const fn set_enhancedlpmsupt1(&mut self, val: bool)
pub const fn set_enhancedlpmsupt1(&mut self, val: bool)
Enhanced LPM Support1 (EnhancedLPMSupt1)
pub const fn servintflow(&self) -> bool
pub const fn servintflow(&self) -> bool
Service Interval Flow
pub const fn set_servintflow(&mut self, val: bool)
pub const fn set_servintflow(&mut self, val: bool)
Service Interval Flow
pub const fn ipgisocsupt(&self) -> bool
pub const fn ipgisocsupt(&self) -> bool
Interpacket Gap ISOC OUT Worst-case Support (ipgisocSupt)
pub const fn set_ipgisocsupt(&mut self, val: bool)
pub const fn set_ipgisocsupt(&mut self, val: bool)
Interpacket Gap ISOC OUT Worst-case Support (ipgisocSupt)
pub const fn set_acgsupt(&mut self, val: bool)
pub const fn set_acgsupt(&mut self, val: bool)
Active Clock Gating Support
pub const fn enhancedlpmsupt(&self) -> bool
pub const fn enhancedlpmsupt(&self) -> bool
Enhanced LPM Support (EnhancedLPMSupt)
pub const fn set_enhancedlpmsupt(&mut self, val: bool)
pub const fn set_enhancedlpmsupt(&mut self, val: bool)
Enhanced LPM Support (EnhancedLPMSupt)
pub const fn phydatawidth(&self) -> Phydatawidth
pub const fn phydatawidth(&self) -> Phydatawidth
UTMI+ PHY/ULPI-to-Internal UTMI+ Wrapper Data Width
pub const fn set_phydatawidth(&mut self, val: Phydatawidth)
pub const fn set_phydatawidth(&mut self, val: Phydatawidth)
UTMI+ PHY/ULPI-to-Internal UTMI+ Wrapper Data Width
pub const fn set_numctleps(&mut self, val: Numctleps)
pub const fn set_numctleps(&mut self, val: Numctleps)
Number of Device Mode Control Endpoints in Addition to
pub const fn set_iddgfltr(&mut self, val: bool)
pub const fn set_iddgfltr(&mut self, val: bool)
IDDIG Filter Enable (IddgFltr)
pub const fn vbusvalidfltr(&self) -> bool
pub const fn vbusvalidfltr(&self) -> bool
VBUS Valid Filter Enabled (VBusValidFltr)
pub const fn set_vbusvalidfltr(&mut self, val: bool)
pub const fn set_vbusvalidfltr(&mut self, val: bool)
VBUS Valid Filter Enabled (VBusValidFltr)
pub const fn avalidfltr(&self) -> bool
pub const fn avalidfltr(&self) -> bool
a_valid Filter Enabled (AValidFltr)
pub const fn set_avalidfltr(&mut self, val: bool)
pub const fn set_avalidfltr(&mut self, val: bool)
a_valid Filter Enabled (AValidFltr)
pub const fn bvalidfltr(&self) -> bool
pub const fn bvalidfltr(&self) -> bool
b_valid Filter Enabled (BValidFltr)
pub const fn set_bvalidfltr(&mut self, val: bool)
pub const fn set_bvalidfltr(&mut self, val: bool)
b_valid Filter Enabled (BValidFltr)
pub const fn sessendfltr(&self) -> bool
pub const fn sessendfltr(&self) -> bool
session_end Filter Enabled (SessEndFltr)
pub const fn set_sessendfltr(&mut self, val: bool)
pub const fn set_sessendfltr(&mut self, val: bool)
session_end Filter Enabled (SessEndFltr)
pub const fn dedfifomode(&self) -> bool
pub const fn dedfifomode(&self) -> bool
Enable Dedicated Transmit FIFO for device IN Endpoints
pub const fn set_dedfifomode(&mut self, val: bool)
pub const fn set_dedfifomode(&mut self, val: bool)
Enable Dedicated Transmit FIFO for device IN Endpoints
pub const fn ineps(&self) -> Ineps
pub const fn ineps(&self) -> Ineps
Number of Device Mode IN Endpoints Including Control Endpoints (INEps)
pub const fn set_ineps(&mut self, val: Ineps)
pub const fn set_ineps(&mut self, val: Ineps)
Number of Device Mode IN Endpoints Including Control Endpoints (INEps)
pub const fn descdmaenabled(&self) -> bool
pub const fn descdmaenabled(&self) -> bool
Scatter/Gather DMA configuration
pub const fn set_descdmaenabled(&mut self, val: bool)
pub const fn set_descdmaenabled(&mut self, val: bool)
Scatter/Gather DMA configuration
pub const fn set_descdma(&mut self, val: Descdma)
pub const fn set_descdma(&mut self, val: Descdma)
Scatter/Gather DMA configuration