summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2015-02-13 19:04:24 +0000
committerDamien George <damien.p.george@gmail.com>2015-02-13 19:04:24 +0000
commitbaafb290ada10c7b8ba0b4b31fb4c5ec8282be88 (patch)
tree6b64ea0125190e0abd0cf0a56adb5ec4e9fa79ba /docs
parent089c3f321e1bfe86864b6d4b2ac91074ea282c54 (diff)
stmhal: Add uart.sendbreak() method, to send a break condition.
Diffstat (limited to 'docs')
-rw-r--r--docs/library/pyb.UART.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/library/pyb.UART.rst b/docs/library/pyb.UART.rst
index a636e65e3..257a9f281 100644
--- a/docs/library/pyb.UART.rst
+++ b/docs/library/pyb.UART.rst
@@ -134,3 +134,9 @@ Methods
Write a single character on the bus. ``char`` is an integer to write.
Return value: ``None``.
+
+.. method:: uart.sendbreak()
+
+ Send a break condition on the bus. This drives the bus low for a duration
+ of 13 bits.
+ Return value: ``None``.