
402
When setting the buffer operation in the reset synchronous PWM mode
, it is not necessary to
set the timer interrupt enable register’s (TIER4) TGIEC and TGIED bits to 0, to prohibit
interrupt output.
Figure 12.88 shows an example of operations for TGR3, TGR4, TIOC3, and TIOC4, with
TMDR3’s BFA and BFB bits set to 1, and TMDR4’s BFA and BFB bits set to 0.
TGR3A
TGR3C
TGR3B,TGR4A
TGR4B
TGR3D,TGR4C
TGR4D
H'0000
TIOC3A
TIOC3B
TIOC3D
TIOC4A
TIOC4C
TIOC4B
TIOC4D
TGF3C
TGF3D
TGF4C
TGF4D
TCNT3
TGR3A,
TGR3C
TGR3B,TGR3D
TGR4A,TGR4C
TGR4B,TGR4D
Not set
Not set
Not set
Buffer transfer with compare match A3
Point a
Point b
Not set
Figure 12.88 Buffer Operation and Compare-Match Flags in Reset Sync PWM Mode
(for A Mask)
12.7.14
Overflow Flags in Reset Sync PWM Mode
When set to reset sync PWM mode, TCNT3 and TCNT4 start counting when the CST3 bit of
TSTR is set to 1. At this point, TCNT4’s count clock source and count edge obey the TCR3
setting.
In reset sync PWM mode, with cycle register TGR3A’s set value at H'FFFF, take care when
specifying TGR3A compare-match for the counter clear source, since the operation of the
overflow flag (TCFV bit) differs with TSR3 and TSR4.
Содержание SH7041 Series
Страница 2: ......
Страница 6: ......
Страница 38: ...xvi ...
Страница 44: ...6 ...
Страница 46: ...8 ...
Страница 48: ...10 ...
Страница 82: ...44 ...
Страница 114: ...76 ...
Страница 118: ...80 ...
Страница 124: ...86 ...
Страница 170: ...132 ...
Страница 250: ...212 ...
Страница 492: ...454 ...
Страница 506: ...468 ...
Страница 604: ...566 ...
Страница 684: ...646 ...
Страница 706: ...668 ...
Страница 778: ...740 ...
Страница 780: ...742 ...
Страница 818: ...780 ...
Страница 850: ...812 ...
Страница 923: ...SH7040 SH7041 SH7042 SH7043 SH7044 SH7045 Group Hardware Manual REJ09B0044 0600O ...