TIMER A
7.3 Timer mode
Timer A0 register (Addresses 4716, 4616)
Timer A5 register (Addresses C716, C616)
Timer A6 register (Addresses C916, C816)
Timer A7 register (Addresses CB16, CA16)
Timer A8 register (Addresses CD16, CC16)
Timer A9 register (Addresses CF16, CE16)
Timer A1 register (Addresses 4916, 4816)
Timer A2 register (Addresses 4B16, 4A16)
Timer A3 register (Addresses 4D16, 4C16)
Timer A4 register (Addresses 4F16, 4E16)
(b8)
b0 b7
(b15)
b7
b0
Bit
Function
Any value in the range from “000016” to “FFFF16” can be set.
At reset R/W
15 to 0
Undefined RW
Assuming that the set value = n, the counter divides the count source frequency by (n + 1).
When reading, the register indicates the counter value.
b7 b6 b5 b4 b3 b2 b1 b0
Timer Ai mode register (i = 0 to 4) (Addresses 5616 to 5A16)
Timer Ai mode register (i = 5 to 9) (Addresses D616 to DA16)
0
0 0
Bit
0
Bit name
Function
At reset R/W
b1 b0
0
0
0
RW
RW
RW
Operating mode select bits
0 0 : Timer mode
1
0 : No pulse output
2
Pulse output function select bit
Gate function select bits
(TAiOUT pin functions as a programmable I/O port
pin.)
1 : Pulse output
(TAiOUT pin functions as a pulse output pin.)
b4 b3
3
4
0
0
RW
RW
0 0 :
0 1 :
No gate function
(TAiIN pin functions as a programmable I/O
port pin.)
1 0 :
Gate function
(Counter is active only while TAiIN pin’s in-
put signal is at “L” level.)
Gate function
1 1 :
(Counter is active only while TAiIN pin’s in-
put signal is at “H” level.)
Fix this bit to “0” in timer mode.
5
6
7
0
0
0
RW
RW
RW
Count source select bits
See Table 7.2.3.
Fig. 7.3.1 Structures of timer Ai register and timer Ai mode register in timer mode
7905 Group User’s Manual Rev.1.0
7-12