Original Attachment has been moved to: uart.c.zip
Original Attachment has been moved to: uart.h.zip
Original Attachment has been moved to: uarttest.c.zip
while (1)
{/* Loop forever */
if ([color=#f00] UARTCount != 0[/color] )
{
LPC_UART->IER = IER_THRE | IER_RLS;/* Disable RBR */
UARTSend( (uint8_t *)UARTBuffer, UARTCount );
UARTCount = 0;
LPC_UART->IER = IER_THRE | IER_RLS | IER_RBR;/* Re-enable RBR */
}
}
|
UARTInit(115200); |