Mitsubishi Electric M32R Series User Manual page 461

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

Advertisement

10
TOD1 Count Enable Register (TOD0CEN)
D8
TOD10CEN TOD11CEN TOD12CEN TOD13CEN TOD14CEN TOD15CEN TOD16CEN TOD17CEN
D
Bit Name
8
TOD10CEN
(TOD1_0 count enable)
9
TOD11CEN
(TOD1_1 count enable)
10
TOD12CEN
(TOD1_2 count enable)
11
TOD13CEN
(TOD1_3 count enable)
12
TOD14CEN
(TOD1_4 count enable)
13
TOD15CEN
(TOD1_5 count enable)
14
TOD16CEN
(TOD1_6 count enable)
15
TOD17CEN
(TOD1_7 count enable)
The TOD1 Count Enable Register controls operation of TOD1 counters. To enable the counter in
software, enable the relevant TOD1 Enable Protect Register for write and set the count enable bit
by writing a 1. To stop the counter, enable the TOD1 Enable Protect Register for write and reset the
count enable bit by writing a 0.
In single-shot output and delayed single-shot output modes, when the counter stops due to an
occurrence of underflow, the count enable bit is automatically reset to 0. Therefore, what you get by
reading the TOD1 Count Enable Register is the status that indicates the counter's operating status
(active or idle).
9
10
11
Function
0 : Stops count
1 :Enables count
10-191
MULTIJUNCTION TIMERS
10.8 TOD (Output-related 16-bit Timer)
<Address: H'0080 0BDF>
12
13
14
D15
<When reset : H'00>
R
W
Ver.0.10

Advertisement

Table of Contents
loading

Table of Contents