You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "hartmannathan (via GitHub)" <gi...@apache.org> on 2023/02/08 13:51:19 UTC
[GitHub] [nuttx] hartmannathan opened a new pull request, #8475: arch/tiva: Serial TIOCxBRK BSD-compatible BREAK support
hartmannathan opened a new pull request, #8475:
URL: https://github.com/apache/nuttx/pull/8475
## Summary
In the lower half UART driver for Tiva architecture (TM4C12x), adding the `TIOCxBRK` ioctl calls, which allow an application to transmit a BSD compatible line BREAK. `TIOCSBRK` starts the BREAK and `TIOCCBRK` ends it.
This architecture supports BSD-style BREAK in hardware. We write to the BRK bit (bit 0) of the UART Line Control register (UARTLCRH) to start the BREAK, which begins after the UART finishes shifting out the current character in progress, if any, including its stop bit(s), and continues indefinitely until we write to the BRK bit again to stop the BREAK.
## Impact
When new Kconfig option `TIVA_UART_BREAKS` is activated, `TIOCSBRK` and `TIOCCBRK` ioctl calls are supported on Tiva architectures. When not activated, no effect.
## Testing
Custom board.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [nuttx] xiaoxiang781216 merged pull request #8475: arch/tiva: Serial TIOCxBRK BSD-compatible BREAK support
Posted by "xiaoxiang781216 (via GitHub)" <gi...@apache.org>.
xiaoxiang781216 merged PR #8475:
URL: https://github.com/apache/nuttx/pull/8475
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [nuttx] hartmannathan commented on pull request #8475: arch/tiva: Serial TIOCxBRK BSD-compatible BREAK support
Posted by "hartmannathan (via GitHub)" <gi...@apache.org>.
hartmannathan commented on PR #8475:
URL: https://github.com/apache/nuttx/pull/8475#issuecomment-1422659913
> LGTM
Your input on this (previously on the mailing list) has been tremendously helpful. Thanks for all your help!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org