The EZ-USB FX2LP (CY7C68013A) has up to five eight-pin bidirectional I/O ports Px[0..7], where x is the port (A, B, C, D, or E). When using Ports mode, the bit 0 and 1 of the IFCONFIG register has to be configured to “0”. In Ports mode, all the IO pins are general-purpose I/O ports. The registers which are important to control and configure the IO ports are the OEx , IOx and the PORTxCFG. Here, x can be A,B,C,D,and E.