Renesas M32R/ECU Series User Manual page 356

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

Advertisement

10
TIO Count Enable Register (TIOCEN)
b0
1
2
0
0
0
b
Bit Name
0–5
No function assigned. Fix to "0".
6
TIO9CEN (TIO9 count enable bit)
7
TIO8CEN (TIO8 count enable bit)
8
TIO7CEN (TIO7 count enable bit)
9
TIO6CEN (TIO6 count enable bit)
10
TIO5CEN (TIO5 count enable bit)
11
TIO4CEN (TIO4 count enable bit)
12
TIO3CEN (TIO3 count enable bit)
13
TIO2CEN (TIO2 count enable bit)
14
TIO1CEN (TIO1 count enable bit)
15
TIO0CEN (TIO0 count enable bit)
Note: • This register must always be accessed in halfwords
The TIO Count Enable Register controls operation of the TIO counters. To enable any TIO counter in software,
enable its corresponding enable protect bit for write and set the count enable bit by writing "1". To stop any TIO
counter, enable its corresponding enable protect bit for write and reset the count enable bit by writing "0".
In all but continuous output mode, when the counter stops due to occurrence of an underflow, the count enable
bit is automatically reset to "0". Therefore, the TIO Count Enable Register when accessed for read serves as a
status register indicating whether the counter is operating or idle.
TINn
Figure 10.4.5 Configuration of the TIO Enable Circuit
3
4
5
6
TIO9CEN TIO8CEN TIO7CEN TIO6CEN TIO5CEN TIO4CEN TIO3CEN TIO2CEN TIO1CEN TIO0CEN
0
0
0
0
TIOm external enable
(TIOmEEN or TIOmENS)
F/F
Input processing
selection
TINnS
Event bus
Dn
TIOm enable protect
(TIOmPRO)
F/F
WR
10.4 TIO (Input/Output-Related 16-Bit Timer)
7
8
9
10
0
0
0
0
Function
0: Stop count
1: Enable count
EN-ON
TIOm count enable
(TIOmCEN)
F/F
WR
10-113
MULTIJUNCTION TIMERS
<Address: H'0080 03BE>
11
12
13
14
0
0
0
0
<After reset: H'0000>
TIO enable control
32180 Group User's Manual (Rev.1.0)
b15
0
R
W
0
0
R
W

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents