Renesas 7700 FAMILY User Manual page 98

Mitsubishi 16-bit single-chip microcomputer
Table of Contents

Advertisement

(2) Pulse output function
The pulse output function is selected by setting the pulse output function select bit (bit 2 at addresses
56
to 5A
) to "1." When this function is selected, the TAi
16
16
pin regardless of the corresponding bits of the port P5 and port P6 direction registers. The TAi
outputs pulses of which polarity is inverted each time the counter underflows.
When the count start bit (address 40
5.3.6 shows an example of operation selecting the pulse output function.
n = Reload register's contents
FFFF
16
n
0000
16
Count start bit
"1"
"0"
"H"
Pulse output from
TAiout pin
"L"
Timer Ai interrupt
"1"
request bit
"0"
Fig. 5.3.6 Example of operation selecting pulse output function
16
Starts counting.
Set to "1" by software.
Cleared to "0" when interrupt request is accepted or cleared by software.
7751 Group User's Manual
OUT
) is "0" (count stopped), the TAi
Cleared to "0" by software.
TIMER A
5.3 Timer mode
pin is forcibly set for the pulse output
pin outputs "L" level. Figure
OUT
Starts counting.
Restarts
counting.
Set to "1" by software.
pin
OUT
Time
5–17

Advertisement

Table of Contents
loading

This manual is also suitable for:

7751 series

Table of Contents