15.4.7 PORTG
Note: Writes to PORTG are actually
written to the corresponding LATG register.
Reads from PORTG register return actual I/O
pin values.
Name: | PORTG |
Offset: | 0xF8F |
Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
RG7 | RG6 | RG5 | RG4 | RG3 | RG2 | RG1 | RG0 | ||
Access | R/W | R/W | R/W | R/W | R/W | R/W | R/W | R/W | |
Reset | x | x | x | x | x | x | x | x |
Bits 0, 1, 2, 3, 4, 5, 6, 7 – RGn Port I/O Value bits
Note: Bit RG5 is read-only,
and will read ‘
1
’ when MCLRE = 1
(Master Clear
enabled).Reset States: |
|
Value | Description |
---|---|
1 | Port pin is ≥ VIH |
0 | Port pin is ≤ VIL Note: Bit PORTG5 is read-only, and will
read ‘ 1 ’ when MCLRE = 1 (Master Clear
enabled) |