Tid Counters (Tid0Ct, Tid1Ct And Tid2Ct); Tid Reload Registers (Tid0Rl, Tid0Rl And Tid2Rl) - Renesas M32R/ECU Series User Manual

Mitsubishi 32-bit risc single-chip microcomputers
Table of Contents

Advertisement

10

10.7.4 TID Counters (TID0CT, TID1CT and TID2CT)

TID0 Counter (TID0CT)
TID1 Counter (TID1CT)
TID2 Counter (TID2CT)
b0
1
2
?
?
?
b
Bit Name
0–15
TID0CT, TID1CT, TID2CT
Note: • This register must always be accessed in halfwords.
The TID counters are a 16-bit up/down-counter. After the timer is enabled (by writing to the enable bit in soft-
ware), the counter starts counting synchronously with the count clock.
10.7.5 TID Reload Registers (TID0RL, TID1RL and TID2RL)
TID0 Reload Register (TID0RL)
TID1 Reload Register (TID1RL)
TID2 Reload Register (TID2RL)
b0
1
2
?
?
?
b
Bit Name
0–15
TID0RL,TID1RL,TID2RL
Note: • This register must always be accessed in halfwords.
The TID reload registers are used to reload data into the TID counter registers (TID0CT, TID1CT and TID2CT).
The content of the reload register is loaded into the counter in the following cases:
• When the counter is enabled in fixed period count mode
• When the counter has underflowed in fixed period count mode
Simply because data is written to the reload register does not mean that the data is loaded into the counter. The
counter is loaded with data in only the above cases.
3
4
5
6
TID0CT, TID1CT, TID2CT
?
?
?
?
3
4
5
6
TID0RL, TID1RL, TID2RL
?
?
?
?
MULTIJUNCTION TIMERS
10.7 TID (Input-Related 16-Bit Timer)
7
8
9
10
?
?
?
?
Function
16-bit counter value
7
8
9
10
?
?
?
?
Function
16-bit reload register value
10-144
<Address: H'0080 078C>
<Address: H'0080 0B8C>
<Address: H'0080 0C8C>
11
12
13
14
?
?
?
?
<After reset: Undefined>
<Address: H'0080 078E>
<Address: H'0080 0B8E>
<Address: H'0080 0C8E>
11
12
13
14
?
?
?
?
<After reset: Undefined>
32180 Group User's Manual (Rev.1.0)
b15
?
R
W
R
W
b15
?
R
W
R
W

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents