(Redirected from Serial ReadOneByte)Jump to navigationJump to search
Syscall index: 0x1BB9 (not yet included in libfxcg!)
Function signature: int Serial_ReadSingle(unsigned char* out)
Fetches a single byte from the serial input buffer.
- out - Pointer to unsigned char that will receive the fetched byte.
- 0 if successful,
- 1 if the receive buffer is empty,
- 3 if the serial channel is not open.