PIC16F87XA
DS39582B-page 48
2003 Microchip Technology Inc.
4.4
PORTD and TRISD Registers
PORTD is an 8-bit port with Schmitt Trigger input
buffers. Each pin is individually configurable as an input
or output.
PORTD
can
be
configured
as
an
8-bit
wide
microprocessor port (Parallel Slave Port) by setting
control bit, PSPMODE (TRISE<4>). In this mode, the
input buffers are TTL.
FIGURE 4-8:
PORTD BLOCK DIAGRAM
(IN I/O PORT MODE)
TABLE 4-7:
PORTD FUNCTIONS
TABLE 4-8:
SUMMARY OF REGISTERS ASSOCIATED WITH PORTD
Note:
PORTD and TRISD are not implemented
on the 28-pin devices.
Data
Bus
WR
Port
WR
TRIS
RD Port
Data Latch
TRIS Latch
RD
Schmitt
Trigger
Input
Buffer
I/O pin(1)
Note 1: I/O pins have protection diodes to VDD and VSS.
Q
D
CK
Q
D
CK
EN
QD
EN
TRIS
Name
Bit#
Buffer Type
Function
RD0/PSP0
bit 0
ST/TTL(1)
Input/output port pin or Parallel Slave Port bit 0.
RD1/PSP1
bit 1
ST/TTL(1)
Input/output port pin or Parallel Slave Port bit 1.
RD2/PSP2
bit2
ST/TTL(1)
Input/output port pin or Parallel Slave Port bit 2.
RD3/PSP3
bit 3
ST/TTL(1)
Input/output port pin or Parallel Slave Port bit 3.
RD4/PSP4
bit 4
ST/TTL(1)
Input/output port pin or Parallel Slave Port bit 4.
RD5/PSP5
bit 5
ST/TTL(1)
Input/output port pin or Parallel Slave Port bit 5.
RD6/PSP6
bit 6
ST/TTL(1)
Input/output port pin or Parallel Slave Port bit 6.
RD7/PSP7
bit 7
ST/TTL(1)
Input/output port pin or Parallel Slave Port bit 7.
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.
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, read as ‘0’. Shaded cells are not used by PORTD.
相关PDF资料
MP2-HS240-51 CONN SHROUD 2-FB 240POS 5ROW
DSPIC33FJ64MC506-I/PT IC DSPIC MCU/DSP 64K 64TQFP
DSPIC33FJ128MC802-I/SO IC DSPIC MCU/DSP 128K 28SOIC
PIC18LF4331-I/P IC PIC MCU FLASH 4KX16 40DIP
DSPIC33FJ128GP306-I/PT IC DSPIC MCU/DSP 128K 64TQFP
PIC24HJ128GP306-I/PT IC PIC MCU FLASH 128KB 64TQFP
PIC16F873-20/SO IC MCU FLASH 4KX14 EE 28SOIC
PIC18F4431-I/P IC PIC MCU FLASH 8KX16 40DIP
相关代理商/技术参数
PIC16F877A-I/P 制造商:Microchip Technology Inc 功能描述:IC 8BIT FLASH MCU 16F877 DIP40
PIC16F877A-I/PG 功能描述:8位微控制器 -MCU 14KB 368 RAM 33 I/O RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC16F877A-I/PT 功能描述:8位微控制器 -MCU 14KB 368 RAM 33 I/O RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC16F877A-I/PT 制造商:Microchip Technology Inc 功能描述:8BIT FLASH MCU SMD 16F877 TQFP44
PIC16F877A-I/PTG 功能描述:8位微控制器 -MCU 14KB 368 RAM 33 I/O RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC16F877AIL 制造商:Microchip Technology Inc 功能描述:
PIC16F877AIP 制造商:Microchip Technology Inc 功能描述:
PIC16F877AIPT 制造商:Microchip Technology Inc 功能描述: