Os motores de busca de Datasheet de Componentes eletrônicos
  Portuguese  ▼
ALLDATASHEETPT.COM

X  

UPD17708 Folha de dados(PDF) 172 Page - Renesas Technology Corp

Nome de Peças UPD17708
Descrição Electrónicos  MOS INTEGRATED CIRCUIT
PDF  358 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Fabricante Electrônico  RENESAS [Renesas Technology Corp]
Página de início  http://www.renesas.com
Logo RENESAS - Renesas Technology Corp

UPD17708 Folha de dados(HTML) 172 Page - Renesas Technology Corp

Back Button UPD17708 Datasheet HTML 168Page - Renesas Technology Corp UPD17708 Datasheet HTML 169Page - Renesas Technology Corp UPD17708 Datasheet HTML 170Page - Renesas Technology Corp UPD17708 Datasheet HTML 171Page - Renesas Technology Corp UPD17708 Datasheet HTML 172Page - Renesas Technology Corp UPD17708 Datasheet HTML 173Page - Renesas Technology Corp UPD17708 Datasheet HTML 174Page - Renesas Technology Corp UPD17708 Datasheet HTML 175Page - Renesas Technology Corp UPD17708 Datasheet HTML 176Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 172 / 358 page
background image
µPD17704, 17705, 17707, 17708, 17709
170
(2) Gate counter mode
The gate counter mode is used to count the width of a pulse input to the TM0G pin.
An example of a program is shown below.
In this program example, the width of the pulse input to the TM0G pin is counted from the falling edge
to the falling edge.
If the pulse width is 800 to 1200
µs, processing C is executed; otherwise, processing B is executed.
If the pulse width is 2560
µs or more, processing D is executed.
TM0800
DAT
0050H
; Count data = 80
TM01200
DAT
0078H
; Count data = 120
START:
BR
INITIAL
; Reset address
; Interrupt vector address
NOP
; SIO1
NOP
; SIO0
NOP
; TM3
NOP
; TM2
NOP
; TM1
BR
INT_TM0
; TM0
NOP
; INT4
NOP
; INT3
NOP
; INT2
NOP
; INT1
NOP
; INT0
NOP
; Down edge of CE
INITIAL:
INITFLG
NOT TM0EN, TM0RES, NOT TM0CK1, NOT TM0CK0
;
(Stop)
, (Reset) ,
(Basic clock = 10
µs)
INITFLG
TM0GCEG ,
TM0GOEG ,
TM0MD
;
(Falling close), (Falling open), (Gate counter)
SET1
TM0EN
; START
SET1
IPTM0
; Enables timer 0 interrupt
EI
LOOP:
Processing A
BR
LOOP
INT_TM0:
PUT
DBFSTK, DBF
; Saves data buffer
GET
DBF, TM0C
INITFLG
TM0EN, TM0RES
SKT1
TM0OVF
; Detects overflow status (2560
µs or more?)
BR
AAA
Processing D
BR
EI_RETI
AAA:
SUB
DBF0, #TM0800 AND 0FH
SUBC
DBF1, #TM0800 SHR4 AND 0FH
SKF1
CY
; 800
µs or more?
BR
BBB
SUB
DBF0, #TM01200 AND 0FH



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


Folha de dados Download

Go To PDF Page


Ligação URL



ALLDATASHEET é útil para você?  [ DONATE ] 

Sobre Alldatasheet   |   Publicidade   |   Contato conosco   |   Privacy Policy   |   Link para a ficha técnica    |   roca de Link   |   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