PIC16F87X Datasheet

  • PIC16F87X

  • 28/40-pin 8-Bit CMOS FLASH Microcontrollers

  • 1377.31KB

  • Microchip

扫码查看芯片数据手册

上传产品规格书

PDF预览

PIC16F87X
3.5
PORTE and TRISE Register
FIGURE 3-8:
Data
Bus
WR
PORT
This section is not applicable to the PIC16F873 or
PIC16F876.
PORTE has three pins, RE0/RD/AN5, RE1/WR/AN6
and RE2/CS/AN7, which are individually configurable
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). Ensure ADCON1 is configured for digital I/O. In
this mode, the input buffers are TTL.
Register 3-1 shows the TRISE register, which also con-
trols the parallel slave port operation.
PORTE pins are multiplexed with analog inputs. When
selected as an analog input, these pins will read as 鈥?鈥檚.
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.
Note:
On a Power-on Reset, these pins are con-
figured as analog inputs.
PORTE BLOCK DIAGRAM (IN
I/O PORT MODE)
D
Q
I/O pin
(1)
CK
Data Latch
D
WR
TRIS
Q
Schmitt
Trigger
input
buffer
CK
TRIS Latch
RD TRIS
Q
D
EN
EN
RD PORT
Note 1:
I/O pins have protection diodes to V
DD
and V
SS
.
REGISTER 3-1: TRISE REGISTER (ADDRESS 89h)
R-0
IBF
bit7
R-0
OBF
R/W-0
IBOV
R/W-0
PSPMODE
U-0
鈥?/div>
R/W-1
bit2
R/W-1
bit1
R/W-1
bit0
bit0
R = Readable bit
W = Writable bit
U = Unimplemented bit,
read as 鈥?鈥?/div>
- n= Value at POR reset
Parallel Slave Port Status/Control Bits
bit 7 :
IBF:
Input Buffer Full Status bit
1
= A word has been received and is waiting to be read by the CPU
0
= No word has been received
OBF:
Output Buffer Full Status bit
1
= The output buffer still holds a previously written word
0
= The output buffer has been read
IBOV:
Input Buffer Overflow Detect bit (in microprocessor mode)
1
= A write occurred when a previously input word has not been read (must be cleared in software)
0
= No overflow occurred
PSPMODE:
Parallel Slave Port Mode Select bit
1
= Parallel slave port mode
0
= General purpose I/O mode
Unimplemented:
Read as 鈥?鈥?/div>
bit 6:
bit 5:
bit 4:
bit 3:
bit 2:
PORTE Data Direction Bits
Bit2:
Direction Control bit for pin RE2/CS/AN7
1
= Input
0
= Output
Bit1:
Direction Control bit for pin RE1/WR/AN6
1
= Input
0
= Output
Bit0:
Direction Control bit for pin RE0/RD/AN5
1
= Input
0
= Output
bit 1:
bit 0:
DS30292B-page 36
1999 Microchip Technology Inc.

PIC16F87X相关型号PDF文件下载

  • 型号
    版本
    描述
    厂商
    下载
  • 英文版
    8-Pin FLASH-Based 8-Bit CMOS Microcontrollers
    MICROCHIP
  • 英文版
    8-Pin, 8-Bit CMOS Microcontroller with EEPROM Data Memory
    MICROCHIP ...
  • 英文版
    8-Pin, 8-Bit CMOS Microcontroller with A/D Converter and EEP...
    MICROCHIP ...
  • 英文版
    8-Pin, 8-Bit CMOS Microcontrollers
    MICROCHIP ...
  • 英文版
    EPROM Memory Programming Specification
    MICROCHIP ...
  • 英文版
    8-Pin FLASH-Based 8-Bit CMOS Microcontrollers
    MICROCHIP ...
  • 英文版
    Microcontroller
    MICROCHIP
  • 英文版
    Microcontroller 
    Microchip
  • 英文版
    Microcontroller
    ETC
  • 英文版
    EPROM-Based 8-Bit CMOS Microcontroller
    MICROCHIP
  • 英文版
    8-Pin, 8-Bit CMOS Microcontrollers
    MICROCHIP
  • 英文版
    8-Pin, 8-Bit CMOS Microcontrollers
    MICROCHIP ...
  • 英文版
    ETC
  • 英文版
    EPROM Memory Programming Specification
    MICROCHIP
  • 英文版
    EPROM Memory Programming Specification
    MICROCHIP ...
  • 英文版
    28-Pin Programmable Mixed Signal Controller
    Microchip
  • 英文版
    EPROM Memory Programming Specification
    Microchip
  • 英文版
    Microcontroller
    ETC
  • 英文版
    Microcontroller
    ETC
  • 英文版
    EPROM/ROM-Based 8-Bit CMOS Microcontroller Series
    MICROCHIP

扫码下载APP,
一键连接广大的电子世界。

在线人工客服

买家服务:
卖家服务:

0571-85317607

客服在线时间周一至周五
9:00-17:30

关注官方微信号,
第一时间获取资讯。

建议反馈

联系人:

联系方式:

按住滑块,拖拽到最右边
>>
感谢您向阿库提出的宝贵意见,您的参与是维库提升服务的动力!意见一经采纳,将有感恩红包奉上哦!