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
  1. 7–
  2. 6–
  3. 5ANSELA0
  4. 4ANSELA0
  5. 3–
  6. 2ANSELA0
  7. 1ANSELA0
  8. 0ANSELA0
5 fields
FieldBitsWhat it does
ANSELA05
ANSELA04
ANSELA02
ANSELA01
ANSELA00

WPUA

Address
0x417
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5WPUA0
  4. 4WPUA0
  5. 3WPUA0
  6. 2WPUA0
  7. 1WPUA0
  8. 0WPUA0
6 fields
FieldBitsWhat it does
WPUA05
WPUA04
WPUA03
WPUA02
WPUA01
WPUA00

ODCONA

Address
0x418
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5ODCA0
  4. 4ODCA0
  5. 3–
  6. 2ODCA0
  7. 1ODCA0
  8. 0ODCA0
5 fields
FieldBitsWhat it does
ODCA05
ODCA04
ODCA02
ODCA01
ODCA00

SLRCONA

Address
0x419
Reset
0x37
Access
read/write
  1. 7–
  2. 6–
  3. 5SLRA0
  4. 4SLRA0
  5. 3–
  6. 2SLRA0
  7. 1SLRA0
  8. 0SLRA0
5 fields
FieldBitsWhat it does
SLRA05
SLRA04
SLRA02
SLRA01
SLRA00

INLVLA

Address
0x41A
Reset
0x3F
Access
read/write
  1. 7–
  2. 6–
  3. 5INLVLA0
  4. 4INLVLA0
  5. 3INLVLA0
  6. 2INLVLA0
  7. 1INLVLA0
  8. 0INLVLA0
6 fields
FieldBitsWhat it does
INLVLA05
INLVLA04
INLVLA03
INLVLA02
INLVLA01
INLVLA00

PORTA

Address
0x487
Reset
x (not fixed at power-on)
Access
read/write
  1. 7–
  2. 6–
  3. 5RA5
  4. 4RA4
  5. 3RA3
  6. 2RA2
  7. 1RA1
  8. 0RA0
6 fields
FieldBitsWhat it does
RA55
RA44
RA33
RA22
RA11
RA00

TRISA

Address
0x48D
Reset
0x37
Access
read/write
  1. 7–
  2. 6–
  3. 5TRISA5
  4. 4TRISA4
  5. 3–
  6. 2TRISA2
  7. 1TRISA1
  8. 0TRISA0
5 fields
FieldBitsWhat it does
TRISA55
TRISA44
TRISA22
TRISA11
TRISA00

LATA

Address
0x493
Reset
x (not fixed at power-on)
Access
read/write
  1. 7–
  2. 6–
  3. 5LATA5
  4. 4LATA4
  5. 3–
  6. 2LATA2
  7. 1LATA1
  8. 0LATA0
5 fields
FieldBitsWhat it does
LATA55
LATA44
LATA22
LATA11
LATA00