p16f877 Microchip Technology Inc., p16f877 Datasheet - Page 39

no-image

p16f877

Manufacturer Part Number
p16f877
Description
28/40-pin 8-bit Cmos Flash Microcontrollers
Manufacturer
Microchip Technology Inc.
Datasheet
REGISTER 3-1:
2001 Microchip Technology Inc.
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
TRISE REGISTER (ADDRESS 89h)
Parallel Slave Port Status/Control Bits:
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
1 = The output buffer still holds a previously written word
0 = The output buffer has been read
1 = A write occurred when a previously input word has not been read (must be cleared in
0 = No overflow occurred
PSPMODE: Parallel Slave Port Mode Select bit
1 = PORTD functions in Parallel Slave Port mode
0 = PORTD functions in general purpose I/O mode
Unimplemented: Read as '0'
PORTE Data Direction Bits:
Bit2: Direction Control bit for pin RE2/CS/AN7
1 = Input
0 = Output
Bit1: Direction Control bit for pin RE1/WR/AN6
1 = Input
0 = Output
Bit0: Direction Control bit for pin RE0/RD/AN5
1 = Input
0 = Output
bit 7
Legend:
R = Readable bit
- n = Value at POR
OBF: Output Buffer Full Status bit
IBOV: Input Buffer Overflow Detect bit (in Microprocessor mode)
R-0
IBF
software)
OBF
R-0
R/W-0
IBOV
W = Writable bit
’1’ = Bit is set
PSPMODE
R/W-0
U = Unimplemented bit, read as ‘0’
’0’ = Bit is cleared
U-0
R/W-1
Bit2
PIC16F87X
x = Bit is unknown
R/W-1
Bit1
DS30292C-page 37
R/W-1
Bit0
bit 0

Related parts for p16f877