Motor de Búsqueda de Datasheet de Componentes Electrónicos
  Spanish  ▼
ALLDATASHEET.ES

X  

PIC17C752-08/CL Datasheet(PDF) 87 Page - Microchip Technology

No. de pieza PIC17C752-08/CL
Descripción Electrónicos  High-Performance 8-Bit CMOS EPROM Microcontrollers with 10-bit A/D
PDF  328 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Fabricante Electrónico  MICROCHIP [Microchip Technology]
Página de inicio  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC17C752-08/CL Datasheet(HTML) 87 Page - Microchip Technology

Back Button PIC17C752-08/CL Datasheet HTML 83Page - Microchip Technology PIC17C752-08/CL Datasheet HTML 84Page - Microchip Technology PIC17C752-08/CL Datasheet HTML 85Page - Microchip Technology PIC17C752-08/CL Datasheet HTML 86Page - Microchip Technology PIC17C752-08/CL Datasheet HTML 87Page - Microchip Technology PIC17C752-08/CL Datasheet HTML 88Page - Microchip Technology PIC17C752-08/CL Datasheet HTML 89Page - Microchip Technology PIC17C752-08/CL Datasheet HTML 90Page - Microchip Technology PIC17C752-08/CL Datasheet HTML 91Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 87 / 328 page
background image
© 1998 Microchip Technology Inc.
DS30289A-page 87
PIC17C7XX
10.8
PORTH and DDRH Registers
(PIC17C76X only)
PORTH is an 8-bit wide bi-directional port. The corre-
sponding data direction register is DDRH.
A '1' in
DDRH configures the corresponding port pin as an
input. A '0' in the DDRH register configures the corre-
sponding port pin as an output. Reading PORTH
reads the status of the pins, whereas writing to
PORTH will write to the respective port latch.
The upper four bits of PORTH are multiplexed with
4 channels of the 10-bit A/D converter.
The remaining bits of PORTH are general purpose I/O.
Upon reset RH7:RH4 is automatically configured as
analog inputs, and must be configured in software to
be a digital I/O.
EXAMPLE 10-8: INITIALIZING PORTH
MOVLB
8
; Select Bank 8
MOVLW
0x0E
; Configure PORTH as
MOVPF
ADCON1
; digital
CLRF
PORTH, F
; Initialize PORTH data
;
latches before
;
the data direction
;
register
MOVLW
0x03
; Value used to init
;
data direction
MOVWF
DDRH
; Set RH<1:0> as inputs
;
RH<7:2> as outputs
Figure 10-17: Block Diagram of RH7:RH4
Data bus
WR PORTH
WR DDRH
RD PORT
Data Latch
DDRH Latch
P
VSS
I/O pin
PCFG3:PCFG0
To other pads
Q
D
Q
CK
EN
QD
EN
N
ST
input
buffer
VDD
RD DDRH
To other pads
VAIN
CHS3:CHS0
Q
D
Q
CK
Note: I/O pins have protection diodes to VDD and VSS.



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


Datasheet Descarga

Go To PDF Page


Enlace URL



¿ALLDATASHEET es útil para Ud.?  [ DONATE ] 

Todo acerca de Alldatasheet   |   Publicidad   |   Contáctenos   |   Política de Privacidad   |   Enlace a la hoja de datos    |   Intercambio de Enlaces   |   Lista de Fabricantes
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