10
10-91
Ver.0.10
MULTIJUNCTION TIMERS
10.3 TOP (Output-related 16-bit Timer)
10.3.10 Operation in TOP Delayed Single-shot Output Mode (With Correction Function)
(1) Outline of TOP delayed single-shot output mode
In delayed single-shot output mode, the timer generates a pulse in width of (reload register set
value + 1) only once, with the output delayed by an amount of time equal to (counter set value +
1) and then stops without performing any operation.
When after setting the counter and reload register, the timer is enabled (by writing to the enable
bit in software or by external input), it starts counting down from the counter's set value
synchronously with the count clock. The first time the counter underflows, the reload register
value is loaded into the counter causing it to continue counting down, and the counter stops when
it underflows next time.
The F/F output waveform in delayed single-shot output mode is inverted (F/F output levels
change from low to high, or vice versa) when the counter underflows first time and next,
generating a single-shot pulse waveform in width of (reload register set value + 1) only once, with
the output delayed by an amount of time equal to (first set value of c 1). Also, an interrupt
can be generated when the counter underflows first time and next.
The valid count values are the (counter set value + 1) and (reload register set value + 1). The
diagram below shows timer operation as an example when the initial counter value = 4 and the
initial reload register value = 5.
Figure 10.3.15 Example of Counting in TOP Delayed Single-shot Output Mode
Enable
Reload
register
(4)
3
2
1
1
2
3
4
5
6
7
8
H'FFFF
5
Counter
Interrupt
Underflow
Count value =(4+1)+(5+1)=11
(Note 1)
F/F output
9
1
0
1
1
0
3
2
1
0
4
(5)
(Note 2)
H'FFFF
Underflow
Prescaler delay
Count clock
Note 1: What you actually see in the cycle immediately after enable is the previous counter value, and not 4.
Note 2: What you actually see in the cycle immediately after reload is H'FFFF (underflow value), and not 5.
Note 3: This diagram does not show detail timing information.
Summary of Contents for M32170F3VFP
Page 42: ...1 1 24 Ver 0 10 OVERVIEW 1 4 Pin Layout This is a blank page ...
Page 56: ...2 2 14 Ver 0 10 This is a blank page ...
Page 88: ...3 3 32 Ver 0 10 ADDRESS SPACE 3 7 Notes on Address Space This is a blank page ...
Page 270: ...9 9 40 Ver 0 10 DMAC 9 4 Precautions about the DMAC This is a blank page ...
Page 614: ...12 12 64 Ver 0 10 This is a blank page SERIAL I O 12 9 Precautions on Using UART Mode ...
Page 756: ...17 17 10 Ver 0 10 RAM BACKUP MODE 17 4 Exiting RAM Backup Mode Wakeup This is a blank page ...
Page 762: ...18 18 6 Ver 0 10 OSCILLATION CIRCUIT 18 2 Clock Generator Circuit This is a blank page ...
Page 831: ...CHAPTER 22 CHAPTER 22 TYPICAL CHARACTERISTICS 22 1 A D Conversion Characteristics ...
Page 833: ...Appendix 1 1 Dimensional Outline Drawing APPENDIX 1 APPENDIX 1 MECHANICAL SPECIFICATIONS ...
Page 841: ...Appendix 3 1 Precautions about Noise APPENDIX 3 APPENDIX 3 PRECAUTIONS ABOUT NOISE ...