This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

INFO UART

Dear All,

Is possible to have informations on this code?

int sendchar (int ch) { /* Write character to Serial Port */

while (!(UxLSR & 0x20)); Why??

return (UxTHR = ch); Why??
}

Thanks

0