=> R0 = 242 (&FB)
R1 = 0
R2 = 255
<= R0 preserved
R1 = baud rates
R2 = timer switch state (see OS_Byte 243)
This call reads the serial rates in a backwards compatible format. You should use OS_SerialOp 5 and 6 in preference
See PRM 2, page 457
OS_Byte 242 baud rate block
The bits in this block are arranged to extend the block used by the original hardware
Bit Meaning
0-2 Transmit bits 0-2
3-5 Receive bits 0-2
6 Receive bit 3
7 Transmit bit 3
where the 4 bit values encode the baud rates:
Value Baud rate
0 19200
1 1200
2 4800
3 150
4 9600
5 300
6 2400
7 75
8 7200
9 134.5
10 1800
11 50
12 3600
13 110
14 600
15 undefined
|
|
|