Module serial

Source
Expand description

USB Serial Communication

Functions§

vexSerialPeekChar
Returns the next available byte to be read in the input buffer without removing it from the buffer.
vexSerialReadChar
Reads a single byte from the input buffer.
vexSerialWriteBuffer
Writes an arbitrary buffer to the serial FIFO output buffer, returning how many bytes were written. The output buffer has a maximum size of 2048 bytes, meaning that a larger buffer may be truncated.
vexSerialWriteChar
Writes a single byte to the serial FIFO output buffer.
vexSerialWriteFree
Returns the number of free bytes (out of 2048) remaining in the serial output buffer.
vex_printf
vex_snprintf
vex_sprintf
vex_vprintf
Safety
vex_vsnprintf
Safety
vex_vsprintf
Safety