Tod Cout Enable Registers - Mitsubishi Electric M32R Series User Manual

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

Advertisement

10

10.8.9 TOD Cout Enable Registers

TOD0 Count Enable Register (TOD0CEN)
D8
TOD00CEN TOD01CEN TOD02CEN TOD03CEN TOD04CEN TOD05CEN TOD06CEN TOD07CEN
D
Bit Name
8
TOD00CEN
(TOD0_0 count enable)
9
TOD01CEN
(TOD0_1 count enable)
10
TOD02CEN
(TOD0_2 count enable)
11
TOD03CEN
(TOD0_3 count enable)
12
TOD04CEN
(TOD0_4 count enable)
13
TOD05CEN
(TOD0_5 count enable)
14
TOD06CEN
(TOD0_6 count enable)
15
TOD07CEN
(TOD0_7 count enable)
The TOD0 Count Enable Register controls operation of TOD0 counters. To enable the counter in
software, enable the relevant TOD0 Enable Protect Register for write and set the count enable bit
by writing a 1. To stop the counter, enable the TOD0 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 TOD0 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-190
MULTIJUNCTION TIMERS
10.8 TOD (Output-related 16-bit Timer)
<Address: H'0080 07DF>
12
13
14
D15
<When reset : H'00>
R
W
Ver.0.10

Advertisement

Table of Contents
loading

Table of Contents