[riot-notifications] [RIOT-OS/RIOT] cpu/stm32_common: set RTS when uart is off (#11425)

Vincent Dupont notifications at github.com
Fri Apr 19 17:55:20 CEST 2019



### Contribution description

This PR sets RTS when powering off an UART if hardware flow control is used. It prevents the other end to send something while the UART is not ready. It's useful when powering off/on an UART while sleeping.


### Testing procedure

Power off UART, and check that RTS is set.


### Issues/PRs references

None
You can view, comment on, or merge this pull request online at:

  https://github.com/RIOT-OS/RIOT/pull/11425

-- Commit Summary --

  * cpu/stm32_common: set RTS when uart is off

-- File Changes --

    M cpu/stm32_common/periph/uart.c (16)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/11425.patch
https://github.com/RIOT-OS/RIOT/pull/11425.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/11425
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190419/ab2e5eb2/attachment.html>


More information about the notifications mailing list