#[repr(transparent)]pub struct Hcfminterval(pub u32);Expand description
Defines the bit time interval in a frame and the full speed maximum packet size which would not cause an overrun
Tuple Fields§
§0: u32Implementations§
Source§impl Hcfminterval
impl Hcfminterval
Sourcepub const fn fi(&self) -> u16
pub const fn fi(&self) -> u16
FrameInterval This specifies the interval between two consecutive SOFs in bit times.
Sourcepub const fn set_fi(&mut self, val: u16)
pub const fn set_fi(&mut self, val: u16)
FrameInterval This specifies the interval between two consecutive SOFs in bit times.
Sourcepub const fn fsmps(&self) -> u16
pub const fn fsmps(&self) -> u16
FSLargestDataPacket This field specifies a value which is loaded into the Largest Data Packet Counter at the beginning of each frame.
Sourcepub const fn set_fsmps(&mut self, val: u16)
pub const fn set_fsmps(&mut self, val: u16)
FSLargestDataPacket This field specifies a value which is loaded into the Largest Data Packet Counter at the beginning of each frame.
Trait Implementations§
Source§impl Clone for Hcfminterval
impl Clone for Hcfminterval
Source§fn clone(&self) -> Hcfminterval
fn clone(&self) -> Hcfminterval
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Hcfminterval
impl Debug for Hcfminterval
Source§impl Default for Hcfminterval
impl Default for Hcfminterval
Source§fn default() -> Hcfminterval
fn default() -> Hcfminterval
Returns the “default value” for a type. Read more
Source§impl PartialEq for Hcfminterval
impl PartialEq for Hcfminterval
impl Copy for Hcfminterval
impl Eq for Hcfminterval
impl StructuralPartialEq for Hcfminterval
Auto Trait Implementations§
impl Freeze for Hcfminterval
impl RefUnwindSafe for Hcfminterval
impl Send for Hcfminterval
impl Sync for Hcfminterval
impl Unpin for Hcfminterval
impl UnwindSafe for Hcfminterval
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