UPD78F0988AGC-8BS Renesas Electronics America, UPD78F0988AGC-8BS Datasheet - Page 159

no-image

UPD78F0988AGC-8BS

Manufacturer Part Number
UPD78F0988AGC-8BS
Description
Manufacturer
Renesas Electronics America
Datasheet

Specifications of UPD78F0988AGC-8BS

Lead Free Status / Rohs Status
Supplier Unconfirmed
Count clock
INTTM50
7.5.5 Interval timer (16-bit) operation
TCE50
TCE51
TM50
TM51
CR50
CR51
TO50
(1) Cascade (16-bit timer) mode (TM50 and TM51)
<Setting>
The 16-bit resolution timer/event counter mode is set by setting bit 4 (TMC514) of 8-bit timer mode control
register 51 (TMC51) to 1.
In this mode, TM50 and TM51 operate as a 16-bit interval timer that repeatedly generates an interrupt request
at intervals specified by the count value preset to 8-bit compare registers 50 and 51 (CR50 and CR51).
<1> Set each register.
<2> By setting TCE51 to 1 for TMC51 first, and then setting TCE50 to 1 for TMC50, the count operation is
<3> When the value of TM50 connected in cascade matches the value of CR50, TM50 generates INTTM50
<4> After that, INTTM50 is repeatedly generated at the same interval.
Cautions 1. Be sure to set the compare registers (CR50 and CR51) after stopping the timer operation.
Figure 7-16 shows an example of the timing in the 16-bit resolution cascade mode.
00H
00H
Operation enabled
Counting starts
• TCL50:
• CR50 and CR51:
• TMC50 and TMC51: Select the mode that clears and starts the timer on a match between TM50 and
started.
(TM50 and TM51 are cleared to 00H).
01H
2. Even if the timers are connected in cascade, TM51 generates INTTM51 when the count
3. Set TCE50 and TCE51 in the order of TM51, then TM50.
4. Counting can be started or stopped by setting (1) or clearing (0) only TCE50 of TM50.
Figure 7-16. 16-Bit Resolution Cascade Mode (with TM50 and TM51)
value of TM51 matches the value of CR51. Be sure to mask TM51 to disable it from
generating an interrupt.
M
N
N
N + 1
CHAPTER 7 8-BIT TIMER/EVENT COUNTER
TM50 selects a count clock.
TM51, which is connected in cascade, does not have to be set.
Compare values (each compare value can be set in the range of 00H to FFH).
CR50 (TM51 and CR51).
FFH
User’s Manual U13029EJ7V1UD
TM50
TM51
00H
01H
Interval time
TMC50 = 0000
TMC51 = 0001
FFH
00H
02H
M – 1
FFH
0B
0B
00H
M
: don’t care
: don’t care
01H
N
Interrupt request generated
Level inverted
Counter cleared
00H
00H
01H
A
B
157
Operation stops
00H
00H

Related parts for UPD78F0988AGC-8BS