
284
Channels 0, 3, 4:
Bit 7:
CCLR2
Bit 6:
CCLR1
Bit 5:
CCLR0
Description
0
0
0
TCNT clear disabled (initial value)
1
TCNT is cleared by TGRA compare-match or input capture
1
0
TCNT is cleared by TGRB compare-match or input capture
1
Synchronizing clear: TCNT is cleared in synchronization with clear of
other channel counters operating in sync.
*
1
1
0
0
TCNT clear disabled
1
TCNT is cleared by TGRC compare-match or input capture
*
2
1
0
TCNT is cleared by TGRD compare-match or input capture
*
2
1
Synchronizing clear: TCNT is cleared in synchronization with clear of
other channel counters operating in sync
*
1
Notes:
*
1 Setting the SYNC bit of the TSYR to 1 sets the synchronization.
*
2 When TGRC or TGRD are functioning as buffer registers, TCNT is not cleared because
the buffer registers have priority and compare-match/input captures do not occur.
Channels 1, 2:
Bit 7:
Reserved
*
1
Bit 6:
CCLR1
Bit 5:
CCLR0
Description
0
0
0
TCNT clear disabled (initial value)
1
TCNT is cleared by TGRA compare-match or input capture
1
0
TCNT is cleared by TGRB compare-match or input capture
1
Synchronizing clear: TCNT is cleared in synchronization with
clear of other channel counters operating in sync
*
2
Notes:
*
1 The bit 7 of channels 1 and 2 is reserved. It always reads 0, and cannot be modified.
*
2 Setting the SYNC bit of the TSYR to 1 sets the synchronization.
•
Bits 4–3—Clock Edge 1, 0 (CKEG1 and CKEG0): CKEG1 and CKEG0 select the input clock
edges. When counting is done on both edges of the internal clock the input clock frequency
becomes 1/2 (Example: both edges of
φ/4
= rising edge of
φ/2
). When phase count mode is
used with channels 1, 2, these settings are ignored, as the phase count mode settings have
priority.
Summary of Contents for SH7041 Series
Page 2: ......
Page 6: ......
Page 38: ...xvi ...
Page 44: ...6 ...
Page 46: ...8 ...
Page 48: ...10 ...
Page 82: ...44 ...
Page 114: ...76 ...
Page 118: ...80 ...
Page 124: ...86 ...
Page 170: ...132 ...
Page 250: ...212 ...
Page 492: ...454 ...
Page 506: ...468 ...
Page 604: ...566 ...
Page 684: ...646 ...
Page 706: ...668 ...
Page 778: ...740 ...
Page 780: ...742 ...
Page 818: ...780 ...
Page 850: ...812 ...
Page 923: ...SH7040 SH7041 SH7042 SH7043 SH7044 SH7045 Group Hardware Manual REJ09B0044 0600O ...