Device | PORTA | PORTB | PORTC | PORTD | PORTE |
---|---|---|---|---|---|
28-pin devices | ● | ● | ● | ● |
Each port has eight registers to control the operation. These registers are:
In this section, the generic names such as PORTx, LATx, TRISx, etc. can be associated with PORTA, PORTB, PORTC, etc., depending on availability per device.
A simplified model of a generic I/O port, without the interfaces to other peripherals, is shown in the following figure: