10
10-77
MULTIJUNCTION TIMERS
10.3 TOP (Output-Related 16-Bit Timer)
32180 Group User’s Manual (Rev.1.0)
10.3.7 TOP Correction Registers (TOP0CC–TOP10CC)
TOP0 Correction Register (TOP0CC)
<Address: H’0080 0246>
TOP1 Correction Register (TOP1CC)
<Address: H’0080 0256>
TOP2 Correction Register (TOP2CC)
<Address: H’0080 0266>
TOP3 Correction Register (TOP3CC)
<Address: H’0080 0276>
TOP4 Correction Register (TOP4CC)
<Address: H’0080 0286>
TOP5 Correction Register (TOP5CC)
<Address: H’0080 0296>
TOP6 Correction Register (TOP6CC)
<Address: H’0080 02A6>
TOP7 Correction Register (TOP7CC)
<Address: H’0080 02B6>
TOP8 Correction Register (TOP8CC)
<Address: H’0080 02C6>
TOP9 Correction Register (TOP9CC)
<Address: H’0080 02D6>
TOP10 Correction Register (TOP10CC)
<Address: H’0080 02E6>
b0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
b15
TOP0CC–TOP10CC
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
(Acceptable range of values: +32,767 to –32,768)
<After reset: Undefined>
b
Bit Name
Function
R
W
0–15
TOP0CC–TOP10CC
16-bit correction register value
R
W
Note: • This register must always be accessed in halfwords.
The TOP correction registers are used to correct the TOP counter value by adding or subtracting in the middle
of operation. To increase or reduce the counter value, write to this correction register a value by which the
counter value is to be increased or reduced from its initial set value. To add, write the value to be added to the
correction register directly as is. To subtract, write the 2’s complement of the value to be subtracted to the
correction register.
The counter is corrected synchronously with a clock pulse next to one at which the correction value was written
to the TOP correction register. If the counter is corrected this way, note that because one down count in that
clock period is canceled, the counter value actually is corrected by (correction register value + 1). For example,
if the initial counter value is 10 and the value 3 is written to the correction register when the counter has counted
down to 5, then the counter counts a total of 15 before it underflows.
Содержание M32R/ECU Series
Страница 17: ...12 This page is blank for reasons of layout...
Страница 18: ...CHAPTER 1 OVERVIEW 1 1 Outline of the 32180 Group 1 2 Block Diagram 1 3 Pin Functions 1 4 Pin Assignments...
Страница 712: ...CHAPTER 18 OSCILLATOR CIRCUIT 18 1 Oscillator Circuit 18 2 Clock Generator Circuit...
Страница 794: ...CHAPTER 22 TYPICAL CHARACTERISTICS...
Страница 795: ...22 22 2 32180 Group User s Manual Rev 1 0 TYPICAL CHARACTERISTICS To be written at a later time...
Страница 796: ...APPENDIX 1 MECHANICAL SPECIFICAITONS Appendix 1 1 Dimensional Outline Drawing...
Страница 798: ...APPENDIX 2 INSTRUCTION PROCESSING TIME Appendix 2 1 32180 Instruction Processing Time...
Страница 802: ...APPENDIX 3 PROCESSING OF UNUSED PINS Appendix 3 1 Example Processing of Unused Pins...