MCPcopy Create free account
hub / github.com/SharpCoder/teensycore / tx_callback

Function tx_callback

src/usb_serial.rs:190–194  ·  view source on GitHub ↗
(packet: &UsbEndpointTransferDescriptor)

Source from the content-addressed store, hash-verified

188 }
189}
190fn tx_callback(packet: &UsbEndpointTransferDescriptor) {
191 if (packet.status & 0x80) != 0 {
192 usb_timer_oneshot();
193 }
194}
195
196/// Write a single byte to the USB host.
197///

Callers

nothing calls this directly

Calls 1

usb_timer_oneshotFunction · 0.85

Tested by

no test coverage detected