Struct stm32_metapac::otg::regs::Hctsiz
#[repr(transparent)]pub struct Hctsiz(pub u32);
Expand description
Host channel transfer size register
Tuple Fields§
§0: u32
Implementations§
§impl Hctsiz
impl Hctsiz
pub fn set_schedinfo(&mut self, val: u8)
pub fn set_schedinfo(&mut self, val: u8)
Schedule info for isochronuous & interrupt pipes (xfrsiz[7:0])
pub fn set_xfrsiz(&mut self, val: u32)
pub fn set_xfrsiz(&mut self, val: u32)
Transfer size for non-isochronuous/interrupt pipes
pub const fn ntdl(&self) -> u8
pub const fn ntdl(&self) -> u8
NTD descriptor list length for isochronuous & interrupt pipes (xfrsiz[15:8], note val+1 is actual length)
pub fn set_ntdl(&mut self, val: u8)
pub fn set_ntdl(&mut self, val: u8)
NTD descriptor list length for isochronuous & interrupt pipes (xfrsiz[15:8], note val+1 is actual length)
pub fn set_pktcnt(&mut self, val: u16)
pub fn set_pktcnt(&mut self, val: u16)
Packet count
pub fn set_doping(&mut self, val: bool)
pub fn set_doping(&mut self, val: bool)
Do Ping
Trait Implementations§
impl Copy for Hctsiz
impl Eq for Hctsiz
impl StructuralPartialEq for Hctsiz
Auto Trait Implementations§
impl Freeze for Hctsiz
impl RefUnwindSafe for Hctsiz
impl Send for Hctsiz
impl Sync for Hctsiz
impl Unpin for Hctsiz
impl UnwindSafe for Hctsiz
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
)