I am using a SAMV71 with ASF4. I want to set it up for RS485 mode with hardware support for Drive Enable using the RTS special function. I can’t find a way to do this using the ASF API. The only RS485 example I can find is from Atmel Studio using deprecated include files.
How can I write directly to the registers of the USART using ASF4 low level functions?
What is the correct (supported) way to do this?
I need to write to US_MR and to US_TIGR register to set the timeguard.