Motor de Búsqueda de Datasheet de Componentes Electrónicos
  Mexican  ▼
ALLDATASHEET.COM.MX

X  

UPD17708 Datasheet(PDF) 285 Page - NEC

No. de pieza UPD17708
Descripción Electrónicos  4-BIT SINGLE-CHIP MICROCONTROLLERS WITH DEDICATED HARDWARE FOR DIGITAL TUNING SYSTEM
PDF  356 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Fabricante Electrónico  NEC [NEC]
Página de inicio  http://www.nec.com/
Logo NEC - NEC

UPD17708 Datasheet(HTML) 285 Page - NEC

Back Button UPD17708 Datasheet HTML 281Page - NEC UPD17708 Datasheet HTML 282Page - NEC UPD17708 Datasheet HTML 283Page - NEC UPD17708 Datasheet HTML 284Page - NEC UPD17708 Datasheet HTML 285Page - NEC UPD17708 Datasheet HTML 286Page - NEC UPD17708 Datasheet HTML 287Page - NEC UPD17708 Datasheet HTML 288Page - NEC UPD17708 Datasheet HTML 289Page - NEC Next Button
Zoom Inzoom in Zoom Outzoom out
 285 / 356 page
background image
285
µPD17704, 17705, 17707, 17708, 17709
18.5 Using External Gate Counter
18.5.1 Program example of external gate counter
A program example of the external gate counter is shown below.
Example To use the P2A0/FCG0 pin as external gate input pin
INITFLG NOT IFCMD1, NOT IFCMD0, IFCCK1, NOT IFCCK0
; Selects external gate counter function and sets gate
time to 8 ms
INITFLG NOT FCGCH1, FCGCH0 ; Selects FCG0 pin as external gate input pin
SET1
IFCRES
; Resets counter
SET1
IFCSTRT
; Starts counting
LOOP:
SKF1
IFCGOSTT
; Detects opening or closing of gate
BR
READ
; Branches to READ: if gate is closed
Processing A
; Do not read data of IF counter with this processing A
BR
LOOP
READ:
GET
DBF, IFC
; Reads value of IF counter data register to data buffer
18.5.2 Error of external gate counter
The errors of the external gate counter include an internal frequency error and a count error. The following
paragraphs (1) and (2) describe each of these errors.
(1) Internal frequency error
The internal frequency of the external gate counter is created by dividing the 4.5-MHz clock. Therefore, if
the system clock is shifted from 4.5 MHz by “+x” ppm, the gate time is shifted by “–x” ppm.
(2) Count error
The external gate counter counts the frequency by the rising edge of the internal frequency.
If the internal frequency is low when the gate is opened (when the signal input to the pin rises), one excess
pulse is counted.
If the gate is closed (when the signal rises next time), the excess pulse is not counted due to the count level
of the internal frequency.
Therefore, the count error is “+1, –0”.



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