Trigger - Renesas 7700 FAMILY User Manual

Mitsubishi 16-bit single-chip microcomputer
Table of Contents

Advertisement

5.5.3 Trigger

The counter is enabled for counting when the count start bit (address 40
counting when a trigger is generated after it has been enabled. 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 56
or "01
"; an external trigger is selected when the bits are "10
2
If a trigger is generated during counting, the reload register's contents are reloaded and the counter
continues counting. If generating a trigger during counting, make sure that a certain time which is equivalent
to one cycle of the timer's count source or more has passed between the previous generated trigger and
a new generated trigger.
(1) When selecting internal trigger
A trigger is generated when writing "1" to the one-shot start bit (address 42
the structure of the one-shot start register.
(2) When selecting external trigger
A trigger is generated at the falling of the TAi
is "0," or at its rising when bit 3 is "1."
When using an external trigger, set the port P5 and P6 direction registers' bits which correspond to
the TAi
IN
b7
b6
b5
b4
.
Fig. 5.5.4 Structure of one-shot start register
pins for the input mode.
b3
b2
b1
b0
One-shot start register (Address 42
Bit
0
Timer A0 one-shot start bit
1
Timer A1 one-shot start bit
Timer A2 one-shot start bit
2
Timer A3 one-shot start bit
3
Timer A4 one-shot start bit
4
7 to 5 Nothing is assigned.
" or "11
2
pin's input signal when bit 3 at addresses 56
IN
)
16
Bit name
1 : Start outputting one-shot pulse
The value is "0" at reading.
7751 Group User's Manual
TIMER A
5.5 One-shot pulse mode
) is set to "1." The counter starts
16
16
."
2
). Figure 5.5.4 shows
16
Functions
(valid when selecting internal
trigger.)
to 5A
) are "00
"
16
2
to 5A
16
16
RW
At reset
0
WO
WO
0
0
WO
WO
0
0
WO
Undefined
5–35

Advertisement

Table of Contents
loading

This manual is also suitable for:

7751 series

Table of Contents