
2010 Microchip Technology Inc.
DS39774D-page 151
PIC18F85J11 FAMILY
FIGURE 11-4:
PARALLEL SLAVE PORT WRITE WAVEFORMS
REGISTER 11-1:
PSPCON: PARALLEL SLAVE PORT CONTROL REGISTER
R-0
R/W-0
U-0
IBF
OBF
IBOV
PSPMODE
—
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
= A word has been received and is waiting to be read by the CPU
0
= No word has been received
bit 6
OBF: Output Buffer Full Status bit
1
= The output buffer still holds a previously written word
0
= The output buffer has been read
bit 5
IBOV: Input Buffer Overflow Detect bit
1
= A write occurred when a previously input word has not been read (must be cleared in software)
0
= No overflow occurred
bit 4
PSPMODE: Parallel Slave Port Mode Select bit
1
= Parallel Slave Port mode
0
= General Purpose I/O mode
bit 3-0
Unimplemented: Read as ‘0’
Q1
Q2
Q3
Q4
CS
Q1
Q2
Q3
Q4
Q1
Q2
Q3
Q4
WR
RD
IBF
OBF
PSPIF
PORTD<7:0>