Arbitrary trigger levels for receiver and transmitter FIFO interrupts and automatic in-band and out-of-band flow control