int HAL_DebugRX(void)
Entry | |
---|---|
- |
Exit | |
---|---|
- | Returns characte read, or -1 if none available |
Attempts to read a byte from the HAL’s debug terminal (e.g. serial port). If no byte is immediately available, -1 should be returned. If the HAL has been compiled with debugging disabled, -1 should be returned.