Each port of the serial object can operate in one of the three modes:
•UART Mode
•Wiegand Mode
•Clock/data Mode
The following subsections detail the signals that the serial port sends and expects to receive in each mode.