Serial IsOpen

From WikiPrizm
Jump to navigationJump to search


Synopsis

Header: fxcg/serial.h
Syscall index: 0x1BC6
Function signature: int Serial_IsOpen(void)

Checks whether the serial port is ready to use.

Returns

1 if the serial port is currently open, or 3 otherwise.

Comments

Use Serial_Open to open the port, and Serial_Close to close it.