English
Language : 

PIC18F14K22LIN Datasheet, PDF (20/62 Pages) Microchip Technology – 20-Pin Flash Microcontrollers 20-Pin Flash Microcontrollers
PIC18F14K22LIN
REGISTER 3-2: TRISB: PORTB TRI-STATE REGISTER
R/W-1
R/W-1
R/W-1
R/W-1
U-0
U-0
U-0
U-0
TRISB7
TRISB6
TRISB5
TRISB4
—
—
—
—
bit 7
bit 0
Legend:
R = Readable bit
-n = Value at POR
W = Writable bit
‘1’ = Bit is set
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
x = Bit is unknown
bit 7-6
bit 5-4
bit 3-0
TRISB<7:6>: PORTB Tri-State Control bits
Initialize as 0 = PORTB pin configured as an output
TRISB<5:4>: PORTB Tri-State Control bits
Initialize as 1 = PORTB pin configured as an input (tri-stated)
Unimplemented: Read as ‘0’
REGISTER 3-3: LATB: PORTB DATA LATCH REGISTER
R/W-x
R/W-x
R/W-x
R/W-x
U-0
U-0
LATB7
LATB6
LATB5
LATB4
—
—
bit 7
U-0
U-0
—
—
bit 0
Legend:
R = Readable bit
-n = Value at POR
W = Writable bit
‘1’ = Bit is set
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
x = Bit is unknown
bit 7
bit 6
bit 5
bit 4
bit 3-0
LATB7: Dedicated to the LIN Transceiver Transmit Function
LATB6: Dedicated to the LIN Transceiver Chip Select Function
LATB5: Dedicated to the LIN Transceiver Receive Function
LATB4: RB<7:4> Port I/O Output Latch Register bits
Unimplemented: Read as ‘0’
DS41580A-page 24
Preliminary
 2011 Microchip Technology Inc.