Tom Count Enable Registers - Mitsubishi 32172 User Manual

M32r series
Table of Contents

Advertisement

10

10.6.11 TOM Count Enable Registers

TOM0 Count Enable Register (TOM0CEN)
D8
TOM00CEN TOM01CEN TOM02CEN TOM03CEN TOM04CEN TOM05CEN TOM06CEN TOM07CEN
D
Bit Name
8
TOM00CEN
(TOM0_0 count enable)
9
TOM01CEN
(TOM0_1 count enable)
10
TOM02CEN
(TOM0_2 count enable)
11
TOM03CEN
(TOM0_3 count enable)
12
TOM04CEN
(TOM0_4 count enable)
13
TOM05CEN
(TOM0_5 count enable)
14
TOM06CEN
(TOM0_6 count enable)
15
TOM07CEN
(TOM0_7 count enable)
The TOM0 Count Enable Register controls operation of the TOM0 counters. To enable any counter
in software, enable the corresponding TOM0 Enable Protect Register for write and set the count
enable bit to 1.
To stop the counter, enable the TOM0 Enable Protect Register for write and set the count enable bit
to 0.
In single-shot output and single-shot PWM output modes, the count enable bit is automatically
reset to 0 when the counter stops after reaching the minimum count. Therefore, the TOM0 Count
Enable Register when read serves as a status register, indicating the operating status of the
counter (operating or idle).
9
10
11
Function
0: Stops counting
1: Enables counting
10-98
INPUT/OUTPUT TIMERS
10.6 TOM (Output Related 16-bit Timers)
<Address: H'0080 0CDF>
12
13
14
D15
<When reset: H'00>
R
W
Rev.1.0

Advertisement

Table of Contents
loading

This manual is also suitable for:

32173

Table of Contents