PIC16C745/P Microchip Technology, PIC16C745/P Datasheet - Page 38

no-image

PIC16C745/P

Manufacturer Part Number
PIC16C745/P
Description
8-Bit CMOS Microcontrollers with USB
Manufacturer
Microchip Technology
Datasheet
PIC16C745/765
TABLE 5-9:
5.5
PORTE has three pins, RE0/RD/AN5, RE1/WR/AN6
and RE2/CS/AN7, which are individually configured as
inputs or outputs. These pins have Schmitt Trigger
input buffers.
I/O PORTE becomes control inputs for the micropro-
cessor port when bit PSPMODE (TRISE<4>) is set. In
this mode, the user must make sure that the
TRISE<2:0> bits are set (pins are configured as digital
inputs) and that register ADCON1 is configured for dig-
ital I/O. In this mode, the input buffers are TTL.
Register 5-1 shows the TRISE register, which also con-
trols the parallel slave port operation.
PORTE pins may be multiplexed with analog inputs
(PIC16C765 only). The operation of these pins is
selected by control bits in the ADCON1 register. When
selected as an analog input, these pins will read as ’0’s.
TRISE controls the direction of the RE pins, even when
they are being used as analog inputs. The user must
make sure to keep the pins configured as inputs when
using them as analog inputs.
TRISE bits are used to control the parallel slave port.
DS41124A-page 38
Legend:
Note:
Note 1: The
Note 1:
PORTE and TRISE Registers
RE1/WR/AN6
RE0/RD/AN5
RE2/CS/AN7
On a Power-on Reset, these pins are con-
figured as analog inputs.
PORTE. The PORTE and TRISE registers
are reserved. Always maintain these bits
clear.
OD = open drain, ST = Schmitt Trigger
PIC16C765 only.
Name
PORTE
PIC16C745
(1)
FUNCTIONS
does
Function
RE0
AN5
RE1
AN6
RE2
AN7
WR
RD
CS
not
Advanced Information
provide
Input
Type
TTL
TTL
TTL
AN
AN
AN
ST
ST
ST
Output
CMOS
CMOS
CMOS
Type
FIGURE 5-7:
WR
TRIS
Data
Bus
WR
PORT
Bi-directional I/O
Parallel Slave Port control input
A/D Input
Bi-directional I/O
Parallel Slave Port control input
A/D Input
Bi-directional I/O
Parallel Slave Port data input
A/D Input
RD PORT
To A/D Converter
(1)
(1)
(1)
TRIS Latch
Data Latch
D
D
CK
CK
RD TRIS
(1)
(1)
(1)
PORTE BLOCK DIAGRAM
Q
Q
Description
Q
1999 Microchip Technology Inc.
(1)
Schmitt
Trigger
Input
Buffer
EN
(1)
(1)
EN
D
V
DD
I/O pin

Related parts for PIC16C745/P