OVMS3-idf/examples/peripherals
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 esp_adc_cal/Remove lookup table 2018-02-22 20:01:41 +08:00
adc2 assert: Fix. Move useful functions from wrapped assert functions 2018-06-22 15:17:55 +05:00
gpio bugfix: io setting useless when io_num > 32 2017-12-04 17:35:00 +08:00
i2c Examples: Demonstrate the usage of esp_err_to_name 2018-03-13 14:27:00 +01:00
i2s fix i2s mix result and error code 2018-05-17 10:59:04 +08:00
i2s_adc_dac remove executable permission from source files 2018-05-29 20:07:45 +08:00
ledc Provided more meaningful parameter names by renaming 'bit_num' to 'duty_resolution' and 'div_num' to 'clock_divider' 2017-11-15 08:08:12 +01:00
mcpwm build: Fix the warnings that break the tests 2017-07-07 11:03:25 +08:00
pcnt Provided more meaningful parameter names by renaming 'bit_num' to 'duty_resolution' and 'div_num' to 'clock_divider' 2017-11-15 08:08:12 +01:00
rmt_nec_tx_rx bugfix(rmt): tx cmd without negative coding 2018-01-31 19:35:50 +08:00
rmt_tx driver(rmt):Add API supports sending uint8_t type data. 2018-05-22 01:55:44 +00:00
sdio example(sdio): example to use sdmmc host to do SDIO communication with SDIO slave 2018-06-20 07:00:05 +00:00
sigmadelta Updated sigma delta API documenation and example 2017-09-25 21:31:09 +02:00
spi_master example(spi_master): add descriptions about LCD example 2018-05-03 11:48:26 +08:00
spi_slave Added / corrected README files for the SPI master / slave examples under peripherals 2018-03-12 05:56:35 +01:00
timer_group Timer API docs update, refactored example 2017-10-27 07:13:59 +02:00
touch_pad_interrupt bugfix(touch pad): modify deep-sleep example and add note for sleep api. 2018-06-20 10:57:26 +08:00
touch_pad_read bugfix(touch pad): modify deep-sleep example and add note for sleep api. 2018-06-20 10:57:26 +08:00
uart_async_rxtxtasks Print out in hex format in case non printable data are received 2017-10-19 22:06:53 +02:00
uart_echo Updated UART API documentation and examples. Included a fix of #1091 from GitHub 2017-10-10 05:54:36 +02:00
uart_echo_rs485 driver: add rs485 half duplex interface support to uart driver (update after review) 2018-07-02 15:24:58 +02:00
uart_events bugfix(uart): patten detect function 2018-01-22 13:33:51 +08:00
uart_select Allow VFS file descriptors in select() 2018-05-18 08:06:33 +02:00
README.md Added README.md to example category folders 2017-01-18 21:03:15 +01:00

Peripherals Examples

This section provides examples how to configure and use ESP32s internal peripherals like GPIO, UART, I2C, SPI, timers, counters, ADC / DAC, PWM, etc.

See the README.md file in the upper level examples directory for more information about examples.