Datasheet
PIC16F193X/LF193X
DS41364D-page 136 Preliminary 2009 Microchip Technology Inc.
12.3.4 PORTB FUNCTIONS AND OUTPUT
PRIORITIES
Each PORTB pin is multiplexed with other functions. The
pins, their combined functions and their output priorities
are briefly described here. For additional information,
refer to the appropriate section in this data sheet.
When multiple outputs are enabled, the actual pin
control goes to the peripheral with the lowest number in
the following lists.
Analog input and some digital input functions are not
included in the list below. These input functions can
remain active when the pin is configured as an output.
Certain digital input functions, such as the EUSART RX
signal, override other port functions and are included in
the priority list.
RB0
1. SEG0 (LCD)
2. CCP4, 28-pin only
3. RB0
RB1
1. P1C (ECCP1), 28-pin only
2. RB1
RB2
1. P1B (ECCP1), 28-pin only
2. RB2
RB3
1. CCP2/P2A
2. RB3
RB4
1. COM0
2. P1D, 28-pin only
3. RB4
RB5
1. COM1
2. P2B, 28-pin only
3. CCP3/P3A
4. RB5
RB6
1. ICSPCLK (Programming)
2. ICDCLK (enabled by Configuration Word)
3. SEG14 (LCD)
4. RB6
RB7
1. ICSPDAT (Programming)
2. ICDDAT (enabled by Configuration Word)
3. SEG13 (LCD)
4. RB7
REGISTER 12-6: PORTB: PORTB REGISTER
R/W-x/u R/W-x/u R/W-x/u R/W-x/u R/W-x/u R/W-x/u R/W-x/u R/W-x/u
RB7 RB6 RB5 RB4 RB3 RB2 RB1 RB0
bit 7 bit 0
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
u = Bit is unchanged x = Bit is unknown -n/n = Value at POR and BOR/Value at all other Resets
‘1’ = Bit is set ‘0’ = Bit is cleared
bit 7-0 RB<7:0>: PORTB I/O Pin bit
1 = Port pin is > V
IH
0 = Port pin is < VIL