UART and MUX, DEMUX use Control Reg for some RX input and TX ouput | Cypress Semiconductor
UART and MUX, DEMUX use Control Reg for some RX input and TX ouput
Hi Everyone. I have a poject use Uart and Control.
My Uart have 3 input RX, RX - GPS, RX- LCD, RX- GSM; and 3 output for TX - LCD, TX-GSM,TX-GPS.
I use control reg for choise only input RX, and output TX.
Please tell me some advices that:
Fisrtly tell me: I should use while(1) for getchar() data buffer in UART? (or) I should use interupt UART for getchar() data buffer? Because?
this is image: