10
10-79
MULTIJUNCTION TIMERS
10.3 TOP (Output-Related 16-Bit Timer)
32180 Group User’s Manual (Rev.1.0)
TOP Count Enable Register (TOPCEN)
<Address: H’0080 02FE>
b0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
b15
TOP10
CEN
TOP9
CEN
TOP8
CEN
TOP7
CEN
TOP6
CEN
TOP5
CEN
TOP4
CEN
TOP3
CEN
TOP2
CEN
TOP1
CEN
TOP0
CEN
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
<After reset: H’0000>
b
Bit Name
Function
R
W
0–4
No function assigned. Fix to "0".
0
0
5
TOP10CEN (TOP10 count enable bit)
0: Stop counting
R
W
6
TOP9CEN (TOP9 count enable bit)
1: Enable counting
7
TOP8CEN (TOP8 count enable bit)
8
TOP7CEN (TOP7 count enable bit)
9
TOP6CEN (TOP6 count enable bit)
10
TOP5CEN (TOP5 count enable bit)
11
TOP4CEN (TOP4 count enable bit)
12
TOP3CEN (TOP3 count enable bit)
13
TOP2CEN (TOP2 count enable bit)
14
TOP1CEN (TOP1 count enable bit)
15
TOP0CEN (TOP0 count enable bit)
Note: • This register must always be accessed in halfwords.
The TOP Count Enable Register controls operation of TOP counters. To enable any TOP counter in software,
enable its corresponding enable protect bit for write and set the count enable bit by writing "1". To stop any TOP
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 TOP0-10 Count Enable Register when accessed for read serves
as a status register indicating whether the counter is operating or idle.
WR
Dn
TOPm enable protect
(TOPmPRO)
WR
EN-ON
TOPm external enable
(TOPmEEN)
TINnS
TOPm count enable
(TOPmCEN)
TOP enable control
Input processing
selection
F/F
F/F
F/F
Event bus
TINn
Figure 10.3.6 Configuration of the TOP Enable Circuit
Summary of Contents for M32R/ECU Series
Page 17: ...12 This page is blank for reasons of layout...
Page 712: ...CHAPTER 18 OSCILLATOR CIRCUIT 18 1 Oscillator Circuit 18 2 Clock Generator Circuit...
Page 794: ...CHAPTER 22 TYPICAL CHARACTERISTICS...
Page 796: ...APPENDIX 1 MECHANICAL SPECIFICAITONS Appendix 1 1 Dimensional Outline Drawing...
Page 798: ...APPENDIX 2 INSTRUCTION PROCESSING TIME Appendix 2 1 32180 Instruction Processing Time...
Page 802: ...APPENDIX 3 PROCESSING OF UNUSED PINS Appendix 3 1 Example Processing of Unused Pins...