272
4. Reset TCNT4 (to H'0000). Set the non-overlap offset in TCNT3. Do not set TCNT3 and
TCNT4 to the same value.
5. GRA3 is the waveform period register. Set the upper limit of TCNT3–1*. Set the transition
times of the PWM output waveforms in GRB3, GRA4, and GRB4. Set times within the
compare match range of TCNT3 and TCNT4.
T
≤
X
(X: initial setting of GRB3, GRA4, and GRB4; T: initial setting of TCNT3)
Note: *GRA3 = [cycle count/2] + [count of non-overlaps] - 2cyc=[upper limit of TCNT3]-1
6. Set the STR3 and STR4 bits in TSTR to 1 to start the TCNT3 and TCNT4 counts.
(1)
(2)
(3)
(4)
(5)
(6)
Set general registers
Start counting
Complementary PWM mode
Stop counting
Select counter clock
Set TCNT
Complementary PWM mode
Select complementary
PWM mode
Note:
To re-establish complementary PWM mode after it has been aborted, start settings from
step 1.
Figure 10.33 Procedure for Selecting Complementary PWM Mode
Содержание HD6417032
Страница 21: ......
Страница 35: ...xiv ...
Страница 85: ...50 ...
Страница 101: ...66 ...
Страница 129: ...94 ...
Страница 135: ...100 ...
Страница 343: ...308 ...
Страница 369: ...334 ...
Страница 383: ...348 ...
Страница 475: ...440 ...
Страница 525: ...490 CK RAS CAS TRp TRc TRcc tRASD1 tRASD2 tCASD3 tCASD2 TRr tCSR Figure 20 18 Self Refresh ...
Страница 578: ...543 CK RAS CAS TRp TRc TRcc tRASD1 tRASD2 tCASD3 tCASD2 TRr tCSR Figure 20 62 Self Refresh ...
Страница 689: ...654 ...