upd78f0114hgb-8es-a Renesas Electronics Corporation., upd78f0114hgb-8es-a Datasheet - Page 192

no-image

upd78f0114hgb-8es-a

Manufacturer Part Number
upd78f0114hgb-8es-a
Description
8-bit Single-chip Microcontrollers
Manufacturer
Renesas Electronics Corporation.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
UPD78F0114HGB-8ES-A
Manufacturer:
PANASONIC
Quantity:
720
8.4.2 Operation as PWM output mode
during timer operation is prohibited.
during timer operation is possible.
CMP0n register match after the timer count is started. TOHn output becomes inactive when 8-bit timer counter Hn
and the CMP1n register match.
(1) Usage
192
TMHMDn
In PWM output mode, a pulse with an arbitrary duty and arbitrary cycle can be output.
8-bit timer compare register 0n (CMP0n) controls the cycle of timer output (TOHn). Rewriting the CMP0n register
8-bit timer compare register 1n (CMP1n) controls the duty of timer output (TOHn). Rewriting the CMP1n register
The operation in PWM output mode is as follows.
TOHn output becomes active and 8-bit timer counter Hn is cleared to 0 when 8-bit timer counter Hn and the
<1> Set each register.
In PWM output mode, a pulse for which an arbitrary duty and arbitrary cycle can be set is output.
(i) Setting timer H mode register n (TMHMDn)
(ii) Setting CMP0n register
(iii) Setting CMP1n register
TMHEn
0
Remarks 1. n = 0, 1
Compare value (N): Cycle setting
Compare value (M): Duty setting
CKSn2
0/1
2. 00H
CKSn1
Figure 8-11. Register Setting in PWM Output Mode
0/1
CMP1n (M) < CMP0n (N)
CHAPTER 8 8-BIT TIMERS H0 AND H1
CKSn0
0/1
User’s Manual U16961EJ4V0UD
TMMDn1
1
TMMDn0 TOLEVn
0
FFH
0/1
TOENn
1
Timer output enabled
Timer output level inversion setting
PWM output mode selection
Count clock (f
Count operation stopped
CNT
) selection

Related parts for upd78f0114hgb-8es-a