Uart Interrupt Beaglebone Black

Hello Everyone,

I am using Beaglebone Black and i want to use Uart interrupt for Tx and Rx, i can’t use cape dtbo as per requirements, i have to implement this only in C code can anyone help me with this?