kjt_serial_rx_byte
Created by: phil, Last modification: Sun 13 of Jun, 2010 (13:03 UTC)
kjt_serial_rx_byte
Wait for a byte from serial port
Input Registers:
- A = max time to wait in seconds
Output Registers:
- If Carry flag is clear all OK, A = byte received.
- If Carry flag is set, operation timed out
Notes: All registers except A preserved