Event Handler for DTR Signal

Hi all,

Does anyone know how I can capture DTR signal in an event handler?

I need to be able to perform a task if the DTR signal on UART1 goes low, but I don’t know how to do it.

If anyone can help me, I would greatly appreciate it. Thanks.

Eddie