uart_set_line_inverse() mask parameter undefined

Jami17
Posts: 20
Joined: Wed Jul 12, 2017 10:55 pm

uart_set_line_inverse() mask parameter undefined

Postby Jami17 » Mon Dec 30, 2019 2:19 pm

I just downloaded the current IDF.
Compiling my project now results in errors:
uart_set_line_inverse(n, UART_INVERSE_TXD);

UART_INVERSE_TXD is not defined anymore in the new IDF. The doucmentation is also unclear:
Choose the wires that need to be inverted. Using the ORred mask of uart_signal_inv_t
uart_signal_inv_t is also undefined.

What value is required when TXD is to be inverted?

Why has UART_INVERSE_TXD been dropped?

User avatar
ben_mkiv
Posts: 2
Joined: Sun Jan 12, 2020 6:49 pm

Re: uart_set_line_inverse() mask parameter undefined

Postby ben_mkiv » Sun Jan 12, 2020 6:50 pm

looks like this got renamed to UART_SIGNAL_TXD_INV

Jami17
Posts: 20
Joined: Wed Jul 12, 2017 10:55 pm

Re: uart_set_line_inverse() mask parameter undefined

Postby Jami17 » Mon Jan 13, 2020 2:04 pm

Yes, I had also asked here and got a reply
https://github.com/espressif/esp-idf/issues/4581

Who is online

Users browsing this forum: No registered users and 123 guests