Struct UsbOtg
pub struct UsbOtg {
pub ram_words: u16,
pub tx_fifo_count: u8,
pub tx_fifo_min_words: u16,
pub rx_fifo_margin_words: u16,
pub dedicated_tx_fifo: bool,
}Fields§
§ram_words: u16DFIFO size in 32-bit words.
tx_fifo_count: u8Number of dedicated TX FIFOs.
tx_fifo_min_words: u16Minimum TX FIFO size, in words.
rx_fifo_margin_words: u16Fixed RX FIFO safety margin, in words.
dedicated_tx_fifo: boolTrue if each IN endpoint has its own TX FIFO (device mode).
Trait Implementations§
impl Copy for UsbOtg
impl Eq for UsbOtg
impl StructuralPartialEq for UsbOtg
Auto Trait Implementations§
impl Freeze for UsbOtg
impl RefUnwindSafe for UsbOtg
impl Send for UsbOtg
impl Sync for UsbOtg
impl Unpin for UsbOtg
impl UnsafeUnpin for UsbOtg
impl UnwindSafe for UsbOtg
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