* Question
What is the basic operation of UARTn? |
* Answer
(1) Set I/O connection to UART;
(2) Set serial port baud rate (UnDLM and UnDLL); (3) Set serial port working mode (UnLCR and UnFCR); (4) Send or receive data (UnTHR and UnRBR) (5) Check the serial port status word or wait for the serial port interrupt (UnLSR). |
COMMENTS