M30622MA-XXXFP RENESAS [Renesas Technology Corp], M30622MA-XXXFP Datasheet - Page 295

no-image

M30622MA-XXXFP

Manufacturer Part Number
M30622MA-XXXFP
Description
16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
Timer A
280
2.2 Timer A
2.2.1 Overview
The following is an overview for timer A, a 16-bit timer.
(1) Mode
Timer A operates in one of the four modes:
(a) Timer mode
(b) Event counter mode
(c) One-shot timer mode
(d) Pulse width modulation (PWM) mode
• Timer mode operation .............................................................................................................. P286
• Timer mode, gate function operation ........................................................................................ P288
• Timer mode, pulse output function operation ........................................................................... P290
• Event counter mode operation ................................................................................................. P292
• Event counter mode, free run type operation ........................................................................... P294
• Operation of the 2-phase pulse signal processing function in normal event counter mode ..... P296
• Operation of the 2-phase pulse signal processing function in 4-multiplication mode ............... P298
• Operation in one-shot timer mode effected by software ........................................................... P300
• Operation in one-shot timer mode effected by an external trigger ........................................... P302
• 16-bit PWM mode operation ..................................................................................................... P304
• 8-bit PWM mode operation ....................................................................................................... P306
In this mode, the internal count source is counted. Two functions can be selected: the pulse output
function that reverses output from a port every time an overflow occurs, or the gate function which
controls the count start/stop according to the input signal from a port.
This mode counts the pulses from the outside and the number of overflows in other timers. The free-
run type, in which nothing is reloaded from the reload register, can be selected when an underflow
occurs. The pulse output function can also be selected. Please refer to the timer mode explanation
for details, as the operation is identical.
Furthermore, Timer A has a 2-phase pulse signal processing function which generates an up count
or down count in the event counter mode, depending on the phase of the two input signals.
In this mode, the timer is started by the trigger and stops when the timer goes to “0”. The trigger can
be selected from the following 3 types: an external input signal, an overflow of the timer, or a software
trigger. The pulse output function can also be selected. Please refer to the timer mode explanation
for details, as the operation is identical.
In this mode, the arbitrary pulses are successively output. Either a 16-bit fixed-period PWM mode or
8-bit variable-period mode can be selected. The trigger for initiating output can also be selected.
Please refer to the one-shot timer mode explanation for details, as the operation is identical.
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Mitsubishi microcomputers
M16C / 62 Group

Related parts for M30622MA-XXXFP