Synopsis #
Header: fxcg/serial.h
Syscall index: 0x1353
Function signature: int Comm_Open(unsigned short opt)
Opens the serial or USB communication channel.
Parameters #
- opt - if the result of
opt
& 0xFFEF
(bitwise AND) is 0x20, the USB communication channel is opened, otherwise Serial_Open will be called with opt as parameter, opening the serial channel.
Returns #
1 if USB communication was opened, 0 if serial.