pub struct UsbSerialJtag<'d, T> { /* private fields */ }

Implementations§

Create a new USB serial/JTAG instance with defaults

Write data to the serial output in chunks of up to 64 bytes

Write data to the serial output in a non-blocking manner Requires manual flushing (automatically flushed every 64 bytes)

Flush the output FIFO and block until it has been sent

Flush the output FIFO but don’t block if it isn’t ready immediately

Listen for RX-PACKET-RECV interrupts

Stop listening for RX-PACKET-RECV interrupts

Checks if RX-PACKET-RECV interrupt is set

Reset RX-PACKET-RECV interrupt

Trait Implementations§

Read error
Reads a single word from the serial interface
Write error
Writes a single word to the serial interface
Ensures that none of the previously written words are still buffered
Writes a string slice into this writer, returning whether the write succeeded. Read more
Writes a char into this writer, returning whether the write succeeded. Read more
Glue for usage of the write! macro with implementors of this trait. Read more

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.