Skip to main content
Knowledgebase
Home
Renesas Singapore - Knowledgebase

Can a cascade connected TCNT_1 and TCNT_2 be used in one input capture?

Latest Updated:03/23/2009

Question:

In the SH-2/SH-2A multi-function timer pulse 2 (MTU2), can the cascade connected TCNT_1 and TCNT_2 be used in one input capture?

Answer:

It is possible to use the cascade connected TCNT_1 and TCNT_2 in one input capture.

For instance, when 1 is set to the I2AE bit of input capture control register (TICCR), the value of TCNT_1 and TCNT_2 is taken in TGRA_1 and TGRA_2 with the TIOC2A input capture.

The combinations that the cascade connected TCNT_1 and TCNT_2 are executed with one input capture are the following four kinds. 

1) When 1 is set to the I1AE bit, the value of TCNT_1 and TCNT_2 is taken in TGRA_1and TGRA _2 with the TIOC1A input capture.

2) When 1 is set to the I2AE bit, the value of TCNT_1 and TCNT_2 is taken in TGRA_1and TGRA _2 with the TIOC2A input capture.

3) When 1 is set to the I1BE bit, the value of TCNT_1 and TCNT_2 is taken in TGRB_1 and TGRB_2 with the TIOC1B input capture.

4) When 1 is set to the I2BE bit, the value of TCNT_1 and TCNT_2 is taken in TGRB_1 and TGRB_2 with the TIOC2B input capture.

Suitable Products
SH7211
SH7206
SH7124, SH7125
SH7146, SH7149
SH7083, SH7084, SH7085, SH7086