OVMS3-idf/components/driver/include/driver
Alex Lisitsyn ef5dc73f6f driver: add rs485 half duplex interface support to uart driver (update after review)
An existing UART driver does not support RS485 half duplex mode.
This task adds this functionality to ESP_IDF UART driver.
driver/uart.c/h: updated to add support of RS485 half duplex mode
examples/peripherals/uart_echo_rs485/main/rs485_example.c: added test example
components/driver/test/test_uart.c: added test of RS485 half duplex mode
docs/en/api-reference/peripherals/uart.rst: updated documentation
test_uart.c: suppress GCC warnings about discarded const qualifiers
uart.rst: remove sphinx warning - "Duplicate explicit target name"
simple change in uart.h file
update (test_uart.c) after rebase from master
update uart.rst, uart.c, rs485_example.c
Update example description in file Readme.md
update uart.c/h, uart.rst, test_uart.c according to review results
update uart.h (uart_set_rx_timeout() description
test_uart.c remove ignore tag
uart.c/h: fix param errors
test_uart.c: Remove GCC warning supress
uart.rst: fix the notes
rs485_example.c: fix output

The tests are completed using RS485 adapters hardware connected to two ESP32 WROVER KITs.

TW#13812
Closes https://github.com/espressif/esp-idf/pull/667
Closes https://github.com/espressif/esp-idf/pull/1006
2018-07-02 15:24:58 +02:00
..
adc.h driver(adc): add descriptions for the issue that starting ADC can trigger interrupt of GPIO36 and GPIO39. 2018-05-11 17:08:58 +08:00
adc2_wifi_internal.h feat(adc2): append adc2 support and api and the lock with WIFI module 2017-10-26 14:35:29 +08:00
dac.h feat(rtc): open adc*(dac)_pad_get_io_num functions to public. 2017-10-24 12:06:14 +08:00
gpio.h soc: Fix check_long_hold_gpio and move def to soc 2018-06-22 09:20:27 +05:00
i2c.h driver(i2c, rmt):Add intr_flag setting to ESP_INTR_FLAG_IRAM support when enable psram. 2018-05-21 09:37:56 +08:00
i2s.h fix i2s mix result and error code 2018-05-17 10:59:04 +08:00
ledc.h driver(ledc): fix duty and fade issues and add thread-safe version APIs. 2018-05-14 12:27:21 +08:00
mcpwm.h feature: add Motor Control PWM(mcpwm) driver 2017-05-12 15:47:59 +08:00
pcnt.h driver(pcnt): Add some APIs to support each unit can have it's own interrupt handler. 2018-04-11 16:15:09 +08:00
periph_ctrl.h refactor(spi): move pin information into soc folder 2018-06-14 11:29:15 +08:00
rmt.h driver(rmt):Add API supports sending uint8_t type data. 2018-05-22 01:55:44 +00:00
rtc_cntl.h driver/rtc: add support for attaching handlers to RTC_CNTL interrupts 2017-07-10 17:21:49 +08:00
rtc_io.h soc: Fix check_long_hold_gpio and move def to soc 2018-06-22 09:20:27 +05:00
sdio_slave.h chore(sdio_slave): format source files 2018-06-20 07:00:05 +00:00
sdmmc_defs.h sdmmc: add SDIO support 2018-04-11 11:07:13 +08:00
sdmmc_host.h feature(sdio): allow to enable internal pullups of the SDIO host and slave as a debug feature 2018-06-14 12:04:22 +08:00
sdmmc_types.h sdmmc: add SDIO support 2018-04-11 11:07:13 +08:00
sdspi_host.h sdmmc, sdspi: fix initializers to be C++-compatible, add test 2018-04-23 14:35:13 +08:00
sigmadelta.h Updated sigma delta API documenation and example 2017-09-25 21:31:09 +02:00
spi_common.h fix(spi): reset gpios that used by spi when deinited 2018-06-14 11:29:15 +08:00
spi_master.h chore(spi): fix the terms of native to iomux 2018-06-06 06:08:39 +00:00
spi_slave.h refactor(spi): move pin information into soc folder 2018-06-14 11:29:15 +08:00
timer.h docs: fix description of timer_get_alarm_value() 2018-03-19 11:56:57 +08:00
touch_pad.h bugfix(touch pad): modify deep-sleep example and add note for sleep api. 2018-06-20 10:57:26 +08:00
uart.h driver: add rs485 half duplex interface support to uart driver (update after review) 2018-07-02 15:24:58 +02:00
uart_select.h Allow VFS file descriptors in select() 2018-05-18 08:06:33 +02:00