Hello,<br><br>I am newbie to ARM core. This might be a very silly question, but I am not able to understand how 'icedcc_putc' function prints a character on console (UART).<br><br>############3<br>static void icedcc_putc(int ch)<br>
{<br> int status, i = 0x4000000;<br><br> do {<br> if (--i < 0)<br> return;<br><br> asm volatile ("mrc p14, 0, %0, c0, c0, 0" : "=r" (status));<br> } while (status & 2);<br>
<br> asm("mcr p14, 0, %0, c1, c0, 0" : : "r" (ch));<br>}<br>#############<br><br>Thanks for your help<br><br>~cnanda<br>