diff options
author | Keith Packard <keithp@keithp.com> | 2019-07-16 11:04:16 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2019-07-16 11:04:16 -0700 |
commit | bdcb3653bd9fb97f98773ac3bc1f87a6f52b1121 (patch) | |
tree | d771bb7178c3add69468ee191ddffdf3b4cf30c7 /src/kernel | |
parent | 009d56b4f03c1ba3c9a36bdb54c772ad21844057 (diff) |
altos/stmf0: Add 'ao_serial_shutdown'
This powers down the UART logic on request.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/kernel')
-rw-r--r-- | src/kernel/ao_serial.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/kernel/ao_serial.h b/src/kernel/ao_serial.h index 440b562b..3500a093 100644 --- a/src/kernel/ao_serial.h +++ b/src/kernel/ao_serial.h @@ -118,6 +118,9 @@ ao_serial3_set_speed(uint8_t speed); #endif void +ao_serial_shutdown(void); + +void ao_serial_init(void); #endif /* _AO_SERIAL_H_ */ |