PIC18F16Q20 PORTA registers The 8 registers of PORTA (I/O port A), from 0x416, with their reset value and every field. The PIC18F16Q20 has 614 registers in 39 peripherals, one page each.
PORTA I/O port A ANSELA
Address 0x416
Reset 0x37
Access read/write 7 – 6 – 5 ANSELA0 4 ANSELA0 3 – 2 ANSELA0 1 ANSELA0 0 ANSELA0 5 fields
Field Bits What it does ANSELA0 5 ANSELA0 4 ANSELA0 2 ANSELA0 1 ANSELA0 0
WPUA
Address 0x417
Reset 0x00
Access read/write 7 – 6 – 5 WPUA0 4 WPUA0 3 WPUA0 2 WPUA0 1 WPUA0 0 WPUA0 6 fields
Field Bits What it does WPUA0 5 WPUA0 4 WPUA0 3 WPUA0 2 WPUA0 1 WPUA0 0
ODCONA
Address 0x418
Reset 0x00
Access read/write 7 – 6 – 5 ODCA0 4 ODCA0 3 – 2 ODCA0 1 ODCA0 0 ODCA0 5 fields
Field Bits What it does ODCA0 5 ODCA0 4 ODCA0 2 ODCA0 1 ODCA0 0
SLRCONA
Address 0x419
Reset 0x37
Access read/write 7 – 6 – 5 SLRA0 4 SLRA0 3 – 2 SLRA0 1 SLRA0 0 SLRA0 5 fields
Field Bits What it does SLRA0 5 SLRA0 4 SLRA0 2 SLRA0 1 SLRA0 0
INLVLA
Address 0x41A
Reset 0x3F
Access read/write 7 – 6 – 5 INLVLA0 4 INLVLA0 3 INLVLA0 2 INLVLA0 1 INLVLA0 0 INLVLA0 6 fields
Field Bits What it does INLVLA0 5 INLVLA0 4 INLVLA0 3 INLVLA0 2 INLVLA0 1 INLVLA0 0
7 – 6 – 5 RA5 4 RA4 3 RA3 2 RA2 1 RA1 0 RA0 6 fields
Field Bits What it does RA5 5 RA4 4 RA3 3 RA2 2 RA1 1 RA0 0
TRISA
Address 0x48D
Reset 0x37
Access read/write 7 – 6 – 5 TRISA5 4 TRISA4 3 – 2 TRISA2 1 TRISA1 0 TRISA0 5 fields
Field Bits What it does TRISA5 5 TRISA4 4 TRISA2 2 TRISA1 1 TRISA0 0
7 – 6 – 5 LATA5 4 LATA4 3 – 2 LATA2 1 LATA1 0 LATA0 5 fields
Field Bits What it does LATA5 5 LATA4 4 LATA2 2 LATA1 1 LATA0 0