Struct InCsr2
#[repr(transparent)]pub struct InCsr2(pub u8);
Expand description
IN Endpoint Control Register 2.
Tuple Fields§
§0: u8
Implementations§
§impl InCsr2
impl InCsr2
pub const fn frc_data_tog(&self) -> bool
pub const fn frc_data_tog(&self) -> bool
Force Data Toggle. Forces toggle even without ACK and clears FIFO.
pub fn set_frc_data_tog(&mut self, val: bool)
pub fn set_frc_data_tog(&mut self, val: bool)
Force Data Toggle. Forces toggle even without ACK and clears FIFO.
pub fn set_iso(&mut self, val: bool)
pub fn set_iso(&mut self, val: bool)
Enable ISO transmission. 1, ISO mode, 0, Bulk or Interrupt mode.
pub const fn auto_set(&self) -> bool
pub const fn auto_set(&self) -> bool
When set, automatically sets InPktRdy when the maximum packet size is written to the FIFO.
pub fn set_auto_set(&mut self, val: bool)
pub fn set_auto_set(&mut self, val: bool)
When set, automatically sets InPktRdy when the maximum packet size is written to the FIFO.
Trait Implementations§
impl Copy for InCsr2
impl Eq for InCsr2
impl StructuralPartialEq for InCsr2
Auto Trait Implementations§
impl Freeze for InCsr2
impl RefUnwindSafe for InCsr2
impl Send for InCsr2
impl Sync for InCsr2
impl Unpin for InCsr2
impl UnwindSafe for InCsr2
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