aboutsummaryrefslogtreecommitdiff
path: root/docs/tutorial
diff options
context:
space:
mode:
authorDamien George2014-10-11 17:57:10 +0100
committerDamien George2014-10-21 22:15:20 +0100
commit481d714bd56e0173668b249760e9cea8fce9b04f (patch)
tree4a1e9458676177d05b18e7d50966469bf44e1ec1 /docs/tutorial
parent20f59e182e1ca5874a94ce939f8a81af6c3dd71a (diff)
stmhal: Overhaul UART class to use read/write, and improve it.
UART object now uses a stream-like interface: read, readall, readline, readinto, readchar, write, writechar. Timeouts are configured when the UART object is initialised, using timeout and timeout_char keyword args. The object includes optional read buffering, using interrupts. You can set the buffer size dynamically using read_buf_len keyword arg. A size of 0 disables buffering.
Diffstat (limited to 'docs/tutorial')
0 files changed, 0 insertions, 0 deletions