データシートサーチシステム
  Japanese  ▼
ALLDATASHEET.JP

X  

P16F877 データシート(PDF) 38 Page - Microchip Technology

部品番号 P16F877
部品情報  28/40-Pin 8-Bit CMOS FLASH Microcontrollers
PDF  218 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
メーカー  MICROCHIP [Microchip Technology]
ホームページ  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

P16F877 データシート(HTML) 38 Page - Microchip Technology

Back Button P16F877 Datasheet HTML 34Page - Microchip Technology P16F877 Datasheet HTML 35Page - Microchip Technology P16F877 Datasheet HTML 36Page - Microchip Technology P16F877 Datasheet HTML 37Page - Microchip Technology P16F877 Datasheet HTML 38Page - Microchip Technology P16F877 Datasheet HTML 39Page - Microchip Technology P16F877 Datasheet HTML 40Page - Microchip Technology P16F877 Datasheet HTML 41Page - Microchip Technology P16F877 Datasheet HTML 42Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 38 / 218 page
background image
PIC16F87X
DS30292C-page 36
 2001 Microchip Technology Inc.
3.5
PORTE and TRISE Register
PORTE and TRISE are not implemented on the
PIC16F873 or PIC16F876.
PORTE has three pins (RE0/RD/AN5, RE1/WR/AN6,
and RE2/CS/AN7) which are individually configureable
as inputs or outputs. These pins have Schmitt Trigger
input buffers.
The PORTE pins become the I/O control inputs for the
microprocessor port when bit PSPMODE (TRISE<4>) is
set. In this mode, the user must make certain that the
TRISE<2:0> bits are set, and that the pins are configured
as digital inputs. Also ensure that 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 for 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.
FIGURE 3-8:
PORTE BLOCK DIAGRAM
(IN I/O PORT MODE)
TABLE 3-9:
PORTE FUNCTIONS
TABLE 3-10:
SUMMARY OF REGISTERS ASSOCIATED WITH PORTE
Note:
On a Power-on Reset, these pins are con-
figured as analog inputs, and read as ‘0’.
Data
Bus
WR
Port
WR
TRIS
RD Port
Data Latch
TRIS Latch
RD
Schmitt
Trigger
Input
Buffer
Q
D
CK
Q
D
CK
EN
QD
EN
I/O pin(1)
Note 1: I/O pins have protection diodes to VDD and VSS.
TRIS
Name
Bit#
Buffer Type
Function
RE0/RD/AN5
bit0
ST/TTL(1)
I/O port pin or read control input in Parallel Slave Port mode or analog input:
RD
1
=Idle
0
= Read operation. Contents of PORTD register are output to PORTD
I/O pins (if chip selected)
RE1/WR/AN6
bit1
ST/TTL(1)
I/O port pin or write control input in Parallel Slave Port mode or analog input:
WR
1
=Idle
0
= Write operation. Value of PORTD I/O pins is latched into PORTD
register (if chip selected)
RE2/CS/AN7
bit2
ST/TTL(1)
I/O port pin or chip select control input in Parallel Slave Port mode or analog input:
CS
1
= Device is not selected
0
= Device is selected
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
09h
PORTE
RE2
RE1
RE0
---- -xxx
---- -uuu
89h
TRISE
IBF
OBF
IBOV
PSPMODE
PORTE Data Direction Bits
0000 -111
0000 -111
9Fh
ADCON1
ADFM
PCFG3
PCFG2
PCFG1
PCFG0
--0- 0000
--0- 0000
Legend: x = unknown, u = unchanged, - = unimplemented, read as ’0’. Shaded cells are not used by PORTE.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


データシート ダウンロード

Go To PDF Page


リンク URL



ALLDATASHEETはお客様のビジネスに役立ちますか?  [ DONATE ] 

Alldatasheetは   |   広告   |   お問い合わせ   |   プライバシーポリシー   |   データシートへのリンク    |   リンク交換   |   メーカーリスト
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com