#[repr(transparent)]pub struct Ghwcfg4(pub u32);Expand description
User HW config4 register
Tuple Fields§
§0: u32Implementations§
Source§impl Ghwcfg4
impl Ghwcfg4
Sourcepub const fn utmi_phy_data_width(&self) -> u8
pub const fn utmi_phy_data_width(&self) -> u8
UTMI+ PHY data width (0=8-bit, 1=16-bit, 2=8/16-bit software selectable)
Sourcepub const fn num_in_eps(&self) -> u8
pub const fn num_in_eps(&self) -> u8
Number of device mode IN endpoints including EP0
Sourcepub const fn ded_fifo_en(&self) -> bool
pub const fn ded_fifo_en(&self) -> bool
Dedicated FIFO enable
Sourcepub const fn num_dev_mode_ctrl_ep(&self) -> u8
pub const fn num_dev_mode_ctrl_ep(&self) -> u8
Number of device mode control endpoints
Trait Implementations§
impl Copy for Ghwcfg4
impl Eq for Ghwcfg4
impl StructuralPartialEq for Ghwcfg4
Auto Trait Implementations§
impl Freeze for Ghwcfg4
impl RefUnwindSafe for Ghwcfg4
impl Send for Ghwcfg4
impl Sync for Ghwcfg4
impl Unpin for Ghwcfg4
impl UnwindSafe for Ghwcfg4
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
Mutably borrows from an owned value. Read more