Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Force 4.0 Reference - serial communications table http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 Serial communications table
------------------------------------------------------------------------------
 Commands

------------------------------------------------------------------------------
 Macro                   Value
------------------------------------------------------------------------------
 COM_INIT                0
 COM_SEND                1
 COM_RECEIVE             2
 COM_STATUS              3
------------------------------------------------------------------------------


 Ports

------------------------------------------------------------------------------
 Macro                   Value
------------------------------------------------------------------------------
 COM1                    0
 COM2                    1
 COM3                    2
 COM4                    3
------------------------------------------------------------------------------


 Parameters

------------------------------------------------------------------------------
 Macro                   Value             Description
------------------------------------------------------------------------------
 COM_CHR7                0x02              7 data bits
 COM_CHR8                0x03              8 data bits

 COM_STOP1               0x00              1 stop bit
 COM_STOP2               0x04              2 stop bits

 COM_NOPARITY            0x00              no parity
 COM_EVENPARITY          0x18              even parity
 COM_ODDPARITY           0x08              odd parity

 COM_110                 0x00               110 baud
 COM_150                 0x20               150 baud
 COM_300                 0x40               300 baud
 COM_600                 0x60               600 baud
 COM_1200                0x80              1200 baud
 COM_2400                0xa0              2400 baud
 COM_4800                0xc0              4800 baud
 COM_9600                0xe0              9600 baud
------------------------------------------------------------------------------

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson