diff options
author | Keith Packard <keithp@keithp.com> | 2018-09-11 18:49:22 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2018-10-13 08:23:25 -0700 |
commit | 0b5ac831d2e63a091833c702b07b0331fba32e72 (patch) | |
tree | 96b8bc48c94590b072e081213c9d83a1dab1b8e9 /src/stm32f4/ao_arch_funcs.h | |
parent | 23075d174d2bff8ff3f3deef3c3d90b83da6bd2e (diff) |
altos/stm32f4: Add usart driver for usart6
This is what the disco board hooks up.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/stm32f4/ao_arch_funcs.h')
-rw-r--r-- | src/stm32f4/ao_arch_funcs.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/stm32f4/ao_arch_funcs.h b/src/stm32f4/ao_arch_funcs.h index 8c0da03b..b1ffb5b6 100644 --- a/src/stm32f4/ao_arch_funcs.h +++ b/src/stm32f4/ao_arch_funcs.h @@ -331,4 +331,10 @@ static inline void ao_disable_port(struct stm_gpio *port) ao_gpio_set_mode(port, bit, mode); \ } while (0) +/* usart */ + +void +ao_usart_init(void); + + #endif /* _AO_ARCH_FUNCS_H_ */ |