DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

PIC16LC64-10E/TQ View Datasheet(PDF) - Microchip Technology

Part Name
Description
Manufacturer
PIC16LC64-10E/TQ
Microchip
Microchip Technology 
PIC16LC64-10E/TQ Datasheet PDF : 336 Pages
First Prev 51 52 53 54 55 56 57 58 59 60 Next Last
5.4 PORTD and TRISD Register
Applicable Devices
61 62 62A R62 63 R63 64 64A R64 65 65A R65 66 67
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.
PIC16C6X
FIGURE 5-7: PORTD BLOCK DIAGRAM
(IN I/O PORT MODE)
Data
bus
WR
PORT
D
Q
CK
I/O pin(1)
WR
TRIS
Data Latch
DQ
CK
TRIS Latch
Schmitt
Trigger
input
buffer
RD TRIS
Q
D
RD PORT
ENEN
Note 1: I/O pins have protection diodes to VDD and VSS.
TABLE 5-9: PORTD FUNCTIONS
Name
Bit#
RD0/PSP0
bit0
RD1/PSP1
bit1
RD2/PSP2
bit2
RD3/PSP3
bit3
RD4/PSP4
bit4
RD5/PSP5
bit5
RD6/PSP6
bit6
RD7/PSP7
bit7
Buffer Type
ST/TTL(1)
ST/TTL(1)
ST/TTL(1)
ST/TTL(1)
ST/TTL(1)
ST/TTL(1)
ST/TTL(1)
ST/TTL(1)
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
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.
TABLE 5-10: SUMMARY OF REGISTERS ASSOCIATED WITH PORTD
Address Name Bit 7 Bit 6 Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Value on:
POR,
BOR
Value on all
other resets
08h
PORTD RD7 RD6 RD5
RD4
RD3 RD2 RD1 RD0 xxxx xxxx uuuu uuuu
88h
TRISD PORTD Data Direction Register
1111 1111 1111 1111
89h
TRISE
IBF
OBF IBOV PSPMODE — PORTE Data Direction Bits
0000 -111 0000 -111
Legend: x = unknown, u = unchanged, - = unimplemented locations read as '0'. Shaded cells are not used by PORTD.
© 1997 Microchip Technology Inc.
DS30234D-page 57

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]