Renesas 7700 FAMILY User Manual page 91

Mitsubishi 16-bit single-chip microcomputer
Table of Contents

Advertisement

TIMER A
5.3 Timer mode
b7 b6 b5 b4 b3 b2 b1 b0
0
(b15)
b7
Fig. 5.3.1 Structures of timer Ai mode register and timer Ai register in timer mode
5–10
0
0
Timer Ai mode register (i = 0 to 4) (Addresses 56
Bit
Bit name
Operating mode select bits
0
1
2
Pulse output function select bit
Gate function select bits
3
4
5
Fix this bit to "0" in the timer mode.
Count source select bits
6
7
(b8)
b0 b7
7751 Group User's Manual
16
b1 b0
0 0 : Timer mode
0 : No pulse output
(TAi
pin functions as a programmable
OUT
I/O port.)
1 : Pulse output
(TAi
pin functions as a pulse output
OUT
pin.)
b4 b3
0 0 : No gate function
0 1 : (TAi
IN
rammable I/O port.)
1 0 : Gate function
(Counter counts only while TAi
pin's input signal is "L" level.)
1 1 : Gate function
(Counter counts only while TAi
pin's input signal is "H" level.)
b7 b6
0 0 : f
/f
2
4
0 1 : f
/f
16
32
1 0 : f
/f
64
128
1 1 : f
/f
512
1024
Timer A0 register (Addresses 47
b0
Timer A1 register (Addresses 49
Timer A2 register (Addresses 4B
Timer A3 register (Addresses 4D
Timer A4 register (Addresses 4F
Bit
Functions
15 to 0 These bits can be set to "0000
Assuming that the set value = n, the counter
divides the count source frequency by n + 1.
When reading, the register indicates the
counter value.
to 5A
)
16
Functions
At reset
pin functions as a prog-
IN
IN
, 46
)
16
16
, 48
)
16
16
, 4A
)
16
16
, 4C
)
16
16
, 4E
)
16
16
At reset
" to "FFFF
."
Undefined
16
16
RW
0
RW
0
RW
RW
0
0
RW
RW
0
0
RW
0
RW
RW
0
RW
RW

Advertisement

Table of Contents
loading

This manual is also suitable for:

7751 series

Table of Contents