aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'src/ip/uart/V0/uart.h')
-rw-r--r--src/ip/uart/V0/uart.h16
1 files changed, 15 insertions, 1 deletions
diff --git a/src/ip/uart/V0/uart.h b/src/ip/uart/V0/uart.h
index 8c225ce3..c788f558 100644
--- a/src/ip/uart/V0/uart.h
+++ b/src/ip/uart/V0/uart.h
@@ -8,7 +8,7 @@
8 */ 8 */
9 9
10/* 10/*
11* Copyright (C) 2015-2017 Texas Instruments Incorporated - http://www.ti.com/ 11* Copyright (C) 2015 - 2018 Texas Instruments Incorporated - http://www.ti.com/
12*/ 12*/
13/* 13/*
14* Redistribution and use in source and binary forms, with or without 14* Redistribution and use in source and binary forms, with or without
@@ -275,6 +275,20 @@ extern uint32_t UART_readLineStatus_v0(uint32_t baseAddr);
275 */ 275 */
276extern void UART_loopbackModeControl_v0(uint32_t baseAddr, uint32_t controlFlag); 276extern void UART_loopbackModeControl_v0(uint32_t baseAddr, uint32_t controlFlag);
277 277
278/**
279 * \brief This API reads a byte from the Receiver Buffer Register
280 * (RBR). It checks once if any character is ready to be read.
281 *
282 * \param baseAddr Memory address of the UART instance being used.
283 *
284 * \param pChar Pointer to the byte variable which saves the byte
285 * read from RBR if there is any char ready to be read
286 *
287 * \return If the RHR was found to have atleast one byte of data
288 * ,then this API returns TRUE. Else it returns FALSE.
289 */
290extern uint32_t UART_charGetNonBlocking2_v0(uint32_t baseAdd, uint8_t *pChar);
291
278#ifdef __cplusplus 292#ifdef __cplusplus
279} 293}
280#endif 294#endif