Mitsubishi Electric M32R Series User Manual page 393

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

Advertisement

10
TIO0-9 Count Enable Register (TIOCEN)
D0
1
2
D
Bit Name
0-5
No functions assigned
6
TIO9CEN (TIO9 count enable)
7
TIO8CEN (TIO8 count enable)
8
TIO7CEN (TIO7 count enable)
9
TIO6CEN (TIO6 count enable)
10
TIO5CEN (TIO5 count enable)
11
TIO4CEN (TIO4 count enable)
12
TIO3CEN (TIO3 count enable)
13
TIO2CEN (TIO2 count enable)
14
TIO1CEN (TIO1 count enable)
15
TIO0CEN (TIO0 count enable)
Note: This register must always be accessed in halfwords.
The TIO0-9 Count Enable Register controls operation of TIO counters. To enable the counter in
software, enable the relevant TIO0-9 Enable Protect Register for write and set the count enable
bit by writing a 1. To stop the counter, enable the TIO0-9 Enable Protect Register for write and
reset the count enable bit by writing a 0.
In all but continuous mode, 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 TIO0-9
Count Enable Register is the status that indicates the counter's operating status (active or idle).
3
4
5
6
TIO9 TIO8 TIO7 TIO6 TIO5 TIO4 TIO3 TIO2 TIO1 TIO0
CEN
CEN
10-123
MULTIJUNCTION TIMERS
10.4 TIO (Input/Output-related 16-bit Timer)
7
8
9
10
11
CEN
CEN
CEN
CEN
Function
0: Stops count
1: Enables count
<Address:H'0080 03BE>
12
13
14
D15
CEN
CEN
CEN
CEN
<When reset:H'0000>
R
0
Ver.0.10
W

Advertisement

Table of Contents
loading

Table of Contents