41CL User Manual
© 2019, Systemyde International Corporation
38
BAUD12
BAUD24
BAUD48
BAUD96
Executing
BAUD12
(
Select 1200 Baud
) sets the baud rate for the serial port to 1200.
This is the default selection for the serial port, and is automatically selected when the
calculator is turned on or when the
SERINI
function is executed.
Executing
BAUD24
(
Select 2400 Baud
) sets the baud rate for the serial port to 2400.
Executing
BAUD48
(
Select 4800 Baud
) sets the baud rate for the serial port to 4800.
Executing
BAUD96
(
Select 9600 Baud
) sets the baud rate for the serial port to 9600.
YGETLB
YGETUB
(address in the ALPHA register)
Executing
YGETLB
(
Write Serial Byte To Lower Memory Byte
) reads one byte from the
serial port and writes this byte to the lower byte of the memory location specified as the
address.
Executing
YGETUB
(
Write Serial Byte To Upper Memory Byte
) reads one byte from the
serial port and writes this byte to the upper byte of the memory location specified as the
address.
These functions do not check the address except for proper formatting, so attempting to
write to Flash memory is allowed, although it will be ignored by the Flash memory.
The figure below shows the formatting required for the address and data in the ALPHA
register for the
YGETLB
and
YGETUB
functions. These functions put a
RECEIVING
message in the display while waiting for a character, and will return with a
TIMEOUT
error message after the time-out period if no receive byte is available. If the serial port
encounters an overrun condition the data in the receive buffer is discarded (since it is
error anyway) and is not written to memory. In this case the function will return with an
OVERRUN
error message.
ALPHA register
6
5
4
3
2
1
physical address
P5 P4 P3 P2 P1 P0