#[repr(transparent)]pub struct Ghwcfg3(pub u32);Expand description
User Hardware Configuration 3 Register
Tuple Fields§
§0: u32Implementations§
Source§impl Ghwcfg3
impl Ghwcfg3
Sourcepub const fn xfersizewidth(&self) -> Xfersizewidth
pub const fn xfersizewidth(&self) -> Xfersizewidth
Width of Transfer Size Counters (XferSizeWidth)
Sourcepub const fn set_xfersizewidth(&mut self, val: Xfersizewidth)
pub const fn set_xfersizewidth(&mut self, val: Xfersizewidth)
Width of Transfer Size Counters (XferSizeWidth)
Sourcepub const fn pktsizewidth(&self) -> Pktsizewidth
pub const fn pktsizewidth(&self) -> Pktsizewidth
Width of Packet Size Counters (PktSizeWidth)
Sourcepub const fn set_pktsizewidth(&mut self, val: Pktsizewidth)
pub const fn set_pktsizewidth(&mut self, val: Pktsizewidth)
Width of Packet Size Counters (PktSizeWidth)
Sourcepub const fn set_i2cintsel(&mut self, val: bool)
pub const fn set_i2cintsel(&mut self, val: bool)
I2C Selection (I2CIntSel)
Sourcepub const fn vndctlsupt(&self) -> bool
pub const fn vndctlsupt(&self) -> bool
Vendor Control Interface Support (VndctlSupt)
Sourcepub const fn set_vndctlsupt(&mut self, val: bool)
pub const fn set_vndctlsupt(&mut self, val: bool)
Vendor Control Interface Support (VndctlSupt)
Sourcepub const fn optfeature(&self) -> bool
pub const fn optfeature(&self) -> bool
Optional Features Removed (OptFeature)
Sourcepub const fn set_optfeature(&mut self, val: bool)
pub const fn set_optfeature(&mut self, val: bool)
Optional Features Removed (OptFeature)
Sourcepub 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)
Sourcepub 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
Sourcepub 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
Sourcepub const fn set_hsicmode(&mut self, val: bool)
pub const fn set_hsicmode(&mut self, val: bool)
HSIC mode specified for Mode of Operation
Sourcepub const fn bcsupport(&self) -> bool
pub const fn bcsupport(&self) -> bool
This bit indicates the controller support for Battery Charger.
Sourcepub 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.
Sourcepub const fn set_lpmmode(&mut self, val: bool)
pub const fn set_lpmmode(&mut self, val: bool)
LPM mode specified for Mode of Operation.
Sourcepub const fn dfifodepth(&self) -> u16
pub const fn dfifodepth(&self) -> u16
DFIFO Depth (DfifoDepth - EP_LOC_CNT)
Sourcepub const fn set_dfifodepth(&mut self, val: u16)
pub const fn set_dfifodepth(&mut self, val: u16)
DFIFO Depth (DfifoDepth - EP_LOC_CNT)
Trait Implementations§
impl Copy for Ghwcfg3
impl Eq for Ghwcfg3
impl StructuralPartialEq for Ghwcfg3
Auto Trait Implementations§
impl Freeze for Ghwcfg3
impl RefUnwindSafe for Ghwcfg3
impl Send for Ghwcfg3
impl Sync for Ghwcfg3
impl Unpin for Ghwcfg3
impl UnwindSafe for Ghwcfg3
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)