Epson S1C17624 Technical Manual page 153

Cmos 16-bit single chip microcontroller
Table of Contents

Advertisement

13 16-BiT PWM TiMeRS (T16a2)
PWM waveform output timings
normal clock mode (hCM = 0)
Count clock
T16A_TCx
TOUTAx/TOUTBx
T16A_CCAx
Example: HCM = 0, T16A_CCAx = 1, and T16A_CCBx = 5
Count clock
T16A_TCx
TOUTAx/TOUTBx
Figure 13.
half clock mode (hCM = 1)
Count clock
T16A_TCx
Dual-edge counter
TOUTAx/TOUTBx
T16A_CCAx
Example: HCM = 1, T16A_CCAx = 1, and T16A_CCBx = 5
Count clock
T16A_TCx
Dual-edge counter
TOUTAx/TOUTBx
Figure 13.
13.7
T16a2 interrupts
The T16A2 module can generate the following six kinds of interrupts:
• Compare A interrupt (in comparator mode)
• Compare B interrupt (in comparator mode)
• Capture A interrupt (in capture mode)
• Capture B interrupt (in capture mode)
• Capture A overwrite interrupt (in capture mode)
• Capture B overwrite interrupt (in capture mode)
Each timer channel outputs a single interrupt signal shared by the above interrupt causes to the interrupt controller
(ITC). Read the interrupt flags in the T16A2 module to identify the interrupt cause that has been occurred.
13-10
(When TOUTAMD[1:0] = TOUTBMD[1:0] = 0x1 and TOUTAINV = TOUTBINV = 0)
n
0
1
0
(When TOUTAMD[1:0] = TOUTBMD[1:0] = 0x1 and TOUTAINV = TOUTBINV = 0)
5
0
1
6.3 PWM Waveform Output Timings in Normal Clock Mode
(When TOUTAMD[1:0] = TOUTBMD[1:0] = 0x1 and TOUTAINV = TOUTBINV = 0)
n
0
1
2n
0
1
2
0
1
(When TOUTAMD[1:0] = TOUTBMD[1:0] = 0x1 and TOUTAINV = TOUTBINV = 0)
5
0
1
10
0
1
2
6.4 PWM Waveform Output Timings in Half Clock Mode
Seiko epson Corporation
2
1
2
n-2
2
3
2
3
4
2n-3 2n-2 2n-1
2
3
4
2n-4 2n-3 2n-2 2n-1
2
3
3
4
5
6
7
S1C17624/604/622/602/621 TeChniCal Manual
n-1
n
0
n-1
(n = T16A_CCBx)
4
5
0
n-1
n
0
2n
0
(n = T16A_CCBx)
4
5
0
8
9
10
0
1
1
1
1
1
1

Advertisement

Table of Contents
loading

This manual is also suitable for:

S1c17604S1c17622S1c17602S1c17621

Table of Contents