I need to connect a RS485 interface to the Jetson Uart port. Because RS485 is not full duplex I need to enable the RS485 driver when the Jetson is transmitting. To do this I would to have low level control over the Uart. So that I know exactly when bytes are sended and I can toggle a GPIO pin for the enabling.
Is there a Uart API for low level control? Where can I find it?