upd78f0124hgba1-8et-a Renesas Electronics Corporation., upd78f0124hgba1-8et-a Datasheet - Page 138

no-image

upd78f0124hgba1-8et-a

Manufacturer Part Number
upd78f0124hgba1-8et-a
Description
8-bit Single-chip Microcontrollers
Manufacturer
Renesas Electronics Corporation.
Datasheet
138
TI000/P00
Cautions 1. Do not rewrite CR000 during TM00 operation.
Remark 0000H ≤ M < N ≤ FFFFH
f
f
X
X
/2
/2
f
X
2
8
Noise
eliminator
2. In the PPG output operation, change the pulse width (rewrite CR010) during TM00 operation
CR000 capture value
CR010 capture value
<1>
<2>
<3>
<4>
<5>
<6>
<7>
using the following procedure.
f
X
TM00 count value
Disable the timer output inversion operation by match of TM00 and CR010 (TOC004 = 0)
Disable the INTTM010 interrupt (TMMK010 = 1)
Rewrite CR010
Wait for 1 cycle of the TM00 count clock
Enable the timer output inversion operation by match of TM00 and CR010 (TOC004 = 1)
Clear the interrupt request flag of INTTM010 (TMIF010 = 0)
Enable the INTTM010 interrupt (TMMK010 = 0)
Count clock
TO00
CHAPTER 6 16-BIT TIMER/EVENT COUNTER 00
Figure 6-15. PPG Output Operation Timing
Figure 6-14. Configuration of PPG Output
N
Clear
0000H
t
Pulse width: (M + 1) × t
16-bit timer capture/compare
16-bit timer capture/compare
0001H
User’s Manual U16962EJ3V0UD
16-bit timer counter 00
register 000 (CR000)
register 010 (CR010)
1 cycle: (N + 1) × t
(TM00)
M − 1
M
N
M
N − 1
N
circuit
Clear
Clear
0000H 0001H
TO00/TI010/P01

Related parts for upd78f0124hgba1-8et-a