Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Microtime Computer Inc.List-10. The UART process task (OS_uCOS-II : app.c)List-10-(1) :It's a uCOS-II BSP function call which performs the following works :● To initialize MCU I/O and UART peripheral by calling functions of UART devicedriver.● Configure interrupt for UART TX and RX service routines.● Create semaphores for managing common resources such as UART device, UARTtransmission and UART receiving.List-10-(2) :This function performs formatted print to dump string "Hello World !!!" to the specifiedUART device (console APP_UARTA).List-10-(3) :Call this function to get (read) a byte of data from specified UART device (consoleAPP_UARTA).List-10-(4) :Call this function to put (write) a byte of data to specified UART device (consoleAPP_UARTA).3-21 ePPB <strong>Development</strong> <strong>Guide</strong>