291
Chapter 10
Timer
Preliminary User’s Manual U15839EE1V0UM00
(5)
PWM output
Timer C has one timer output pin (TOC0).
An external pulse output (TOC0) can be generated when a match of the two compare registers
(CCC00 and CCC01) and the TMC0 register is detected.
If a match is detected when the TMC0 count value and the CCC00 value are compared, the output
level of the TOC0 pin is set.
Also, if a match is detected when the TMC0 count value and the CCC01 value are compared, the
output level of the TOC0 pin is reset.
The output level (set, reset) depends on the settings of the ALV and ENTO bits of the TMCC01
register.
Table 10-2:
TOC0 Output Control
Figure 10-15:
Timing of PWM output operation (overview)
ENTO
ALV
TOC0 Output
External Pulse Output
Output Level
0
0
Disable
High level
0
1
Disable
Low level
1
0
Enable
When the CCC00 register is matched: Low level
When the CCC01 register is matched: High level
1
1
Enable
When the CCC00 register is matched: High level
When the CCC01 register is matched: Low level
TMC0 count value
0
FFFFH
Count start
CE
1
Overflow
OVF
1
Overflow
OVF
1
CCC01
CCC00
FFFFH
CCC01
CCC00
CCC00
Interrupt request
(INTCCC00)
Interrupt request
(INTCCC01)
TOC00
ENT1
1
ALV
1
←
←
←
←
←
Summary of Contents for mPD703128
Page 6: ...6 Preliminary User s Manual U15839EE1V0UM00 ...
Page 20: ...20 Preliminary User s Manual U15839EE1V0UM00 ...
Page 32: ...32 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 154: ...154 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 238: ...238 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 356: ...356 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 522: ...522 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 600: ...600 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 610: ...610 Preliminary User s Manual U15839EE1V0UM00 ...
Page 612: ......