aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHao Zhang2018-11-05 13:25:44 -0600
committerHao Zhang2018-11-05 13:25:44 -0600
commit954eb1b4be368d2ead4609ac2f7fb9e8db3ff724 (patch)
tree96284552550a1fe7a23974042da2ca344d038b04
parente603a312b1466314f88b9596e134bc9c495d46ae (diff)
downloadcommon-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.c24
-rw-r--r--src/ip/uart/V0/uart.h16
-rw-r--r--src/ip/uart/V1/priv/uart.c24
-rw-r--r--src/ip/uart/V1/uart.h16
4 files changed, 78 insertions, 2 deletions