diff options
author | Uladzimir Pylinski <barthess@yandex.ru> | 2016-07-20 18:41:06 +0000 |
---|---|---|
committer | Uladzimir Pylinski <barthess@yandex.ru> | 2016-07-20 18:41:06 +0000 |
commit | 97f803c392a91e48b9b6df1d3048cd8db0a6c7c1 (patch) | |
tree | 4471c1f75d604b8c589bc370c759f737ad20f718 /os/hal/ports/STM32/LLD | |
parent | 0edf3f363b0e8222477f1bf956a421ab6e7d2cd5 (diff) | |
download | ChibiOS-97f803c392a91e48b9b6df1d3048cd8db0a6c7c1.tar.gz ChibiOS-97f803c392a91e48b9b6df1d3048cd8db0a6c7c1.tar.bz2 ChibiOS-97f803c392a91e48b9b6df1d3048cd8db0a6c7c1.zip |
[STM32. USARTv2] Added synchronous API support for timeout feature.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9714 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/ports/STM32/LLD')
-rw-r--r-- | os/hal/ports/STM32/LLD/USARTv2/hal_uart_lld.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/os/hal/ports/STM32/LLD/USARTv2/hal_uart_lld.h b/os/hal/ports/STM32/LLD/USARTv2/hal_uart_lld.h index 84afee0e1..6fb71c255 100644 --- a/os/hal/ports/STM32/LLD/USARTv2/hal_uart_lld.h +++ b/os/hal/ports/STM32/LLD/USARTv2/hal_uart_lld.h @@ -587,11 +587,13 @@ typedef struct { /* End of the mandatory fields.*/
/**
* @brief Receiver timeout callback.
+ * @details Handles both idle and timeout interrupts depending on configured
+ * flags in CR registers and supported hardware features.
*/
uartcb_t timeout_cb;
/**
* @brief Receiver timeout value in terms of number of bit duration.
- * @details Set it to 0 when you want to handle IDLE interrupt instead of
+ * @details Set it to 0 when you want to handle idle interrupt instead of
* hardware timeout.
*/
uint32_t timeout;
|