1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/drivers/include/periph
Yegor Yefremov ddf19783d7 periph/uart: add support for enhanced serial settings
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>
2019-01-31 14:15:11 +01:00
..
adc.h drivers: doxygen cleanup 2017-09-01 15:12:20 +02:00
cpuid.h drivers: doxygen cleanup 2017-09-01 15:12:20 +02:00
dac.h drivers: doxygen cleanup 2017-09-01 15:12:20 +02:00
dev_enums.h cleanup: apply headerguard script output 2017-05-24 17:54:02 +02:00
doc.txt drivers/periph: some doxygen fixes 2015-11-19 15:57:36 +01:00
eeprom.h drivers/periph_eeprom: add eeprom_set function 2018-12-04 11:24:57 +01:00
flashpage.h drivers/flashpage: use const ptrs for write/verify 2018-03-13 21:51:37 +01:00
gpio.h periph_gpio: comment IRQ #endif correctly 2018-10-09 15:11:45 +02:00
hwrng.h periph/hwrng: use void* buf for hwrng_read() 2017-02-07 13:20:39 +01:00
i2c.h drivers/include/i2c: Fix API documentation 2018-12-10 09:56:40 +01:00
init.h drivers/periph&cpu: add and use common periph_init() 2017-01-25 16:46:46 +01:00
pm.h pm: fix weak-based default implementations 2017-10-16 14:27:35 +02:00
pwm.h drivers: doxygen cleanup 2017-09-01 15:12:20 +02:00
qdec.h drivers/qdec: doxygen rendering fixes 2018-03-01 20:53:34 +01:00
rtc.h periph/rtc: removed RTC_NUMOF guards from header 2017-08-23 15:39:16 +02:00
rtt.h periph/rtt: add missing std header 2018-09-07 14:54:23 +02:00
spi.h drivers/include/periph/spi: Typo fix 2017-02-07 16:59:33 +01:00
timer.h drivers: doxygen cleanup 2017-09-01 15:12:20 +02:00
uart.h periph/uart: add support for enhanced serial settings 2019-01-31 14:15:11 +01:00