diff options
author | Hao Zhang | 2018-11-05 13:25:44 -0600 |
---|---|---|
committer | Hao Zhang | 2018-11-05 13:25:44 -0600 |
commit | 954eb1b4be368d2ead4609ac2f7fb9e8db3ff724 (patch) | |
tree | 96284552550a1fe7a23974042da2ca344d038b04 | |
parent | e603a312b1466314f88b9596e134bc9c495d46ae (diff) | |
download | common-csl-ip-954eb1b4be368d2ead4609ac2f7fb9e8db3ff724.tar.gz common-csl-ip-954eb1b4be368d2ead4609ac2f7fb9e8db3ff724.tar.xz common-csl-ip-954eb1b4be368d2ead4609ac2f7fb9e8db3ff724.zip |
uart: PRSDK-4529: fix issue of UART LLD can't read value 0xff byte
Create a new charGetNonBlocking2() API which returns TRUE (read success)
or FALSE (read fail), the read data will be returned by a pointer to a byte
variable parameter of the API. This API is an extension of the existing
charGetNonBlocking() API.
Signed-off-by: Hao Zhang <hzhang@ti.com>
-rw-r--r-- | src/ip/uart/V0/priv/uart.c | 24 | ||||
-rw-r--r-- | src/ip/uart/V0/uart.h | 16 | ||||
-rw-r--r-- | src/ip/uart/V1/priv/uart.c | 24 | ||||
-rw-r--r-- | src/ip/uart/V1/uart.h | 16 |
4 files changed, 78 insertions, 2 deletions