Content originally posted in LPCWare by karanmehta93 on Thu Nov 08 06:39:06 MST 2012
Uart0Ext printbin is THRE interrupt handler function. and the ExtPrintbin is the function to which I will send the value which is to be transmitted through UART.
The UART fifo is the variable uart0tx. while the internal fifo's are disabled.
Now I want to know that when will the interrupt handler be called?
Supposing there are two lines in my code
#ExtPrintbin(COM1,1,64);
#ExtPrintbin(COM1,2,192);
in an infinite loop. My sytem clock is at 120 Mhz through PLL but the baud rate is just 9600.
So just tell me when the interrupt will be called