PIC16CR58A Microchip Technology, PIC16CR58A Datasheet - Page 57

no-image

PIC16CR58A

Manufacturer Part Number
PIC16CR58A
Description
ROM-Based 8-Bit CMOS Microcontroller Series
Manufacturer
Microchip Technology
Datasheets

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16CR58A-04/P042
Manufacturer:
MOTOROLA
Quantity:
80
5.4
PORTD is an 8-bit port with Schmitt Trigger input buff-
ers. Each pin is individually configurable as input or out-
put.
PORTD can be configured as an 8-bit wide micropro-
cessor port (parallel slave port) by setting control bit
PSPMODE (TRISE<4>). In this mode, the input buffers
are TTL.
TABLE 5-9:
TABLE 5-10:
Applicable Devices
61 62 62A R62 63 R63 64 64A R64 65 65A R65 66 67
Name
RD0/PSP0
RD1/PSP1
RD2/PSP2
RD3/PSP3
RD4/PSP4
RD5/PSP5
RD6/PSP6
RD7/PSP7
Legend: ST = Schmitt Trigger input, TTL = TTL input
Note 1: Buffer is a Schmitt Trigger when in I/O mode, and a TTL buffer when in Parallel Slave Port mode.
Address Name
08h
88h
89h
Legend: x = unknown, u = unchanged, - = unimplemented locations read as '0'. Shaded cells are not used by PORTD.
1997 Microchip Technology Inc.
PORTD and TRISD Register
PORTD
TRISD
TRISE
Bit#
bit0
bit1
bit2
bit3
bit4
bit5
bit6
bit7
PORTD FUNCTIONS
SUMMARY OF REGISTERS ASSOCIATED WITH PORTD
PORTD Data Direction Register
Bit 7
RD7
IBF
Bit 6
RD6
OBF
Buffer Type
ST/TTL
ST/TTL
ST/TTL
ST/TTL
ST/TTL
ST/TTL
ST/TTL
ST/TTL
IBOV
Bit 5
RD5
(1)
(1)
(1)
(1)
(1)
(1)
(1)
(1)
PSPMODE
Function
Input/output port pin or parallel slave port bit0
Input/output port pin or parallel slave port bit1
Input/output port pin or parallel slave port bit2
Input/output port pin or parallel slave port bit3
Input/output port pin or parallel slave port bit4
Input/output port pin or parallel slave port bit5
Input/output port pin or parallel slave port bit6
Input/output port pin or parallel slave port bit7
Bit 4
RD4
Bit 3
RD3
FIGURE 5-7:
Note 1: I/O pins have protection diodes to V
PORTE Data Direction Bits
Bit 2
RD2
Data
bus
WR
TRIS
WR
PORT
RD PORT
Bit 1
RD1
TRIS Latch
Data Latch
D
D
CK
CK
PORTD BLOCK DIAGRAM
(IN I/O PORT MODE)
RD TRIS
Q
Q
Bit 0
RD0
PIC16C6X
Q
xxxx xxxx
1111 1111
0000 -111
Value on:
EN
POR,
Schmitt
Trigger
input
buffer
BOR
EN
D
DS30234D-page 57
DD
other resets
Value on all
uuuu uuuu
1111 1111
0000 -111
and V
I/O pin
SS
(1)
.

Related parts for PIC16CR58A