Struct Ghwcfg3
#[repr(transparent)]pub struct Ghwcfg3(pub u32);Expand description
User Hardware Configuration 3 Register
Tuple Fields§
§0: u32Implementations§
§impl Ghwcfg3
impl Ghwcfg3
pub const fn xfersizewidth(&self) -> Xfersizewidth
pub const fn xfersizewidth(&self) -> Xfersizewidth
Width of Transfer Size Counters (XferSizeWidth)
pub const fn set_xfersizewidth(&mut self, val: Xfersizewidth)
pub const fn set_xfersizewidth(&mut self, val: Xfersizewidth)
Width of Transfer Size Counters (XferSizeWidth)
pub const fn pktsizewidth(&self) -> Pktsizewidth
pub const fn pktsizewidth(&self) -> Pktsizewidth
Width of Packet Size Counters (PktSizeWidth)
pub const fn set_pktsizewidth(&mut self, val: Pktsizewidth)
pub const fn set_pktsizewidth(&mut self, val: Pktsizewidth)
Width of Packet Size Counters (PktSizeWidth)
pub const fn set_i2cintsel(&mut self, val: bool)
pub const fn set_i2cintsel(&mut self, val: bool)
I2C Selection (I2CIntSel)
pub const fn vndctlsupt(&self) -> bool
pub const fn vndctlsupt(&self) -> bool
Vendor Control Interface Support (VndctlSupt)
pub const fn set_vndctlsupt(&mut self, val: bool)
pub const fn set_vndctlsupt(&mut self, val: bool)
Vendor Control Interface Support (VndctlSupt)
pub const fn optfeature(&self) -> bool
pub const fn optfeature(&self) -> bool
Optional Features Removed (OptFeature)
pub const fn set_optfeature(&mut self, val: bool)
pub const fn set_optfeature(&mut self, val: bool)
Optional Features Removed (OptFeature)
pub const fn set_rsttype(&mut self, val: Rsttype)
pub const fn set_rsttype(&mut self, val: Rsttype)
Reset Style for Clocked always Blocks in RTL (RstType)
pub const fn adpsupport(&self) -> bool
pub const fn adpsupport(&self) -> bool
This bit indicates whether ADP logic is present within or external to the controller
pub const fn set_adpsupport(&mut self, val: bool)
pub const fn set_adpsupport(&mut self, val: bool)
This bit indicates whether ADP logic is present within or external to the controller
pub const fn set_hsicmode(&mut self, val: bool)
pub const fn set_hsicmode(&mut self, val: bool)
HSIC mode specified for Mode of Operation
pub const fn set_bcsupport(&mut self, val: bool)
pub const fn set_bcsupport(&mut self, val: bool)
This bit indicates the controller support for Battery Charger.
pub const fn set_lpmmode(&mut self, val: bool)
pub const fn set_lpmmode(&mut self, val: bool)
LPM mode specified for Mode of Operation.
pub const fn dfifodepth(&self) -> u16
pub const fn dfifodepth(&self) -> u16
DFIFO Depth (DfifoDepth - EP_LOC_CNT)
pub const fn set_dfifodepth(&mut self, val: u16)
pub const fn set_dfifodepth(&mut self, val: u16)
DFIFO Depth (DfifoDepth - EP_LOC_CNT)