mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
ddf19783d7
As suggested in PR#5899 add a routine uart_mode() that will setup data bits, stop bits and parity at runtime. uart.h provides a set of enums defining these settings and each platform will override them to specify values corresponding to its configuration registers. The idea behind the enums is to specify default settings i.e. 8N1 through the 0 value item. Invoking uart_mode(uart, 0, 0, 0) will setup 8N1 mode. Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> |
||
---|---|---|
.. | ||
adc.h | ||
cpuid.h | ||
dac.h | ||
dev_enums.h | ||
doc.txt | ||
eeprom.h | ||
flashpage.h | ||
gpio.h | ||
hwrng.h | ||
i2c.h | ||
init.h | ||
pm.h | ||
pwm.h | ||
qdec.h | ||
rtc.h | ||
rtt.h | ||
spi.h | ||
timer.h | ||
uart.h |