int HAL_DebugRX(void)
Entry | |
---|---|
- |
Exit | |
---|---|
- | Returns character 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.
This is an internal call for OS use only, and its specifications are subject to change without warning. User software requiring the use of low-level debug input/output should prefer to use the function pointers returned by OS_ReadSysInfo 11, as their specification is fixed.