Struct stm32_metapac::otg::regs::Hcfg
#[repr(transparent)]pub struct Hcfg(pub u32);
Expand description
Host configuration register
Tuple Fields§
§0: u32
Implementations§
§impl Hcfg
impl Hcfg
pub fn set_fslspcs(&mut self, val: u8)
pub fn set_fslspcs(&mut self, val: u8)
FS/LS PHY clock select
pub fn set_descdma(&mut self, val: bool)
pub fn set_descdma(&mut self, val: bool)
Descriptor DMA-mode enable (qtd)
pub fn set_frlistlen(&mut self, val: Frlistlen)
pub fn set_frlistlen(&mut self, val: Frlistlen)
Frame list length
pub const fn perschedena(&self) -> bool
pub const fn perschedena(&self) -> bool
Period scheduling enable
pub fn set_perschedena(&mut self, val: bool)
pub fn set_perschedena(&mut self, val: bool)
Period scheduling enable
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
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)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)