How to set both receiver and transmitter to same UART channel using I/O?

Question:

For UART asynchronous serial I/O mode, how to set both receiver and transmitter to same UART channel ?

Answer:

On IO Wizard, user can only select either transmitter or receiver for UART operation. In this way, inexperience MCU user can have clearer information on the related settings for transmitter itself and just receiver itself. If you want to have both receiver and transmitter for same UART channel, you can manually integrate the program lines for UART transmitter and UART receiver into the same file.