M-V850E-IA4 Renesas Electronics America, M-V850E-IA4 Datasheet - Page 359

no-image

M-V850E-IA4

Manufacturer Part Number
M-V850E-IA4
Description
KIT EVAL V850E IA4 UPD70F3186
Manufacturer
Renesas Electronics America
Datasheets

Specifications of M-V850E-IA4

Lead Free Status / RoHS Status
Lead free / RoHS Compliant
CHAPTER 7 16-BIT TIMER/EVENT COUNTER Q (TMQ)
To transfer data from the TQ0CCRa register to the CCRa buffer register, the TQ0CCR1 register must be
written.
To change both the cycle and active level of the PWM waveform at this time, first set the cycle to the
TQ0CCR0 register, set the active level width to the TQ0CCR2 and TQ0CCR3 registers, and then set an
active level width to the TQ0CCR1 register.
To change only the cycle of the PWM waveform, first set a cycle to the TQ0CCR0 register, and then write
the same value (same as preset value of the TQ0CCR1 register) to the TQ0CCR1 register.
To change only the active level width (duty factor) of PWM wave, first set the active level to the TQ0CCR2
and TQ0CCR3 registers, and then set an active level to the TQ0CCR1 register.
To change only the active level width (duty factor) of the PWM waveform output by the TOQ01 pin, only the
TQ0CCR1 register has to be set.
To change only the active level width (duty factor) of the PWM waveform output by the TOQ02 and TOQ03
pins, first set an active level width to the TQ0CCR2 and TQ0CCR3 registers, and then write the same
value (same as preset value of the TQ0CCR1 register) to the TQ0CCR1 register.
After the TQ0CCR1 register is written, the value written to the TQ0CCRa register is transferred to the
CCRa buffer register in synchronization with the timing of clearing the 16-bit counter, and is used as a
value to be compared with the value of the 16-bit counter.
To write the TQ0CCR0 to TQ0CCR3 registers again after writing the TQ0CCR1 register once, do so after
the INTTQ0CC0 signal is generated. Otherwise, the value of the CCRa buffer register may become
undefined because the timing of transferring data from the TQ0CCRa register to the CCRa buffer register
conflicts with writing the TQ0CCRa register.
Remark
a = 0 to 3
357
User’s Manual U16543EJ4V0UD

Related parts for M-V850E-IA4