TIMER A
7.6 Pulse width modulation (PWM) mode
7.6.2 Trigger
When a trigger is generated, the TAjOUT pin starts to output PWM pulses. An internal or an external trigger
can be selected as that trigger.
An internal trigger is selected when the trigger select bits (bits 4 and 3 at addresses 5616 to 5816, 5A16, DA16
are “00 ” or “01 ”; an external trigger is selected when these bits are “10 ” or “11 .”
)
2
2
2
2
A trigger generated during PWM pulse output is invalid, and it does not affect the pulse output operation.
(1) When selecting internal trigger
A trigger is generated when “1” is written to the count start bit (addresses 4016, 4116).
(2) When selecting external trigger
A trigger is generated at the falling edge of the TAjIN pin’s input signal when bit 3 at addresses
5616 to 5816, 5A16, DA16 is “0,” or at its rising edge when bit 3 is “1.” However, the trigger input is
acceptableonly when the count start bit is “1.”
When using an external trigger, set the port P2 and port P6 direction registers’ bits which correspond
to the TAjIN pins for the input mode.
7906 Group User’s Manual Rev.2.0
7-42