PIC16C65B Microchip Technology Inc., PIC16C65B Datasheet - Page 35

no-image

PIC16C65B

Manufacturer Part Number
PIC16C65B
Description
8-bit Cmos Microcontrollers With A/d Converter
Manufacturer
Microchip Technology Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16C65B-04/L
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC16C65B-04/L
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC16C65B-04/P
Manufacturer:
MICROCHIP
Quantity:
1 450
Part Number:
PIC16C65B-04/P
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC16C65B-04/PQ
Manufacturer:
IXYS
Quantity:
2 349
Part Number:
PIC16C65B-04/PQ
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC16C65B-04/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC16C65B-04E/L
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC16C65B-04E/PQ
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC16C65B-04I/L
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC16C65B-04I/P
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
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
(PIC16C74B 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.
TABLE 5-9:
Name
RE0/RD/AN5
RE1/WR/AN6
RE2/CS/AN7
Legend:
Note 1: Input buffers are Schmitt Triggers when in I/O mode and TTL buffers when in Parallel Slave Port mode.
Note:
2000 Microchip Technology Inc.
Note 1: The PIC16C63A and PIC16C73B do not
PORTE and TRISE Register
2: The PIC16C63A/65B does not provide an
ST = Schmitt Trigger input, TTL = TTL input
On a Power-on Reset, these pins are con-
figured as analog inputs and read as ‘0’s.
provide PORTE. The PORTE and TRISE
registers are not implemented.
A/D module. A/D functions are not imple-
mented.
PORTE FUNCTIONS
Bit#
bit0
bit1
bit2
Buffer Type
ST/TTL
ST/TTL
ST/TTL
(1)
(1)
(1)
Function
Input/output port pin or read control input in Parallel Slave Port mode or analog
input:
Input/output port pin or write control input in Parallel Slave Port mode or analog
input:
Input/output port pin or chip select control input in Parallel Slave Port mode or
analog input:
RD
1 = Idle
0 = Read operation. Contents of PORTD register is output to PORTD
CS
1 = Device is not selected
0 = Device is selected
WR
1 = Idle
0 = Write operation. Value of PORTD I/O pins is latched into PORTD
PIC16C63A/65B/73B/74B
I/O pins (if chip selected).
register (if chip selected).
FIGURE 5-7:
Note 1: I/O pins have protection diodes to V
WR
TRIS
Data
Bus
WR
Port
RD Port
TRIS Latch
Data Latch
D
D
CK
CK
RD TRIS
Q
Q
PORTE BLOCK DIAGRAM
Q
EN
Schmitt
Trigger
Input
Buffer
EN
D
DS30605C-page 35
DD
I/O pin
and V
(1)
SS
.

Related parts for PIC16C65B