Struct OutCsr2
#[repr(transparent)]pub struct OutCsr2(pub u8);
Expand description
USB OUT Endpoint Control and Status Register 2.
Tuple Fields§
§0: u8
Implementations§
§impl OutCsr2
impl OutCsr2
pub fn set_dma_mode(&mut self, val: Dmamode)
pub fn set_dma_mode(&mut self, val: Dmamode)
DMA mode for the OUT endpoint.
pub const fn auto_clear(&self) -> bool
pub const fn auto_clear(&self) -> bool
Automatically clears OutPktRdy after data is read from the FIFO.
pub fn set_auto_clear(&mut self, val: bool)
pub fn set_auto_clear(&mut self, val: bool)
Automatically clears OutPktRdy after data is read from the FIFO.
Trait Implementations§
impl Copy for OutCsr2
impl Eq for OutCsr2
impl StructuralPartialEq for OutCsr2
Auto Trait Implementations§
impl Freeze for OutCsr2
impl RefUnwindSafe for OutCsr2
impl Send for OutCsr2
impl Sync for OutCsr2
impl Unpin for OutCsr2
impl UnwindSafe for OutCsr2
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