Renesas 7700 FAMILY User Manual page 472

Mitsubishi 16-bit single-chip microcomputer
Table of Contents

Advertisement

Event counter mode
(b15)
b7
b7
b6
b5
b4
b3
b2
0
(b8)
b0
b7
b1
b0
Timer Ai mode register (i = 0 to 4) (Addresses 56
0 1
Bit name
Bit
0
Operating mode select bits
1
2
Pulse output function select bit
Count polarity select bit
3
Up-down switching factor select
4
bit
Fix this bit to "0" in event counter mode.
5
6
These bits are ignored in event counter mode.
7
: It may be either "0" or "1."
7751 Group User's Manual
Appendix 3. Control registers
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 down-counting, or by FFFF
when up-counting.
When reading, the register indicates the
counter value.
16
b1 b0
0 1 : Event counter mode
0 : No pulse output (TAi
as a programmable I/O port.)
1 : Pulse output (TAi
as a pulse output pin.)
0 : Counts at falling edge of external signal
1 : Counts at rising edge of external signal
0 : Contents of up-down register
1 : Input signal to TAi
APPENDIX
, 46
)
16
16
, 48
)
16
16
, 4A
)
16
16
, 4C
)
16
16
, 4E
)
16
16
At reset
" to "FFFF
."
Undefined
16
16
– n + 1
16
to 5A
)
16
Functions
At reset
0
0
pin functions
0
OUT
pin functions
OUT
0
0
pin
OUT
0
0
0
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
20–21

Advertisement

Table of Contents
loading

This manual is also suitable for:

7751 series

Table of Contents