upd78f0103hmca1-5a4-a Renesas Electronics Corporation., upd78f0103hmca1-5a4-a Datasheet - Page 147

no-image

upd78f0103hmca1-5a4-a

Manufacturer Part Number
upd78f0103hmca1-5a4-a
Description
8-bit Single-chip Microcontrollers
Manufacturer
Renesas Electronics Corporation.
Datasheet
7.4 Operations of 8-Bit Timer/Event Counter 50
7.4.1 Operation as interval timer
of the count value preset to 8-bit timer compare register 50 (CR50).
TM50 value cleared to 0 and an interrupt request signal (INTTM50) is generated.
(TCL50).
8-bit timer/event counter 50 operates as an interval timer that generates interrupt requests repeatedly at intervals
When the count value of 8-bit timer counter 50 (TM50) matches the value set to CR50, counting continues with the
The count clock of TM50 can be selected with bits 0 to 2 (TCL500 to TCL502) of timer clock selection register 50
<1> Set the registers.
<2> After TCE50 = 1 is set, the count operation starts.
<3> If the values of TM50 and CR50 match, INTTM50 is generated (TM50 is cleared to 00H).
<4> INTTM50 is generated repeatedly at the same interval.
Caution Do not write other values to CR50 during operation.
Remark Interval time = (N + 1) × t
Setting
TM50 count value
• TCL50:
• CR50:
• TMC50:
Set TCE50 to 0 to stop the count operation.
Count clock
INTTM50
N = 01H to FEH
TCE50
CR50
Select the count clock.
Compare value
Stop the count operation, select clear & start mode entered on a match of TM50 and CR50.
(TMC50 = 0000×××0B × = Don’t care)
Count start
00H
N
01H
t
Figure 7-7. Interval Timer Operation Timing (1/2)
CHAPTER 7 8-BIT TIMER/EVENT COUNTER 50
User’s Manual U16846EJ3V0UD
(a) Basic operation
N
Clear
00H
Interrupt acknowledged
N
01H
Interval time
N
Clear
00H
Interrupt acknowledged
N
01H
Interval time
N
N
147

Related parts for upd78f0103hmca1-5a4-a