pub unsafe fn vexSerialWriteChar(channel: u32, c: u8) -> i32
Expand description
Writes a single byte to the serial FIFO output buffer.
§Arguments
channel
: The serial communications channel to write to. Use1
for stdio.c
: The byte to write.
§Return
The number of bytes written, or -1 if an internal error occurred.
§Safety
Calls to jumptable functions are unsafe because jumptable functions are owned by VEXos and we cannot guarantee their safety.