upd78f0730 Renesas Electronics Corporation., upd78f0730 Datasheet - Page 204

no-image

upd78f0730

Manufacturer Part Number
upd78f0730
Description
8-bit Single-chip Microcontroller
Manufacturer
Renesas Electronics Corporation.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
upd78f0730MC(S)-CAB-AX/JM
Manufacturer:
NEC
Quantity:
538
Part Number:
upd78f0730MC(S)-CAB-AX/JM
Manufacturer:
RENESAS
Quantity:
1 000
Part Number:
upd78f0730MC(S)-CAB-AX/JM
Manufacturer:
RENESAS/瑞萨
Quantity:
20 000
Part Number:
upd78f0730MC-CAB-AX
Manufacturer:
RENESAS/瑞萨
Quantity:
20 000
8.4.2 Operation as PWM output
during timer operation is prohibited.
during timer operation is possible.
CMP01 register match after the timer count is started. The TOH1 output level is inverted when 8-bit timer counter H1
and the CMP11 register match.
204
TMHMD1
In PWM output mode, a pulse with an arbitrary duty and arbitrary cycle can be output.
8-bit timer compare register 01 (CMP01) controls the cycle of timer output (TOH1). Rewriting the CMP01 register
8-bit timer compare register 11 (CMP11) controls the duty of timer output (TOH1). Rewriting the CMP11 register
The operation in PWM output mode is as follows.
The TOH1 output level is inverted and 8-bit timer counter H1 is cleared to 0 when 8-bit timer counter H1 and the
<1> Set each register.
<2> The count operation starts when TMHE1 = 1.
<3> The CMP01 register is the compare register that is to be compared first after counter operation is enabled.
<4> When 8-bit timer counter H1 and the CMP11 register match, TOH1 output is inverted and the compare
Setting
(i) Setting timer H mode register 1 (TMHMD1)
(ii) Setting CMP01 register
(iii) Setting CMP11 register
When the values of 8-bit timer counter H1 and the CMP01 register match, 8-bit timer counter H1 is cleared,
an interrupt request signal (INTTMH1) is generated, and TOH1 output is inverted. At the same time, the
compare register to be compared with 8-bit timer counter H1 is changed from the CMP01 register to the
CMP11 register.
register to be compared with 8-bit timer counter H1 is changed from the CMP11 register to the CMP01
register. At this time, 8-bit timer counter H1 is not cleared and the INTTMH1 signal is not generated.
TMHE1
• Compare value (N): Cycle setting
• Compare value (M): Duty setting
0
Remark 00H ≤ CMP11 (M) < CMP01 (N) ≤ FFH
CKS12
0/1
CKS11
Figure 8-9. Register Setting in PWM Output Mode
0/1
CKS10
Preliminary User’s Manual U19014EJ1V0UD
0/1
CHAPTER 8 8-BIT TIMER H1
TMMD11
1
TMMD10 TOLEV1
0
0/1
TOEN1
1
Timer output enabled
Default setting of timer output level
PWM output mode selection
Count clock (f
Count operation stopped
CNT
) selection

Related parts for upd78f0730