Struct esp32c6_hal::soc::peripherals::USB_DEVICE
source · pub struct USB_DEVICE { /* private fields */ }
Implementations§
source§impl USB_DEVICE
impl USB_DEVICE
sourcepub unsafe fn steal() -> USB_DEVICE
pub unsafe fn steal() -> USB_DEVICE
Unsafely create an instance of this peripheral out of thin air.
Safety
You must ensure that you’re only using one instance of this type at a time.
Trait Implementations§
source§impl Debug for USB_DEVICE
impl Debug for USB_DEVICE
source§impl Deref for USB_DEVICE
impl Deref for USB_DEVICE
source§impl DerefMut for USB_DEVICE
impl DerefMut for USB_DEVICE
source§impl Instance for USB_DEVICE
impl Instance for USB_DEVICE
fn register_block(&self) -> &RegisterBlock
fn disable_tx_interrupts(&mut self)
fn disable_rx_interrupts(&mut self)
fn get_rx_fifo_count(&self) -> u16
fn get_tx_fifo_count(&self) -> u16
source§impl Peripheral for USB_DEVICE
impl Peripheral for USB_DEVICE
§type P = USB_DEVICE
type P = USB_DEVICE
Peripheral singleton type
source§unsafe fn clone_unchecked(&mut self) -> <USB_DEVICE as Peripheral>::P
unsafe fn clone_unchecked(&mut self) -> <USB_DEVICE as Peripheral>::P
Unsafely clone (duplicate) a peripheral singleton. Read more