PIC18F16Q20 PORTB registers The 8 registers of PORTB (I/O port B), from 0x420, with their reset value and every field. The PIC18F16Q20 has 614 registers in 39 peripherals, one page each.
PORTB I/O port B ANSELB
Address 0x420
Reset 0x80
Access read/write 7 ANSELB0 6 – 5 – 4 – 3 – 2 – 1 – 0 – 1 field
Field Bits What it does ANSELB0 7
WPUB
Address 0x421
Reset 0x00
Access read/write 7 WPUB0 6 WPUB0 5 WPUB0 4 – 3 – 2 – 1 – 0 – 3 fields
Field Bits What it does WPUB0 7 WPUB0 6 WPUB0 5
ODCONB
Address 0x422
Reset 0x00
Access read/write 7 ODCB0 6 ODCB0 5 ODCB0 4 – 3 – 2 – 1 – 0 – 3 fields
Field Bits What it does ODCB0 7 ODCB0 6 ODCB0 5
SLRCONB
Address 0x423
Reset 0xE0
Access read/write 7 SLRB0 6 SLRB0 5 SLRB0 4 – 3 – 2 – 1 – 0 – 3 fields
Field Bits What it does SLRB0 7 SLRB0 6 SLRB0 5
INLVLB
Address 0x424
Reset 0xE0
Access read/write 7 INLVLB0 6 INLVLB0 5 INLVLB0 4 – 3 – 2 – 1 – 0 – 3 fields
Field Bits What it does INLVLB0 7 INLVLB0 6 INLVLB0 5
7 RB7 6 RB6 5 RB5 4 – 3 – 2 – 1 – 0 – 3 fields
Field Bits What it does RB7 7 RB6 6 RB5 5
TRISB
Address 0x48E
Reset 0xE0
Access read/write 7 TRISB7 6 TRISB6 5 TRISB5 4 – 3 – 2 – 1 – 0 – 3 fields
Field Bits What it does TRISB7 7 TRISB6 6 TRISB5 5
7 LATB7 6 LATB6 5 LATB5 4 – 3 – 2 – 1 – 0 – 3 fields
Field Bits What it does LATB7 7 LATB6 6 LATB5 5