English
Language : 

PIC18F258 Datasheet, PDF (105/384 Pages) Microchip Technology – High Performance, 28/40-Pin Enhanced FLASH Microcontrollers with CAN
PIC18FXX8
REGISTER 9-1: TRISE REGISTER
R-0
IBF
bit 7
R-0
OBF
R/W-0
R/W-0
U-0
IBOV PSPMODE
—
R/W-1
TRISE2
R/W-1
TRISE1
R/W-1
TRISE0
bit 0
bit 7
IBF: Input Buffer Full Status bit
1 = A word has been received and 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 (in Microprocessor mode)
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
Unimplemented: Read as '0'
bit 2
TRISE2: RE2 Direction Control bit
1 = Input
0 = Output
bit 1
TRISE1: RE1 Direction Control bit
1 = Input
0 = Output
bit 0
TRISE0: RE0 Direction Control bit
1 = Input
0 = Output
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
TABLE 9-9: PORTE FUNCTIONS
Name
Bit# Buffer Type
Function
RE0/AN5/RD
bit0 ST/TTL(1) Input/output port pin, analog input or read control input in Parallel
Slave Port mode.
RE1/AN6/WR/C1OUT bit1
ST/TTL(1) Input/output port pin, analog input, write control input in Parallel Slave
Port mode or Comparator 1 output.
RE2/AN7/CS/C2OUT bit2
ST/TTL(1) Input/output port pin, analog input, chip select control input in Parallel
Slave Port mode or Comparator 2 output.
Legend: ST = Schmitt Trigger input, TTL = TTL input
Note 1: Input buffers are Schmitt Triggers when in I/O mode and TTL buffers when in Parallel Slave Port mode.
 2002 Microchip Technology Inc.
Preliminary
DS41159B-page 103