#[repr(transparent)]pub struct Hcfg(pub u32);Expand description
Host configuration register
Tuple Fields§
§0: u32Implementations§
Source§impl Hcfg
impl Hcfg
Sourcepub fn set_fslspcs(&mut self, val: u8)
pub fn set_fslspcs(&mut self, val: u8)
FS/LS PHY clock select
Sourcepub fn set_perschedena(&mut self, val: bool)
pub fn set_perschedena(&mut self, val: bool)
Period scheduling enable
Sourcepub fn perschedena(&self) -> bool
pub fn perschedena(&self) -> bool
Period scheduling enable
Sourcepub fn set_descdma(&mut self, val: bool)
pub fn set_descdma(&mut self, val: bool)
Descriptor DMA-mode enable (qtd)
Sourcepub fn frlistlen(&self) -> FrameListLen
pub fn frlistlen(&self) -> FrameListLen
Frame list length (x+3 pow 2)
Sourcepub fn set_frlistlen(&mut self, val: FrameListLen)
pub fn set_frlistlen(&mut self, val: FrameListLen)
Frame list length (x+3 pow 2)
Trait Implementations§
impl Copy for Hcfg
impl Eq for Hcfg
impl StructuralPartialEq for Hcfg
Auto Trait Implementations§
impl Freeze for Hcfg
impl RefUnwindSafe for Hcfg
impl Send for Hcfg
impl Sync for Hcfg
impl Unpin for Hcfg
impl UnwindSafe for Hcfg
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