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
  1. 7ANSELB0
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–
1 field
FieldBitsWhat it does
ANSELB07

WPUB

Address
0x421
Reset
0x00
Access
read/write
  1. 7WPUB0
  2. 6WPUB0
  3. 5WPUB0
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–
3 fields
FieldBitsWhat it does
WPUB07
WPUB06
WPUB05

ODCONB

Address
0x422
Reset
0x00
Access
read/write
  1. 7ODCB0
  2. 6ODCB0
  3. 5ODCB0
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–
3 fields
FieldBitsWhat it does
ODCB07
ODCB06
ODCB05

SLRCONB

Address
0x423
Reset
0xE0
Access
read/write
  1. 7SLRB0
  2. 6SLRB0
  3. 5SLRB0
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–
3 fields
FieldBitsWhat it does
SLRB07
SLRB06
SLRB05

INLVLB

Address
0x424
Reset
0xE0
Access
read/write
  1. 7INLVLB0
  2. 6INLVLB0
  3. 5INLVLB0
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–
3 fields
FieldBitsWhat it does
INLVLB07
INLVLB06
INLVLB05

PORTB

Address
0x488
Reset
x (not fixed at power-on)
Access
read/write
  1. 7RB7
  2. 6RB6
  3. 5RB5
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–
3 fields
FieldBitsWhat it does
RB77
RB66
RB55

TRISB

Address
0x48E
Reset
0xE0
Access
read/write
  1. 7TRISB7
  2. 6TRISB6
  3. 5TRISB5
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–
3 fields
FieldBitsWhat it does
TRISB77
TRISB66
TRISB55

LATB

Address
0x494
Reset
x (not fixed at power-on)
Access
read/write
  1. 7LATB7
  2. 6LATB6
  3. 5LATB5
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–
3 fields
FieldBitsWhat it does
LATB77
LATB66
LATB55