16.5.2 PORTB
Note: Writes to PORTB are actually
written to the corresponding LATB register.
Reads from PORTB register return actual I/O
pin values.
Name: | PORTB |
Address: | 0xF8D |
Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
RB7 | RB6 | RB5 | RB4 | RB3 | RB2 | RB1 | RB0 | ||
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 – RBn Port I/O Value bits
Note: Bits RB6 and RB7 read
‘
1
’ while in Debug mode.Reset States: |
|
Value | Description |
---|---|
1 | PORT pin is ≥ VIH |
0 | PORT pin is ≤ VIL |