Comm Open

From WikiPrizm
Jump to navigationJump to search


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 & 0xF0 (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

The meaning of the return value is unknown.