công cụ tìm kiếm bảng dữ liệu linh kiện điện tử
  Vietnamese  ▼
ALLDATASHEET.VN

X  

PIC18F258TIPQTP bảng dữ liệu(PDF) 104 Page - Microchip Technology

tên linh kiện PIC18F258TIPQTP
Giải thích chi tiết về linh kiện  High Performance, 28/40-Pin Enhanced FLASH Microcontrollers with CAN
PDF  384 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  MICROCHIP [Microchip Technology]
Trang chủ  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC18F258TIPQTP bảng dữ liệu(HTML) 104 Page - Microchip Technology

Back Button PIC18F258TIPQTP Datasheet HTML 100Page - Microchip Technology PIC18F258TIPQTP Datasheet HTML 101Page - Microchip Technology PIC18F258TIPQTP Datasheet HTML 102Page - Microchip Technology PIC18F258TIPQTP Datasheet HTML 103Page - Microchip Technology PIC18F258TIPQTP Datasheet HTML 104Page - Microchip Technology PIC18F258TIPQTP Datasheet HTML 105Page - Microchip Technology PIC18F258TIPQTP Datasheet HTML 106Page - Microchip Technology PIC18F258TIPQTP Datasheet HTML 107Page - Microchip Technology PIC18F258TIPQTP Datasheet HTML 108Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 104 / 384 page
background image
PIC18FXX8
DS41159B-page 102
Preliminary
 2002 Microchip Technology Inc.
9.5
PORTE, TRISE and LATE
Registers
PORTE is a 3-bit wide, bi-directional port. PORTE has
three pins (RE0/AN5/RD, RE1/AN6/WR/C1OUT and
RE2/AN7/CS/C2OUT), which are individually config-
urable as inputs or outputs. These pins have Schmitt
Trigger input buffers.
Read-modify-write operations on the LATE register,
reads and writes the latched output value for PORTE.
The corresponding Data Direction register for the port
is TRISE. Setting a TRISE bit (= ‘1’) will make the cor-
responding PORTE pin an input (i.e., put the corre-
sponding output driver in a High-Impedance mode).
Clearing a TRISE bit (= ‘0’) will make the corresponding
PORTE pin an output (i.e., put the contents of the
output latch on the selected pin).
The TRISE register also controls the operation of the
Parallel Slave Port, through the control bits in the upper
half of the register. These are shown in Register 9-1.
When the Parallel Slave Port is active, the PORTE pins
function as its control inputs. For additional details,
refer to Section 10.0.
PORTE pins are also multiplexed with inputs for the
A/D converter and outputs for the analog comparators.
When selected as an analog input, these pins will read
as '0's. Direction bits TRISE<2:0> control the direction
of the RE pins, even when they are being used as ana-
log inputs. The user must make sure to keep the pins
configured as inputs when using them as analog
inputs.
EXAMPLE 9-5:
INITIALIZING PORTE
FIGURE 9-10:
PORTE BLOCK DIAGRAM
Note:
This
port
is
only
available
on
the
PIC18F448 and PIC18F458.
CLRF
PORTE
; Initialize PORTE by
; clearing output
; data latches
CLRF
LATE
; Alternate method
; to clear output
; data latches
MOVLW
03h
; Value used to
; initialize data
; direction
MOVWF
TRISE
; Set RE1:RE0 as inputs
; RE2 as an output
; (RE4=0 - PSPMODE Off)
Peripheral Out Select
Data Bus
WR LATE
WR TRISE
Data
Latch
TRIS Latch
RD TRISE
Q
D
Q
CK
QD
EN
Peripheral Data Out
0
1
Q
D
Q
CK
P
N
VDD
VSS
RD PORTE
Peripheral Data In
I/O pin(1)
or
WR PORTE
RD LATE
Schmitt
Trigger
Note
1: I/O pins have diode protection to VDD and VSS.
TRIS OVERRIDE
Pin
Override Peripheral
RE0
Yes
PSP
RE1
Yes
PSP
RE2
Yes
PSP
TRIS
Override
Peripheral Enable



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


bảng dữ liệu tải về

Go To PDF Page


Link URL



Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không?  [ DONATE ] 

Alldatasheet là   |   Quảng cáo   |   Liên lạc với chúng tôi   |   Chính sách bảo mật   |   Liên kết đến bảng dữ liệu    |   Trao đổi link   |   Tìm kiếm theo nhà sản xuất
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