NEC V850ES/KE1+ User Manual page 332

32-bit single-chip microcontrollers
Table of Contents

Advertisement

Designating the set value of the CMPn0 register as (N), the set value of the CMPn1 register as (M), and the
count clock frequency as f
Carrier clock output cycle = (N + M + 2)/f
Duty = High level width: Carrier clock output width = (M + 1) : (N + M + 2)
Cautions 1. Be sure to set the CMPn1 register when starting the timer count operation (TMHEn bit =
1) after the timer count operation was stopped (TMHEn bit = 0) (be sure to set again even
if setting the same value to the CMPn1 register).
2. Set the values of the CMPn0 and CMPn1 registers in the range of 01H to FFH.
3. In the carrier generator mode, three operating clocks (signal selected by the
TMHMDn.CKSHn0 to TMHMDn.CKSHn2 bits) are required for actual transfer of the new
value to the register after the CMPn1 register has been rewritten.
4. Be sure to perform the TMCYCn.RMCn bit setting before the start of the count operation.
5. When using the carrier generator mode, set the 8-bit timer Hn count clock frequency to
six times the 8-bit timer/event counter 5n count clock frequency or higher.
332
CHAPTER 9 8-BIT TIMER H
, the carrier clock output cycle and duty are as follows.
CNT
User's Manual U16896EJ2V0UD
CNT

Advertisement

Table of Contents
loading

This manual is also suitable for:

?pd70f3302?pd703302?pd70f3302y?pd703302y

Table of Contents