URL
https://opencores.org/ocsvn/openfire2/openfire2/trunk
Subversion Repositories openfire2
[/] [openfire2/] [trunk/] [sw/] [lib/] [uart1_printchar.c] - Rev 6
Compare with Previous | Blame | View Log
#include "openfire.h" // --------- uart #1 functions ---------- void uart1_printchar(unsigned char c) { while( (*(volatile unsigned char *) UARTS_STATUS_REGISTER) & UART1_TX_BUFFER_FULL ); // wait empty buffer *(char *) UART1_TXRX_DATA = c; }