Struct teensy4_bsp::usb::Poller [−][src]
pub struct Poller(_);
This is supported on crate feature
usb-logging
only.Expand description
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.