Hitachi H8S/2646 Hardware Manual page 337

Hitachi 16-bit single-chip microcomputer h8s/2646 series
Table of Contents

Advertisement

Bits 7 to 5—Counter Clear 2 to 0 (CCLR2 to CCLR0): These bits select the TCNT counter
clearing source.
Bit 7
Channel
CCLR2
0, 3
0
1
Bit 7
Channel
Reserved
1, 2, 4, 5
0
Notes: *1 Synchronous operation setting is performed by setting the SYNC bit in TSYR to 1.
*2 When TGRC or TGRD is used as a buffer register, TCNT is not cleared because the
buffer register setting has priority, and compare match/input capture does not occur.
*3 Bit 7 is reserved in channels 1, 2, 4, and 5. It is always read as 0 and cannot be
modified.
Bit 6
Bit 5
CCLR1
CCLR0
0
0
1
1
0
1
0
0
1
1
0
1
Bit 6
Bit 5
* 3
CCLR1
CCLR0
0
0
1
1
0
1
Description
TCNT clearing disabled
TCNT cleared by TGRA compare match/input
capture
TCNT cleared by TGRB compare match/input
capture
TCNT cleared by counter clearing for another
channel performing synchronous clearing/
synchronous operation
TCNT clearing disabled
TCNT cleared by TGRC compare match/input
* 2
capture
TCNT cleared by TGRD compare match/input
* 2
capture
TCNT cleared by counter clearing for another
channel performing synchronous clearing/
synchronous operation
Description
TCNT clearing disabled
TCNT cleared by TGRA compare match/input
capture
TCNT cleared by TGRB compare match/input
capture
TCNT cleared by counter clearing for another
channel performing synchronous clearing/
synchronous operation
(Initial value)
* 1
* 1
(Initial value)
* 1
305

Advertisement

Table of Contents
loading

Table of Contents