PIC18F16Q41 PORTB registers The 8 registers of PORTB (I/O port B), from 0x408, with their reset value and every field. The PIC18F16Q41 has 569 registers in 46 peripherals, one page each.
PORTB I/O port B ANSELB
Address 0x408
Reset 0xF0
Access read/write 7 ANSELB0 6 ANSELB0 5 ANSELB0 4 ANSELB0 3 – 2 – 1 – 0 – 4 fields
Field Bits What it does ANSELB0 7 ANSELB0 6 ANSELB0 5 ANSELB0 4
WPUB
Address 0x409
Reset 0x00
Access read/write 7 WPUB0 6 WPUB0 5 WPUB0 4 WPUB0 3 – 2 – 1 – 0 – 4 fields
Field Bits What it does WPUB0 7 WPUB0 6 WPUB0 5 WPUB0 4
ODCONB
Address 0x40A
Reset 0x00
Access read/write 7 ODCB0 6 ODCB0 5 ODCB0 4 ODCB0 3 – 2 – 1 – 0 – 4 fields
Field Bits What it does ODCB0 7 ODCB0 6 ODCB0 5 ODCB0 4
SLRCONB
Address 0x40B
Reset 0xF0
Access read/write 7 SLRB0 6 SLRB0 5 SLRB0 4 SLRB0 3 – 2 – 1 – 0 – 4 fields
Field Bits What it does SLRB0 7 SLRB0 6 SLRB0 5 SLRB0 4
INLVLB
Address 0x40C
Reset 0xF0
Access read/write 7 INLVLB0 6 INLVLB0 5 INLVLB0 4 INLVLB0 3 – 2 – 1 – 0 – 4 fields
Field Bits What it does INLVLB0 7 INLVLB0 6 INLVLB0 5 INLVLB0 4
7 LATB7 6 LATB6 5 LATB5 4 LATB4 3 – 2 – 1 – 0 – 4 fields
Field Bits What it does LATB7 7 LATB6 6 LATB5 5 LATB4 4
TRISB
Address 0x4C7
Reset 0xF0
Access read/write 7 TRISB7 6 TRISB6 5 TRISB5 4 TRISB4 3 – 2 – 1 – 0 – 4 fields
Field Bits What it does TRISB7 7 TRISB6 6 TRISB5 5 TRISB4 4
7 RB7 6 RB6 5 RB5 4 RB4 3 – 2 – 1 – 0 – 4 fields
Field Bits What it does RB7 7 RB6 6 RB5 5 RB4 4