Electronic Components Datasheet Search
  English  ▼

X  

UPD78C18 Datasheet(PDF) 31 Page - NEC

Part # UPD78C18
Description  8-BIT SINGLE-CHIP MICROCONTROLLER WITH A/D CONVERTER
PDF  110 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  NEC [NEC]
Direct Link  http://www.nec.com/
Logo NEC - NEC

UPD78C18 Datasheet(HTML) 31 Page - NEC

Back Button UPD78C18 Datasheet HTML 27Page - NEC UPD78C18 Datasheet HTML 28Page - NEC UPD78C18 Datasheet HTML 29Page - NEC UPD78C18 Datasheet HTML 30Page - NEC UPD78C18 Datasheet HTML 31Page - NEC UPD78C18 Datasheet HTML 32Page - NEC UPD78C18 Datasheet HTML 33Page - NEC UPD78C18 Datasheet HTML 34Page - NEC UPD78C18 Datasheet HTML 35Page - NEC Next Button
Zoom Inzoom in Zoom Outzoom out
 31 / 110 page
background image
31
µPD78C17,78C18
2.6
TIMER
This is an interval timer which has two 8-bit timers (TIMER0, TIMER1). These are programmable indepen-
dently. By cascading these can also be used as 16-bit interval timer, and can be used for counting TI input.
The timer is composed of TIMER0 and TIMER1, as shown in 2-15, including 8-bit TIMER REG (TM0, TM1), 8-
bit COMPARATOR, 8-bit UPCOUNTER, and TIMER F/F. Input selection, timer operation and TO output are
controlled by the timer mode register (TMM).
In TIMER0,
φ12 (1
µs: 12-MHz operation) and φ384 (32 µs: 12-MHz operation) internal clock and TI input are
input. In TIMER1, not only these inputs but also TIMER0 match signal are input.
Because TIMER0 operates in the same way as TIMER1, TIMER0 operation is described below.
At first, a count value is set in TIMER REG0, and TIMER0 input and TIMER0 start data (bit 4 in the timer
mode register = “0”) are set in the timer mode register to start TIMER0. The UPCOUNTER is incremented one
input at a time. The COMPARATOR always compares contents of the incremented UPCOUNTER with those of
TIMER REG0, and if these match, the match signal (internal interrupt: INTT0) is generated. This match clears
contents of UPCOUNTER and increment starts again from 00H. Therefore, the interval is set by count time,
which is a count value set by TIMER REG0. This allows the timer to operate as an interval timer which gener-
ates interrupts repeatedly.
By setting (1) bit 1 (MKT0) of the interrupt mask register (MKL), internal interrupt (INTT0) is disabled.
The TO output has timers COMPARATOR match signal and TIMER F/F complemented by
φ3 (250 ns: 12-MHz
operation) internal clocks, and can obtain a square wave which has a half period of the count time or
φ3. By
setting the timer/event counter mode register (ETMM), this output can be used for the timer event counter
reference time.
By setting the serial mode register (SMH), the timer can be used as the serial clock (SCK) in serial interface.



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 Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
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