Microchip Technology DV164136 Data Sheet

Page of 466
PIC18F87J11 FAMILY
DS39778E-page 172
 
 2007-2012 Microchip Technology Inc.
REGISTER 12-6:
PMEL: PARALLEL PORT ENABLE LOW BYTE REGISTER
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
PTEN7
PTEN6
PTEN5
PTEN4
PTEN3
PTEN2
PTEN1
PTEN0
bit 7
bit 0
Legend:
R = Readable bit
W = Writable bit
U = Unimplemented bit, read as ‘0’
-n = Value at POR
‘1’ = Bit is set
‘0’ = Bit is cleared
x = Bit is unknown
bit 7-2
PTEN<7:2>: 
PMP Address Port Enable bits
1
 = PMA<7:2> function as PMP address lines
0
 = PMA<7:2> function as port I/O
bit 1-0
PTEN<1:0>: 
PMALH/PMALL Strobe Enable bits
1
 = PMA1 and PMA0 function as either PMA<1:0> or PMALH and PMALL
0
 = PMA1 and PMA0 pads function as port I/O
REGISTER 12-7:
PMSTATH: PARALLEL PORT STATUS HIGH BYTE REGISTER
R-0
R/W-0
U-0
U-0
R-0
R-0
R-0
R-0
IBF
IBOV
IB3F
IB2F
IB1F
IB0F
bit 7
bit 0
Legend:
R = Readable bit
W = Writable bit
U = Unimplemented bit, read as ‘0’
-n = Value at POR
‘1’ = Bit is set
‘0’ = Bit is cleared
x = Bit is unknown
bit 7
IBF:
 Input Buffer Full Status bit 
1
 = All writable input buffer registers are full
0
 = Some or all of the writable input buffer registers are empty
bit 6
IBOV:
 Input Buffer Overflow Status bit 
1
 = A write attempt to a full input byte register occurred (must be cleared in software)
0
 = No overflow occurred
bit 5-4
Unimplemented:
 Read as ‘0’
bit 3-0
IB3F:IB0F:
 Input Buffer Status Full bits 
1
 = Input buffer contains data that has not been read (reading buffer will clear this bit)
0
 = Input buffer does not contain any unread data