Struct teensy4_bsp::usb::Poller[][src]

pub struct Poller(_);
This is supported on crate feature usb-logging only.
Expand description

An object that can poll the USB device and driver USB device I/O

Acquire Poller from init or split.

Implementations

Drive the USB device event loop

poll must be called fast enough to handled the speed of your USB host. It will typically run as a USB high speed device. Consider calling poll in the USB_OTG1 ISR, or in your idle loop. If calling poll in a USB ISR, make sure you unmask the interrupt.

For an unsafe interface, see the poll function.

Trait Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.