跳转到主内容
Knowledgebase
Home
Renesas Electronics China - Knowledgebase

Why does the counter not cleared to 0000h by the input capture

Latest Updated:09/30/2011

Question:

The TRCGRB register is used for the timer RC input capture function. Even if the CCLR bit in the TRCCR1 register is set to 1, the TRC counter is not cleared to 0000h by the input capture.

Answer:

When setting the CCLR bit to 1, the TRC counter can only be cleared to 0000h by the TRCGRA input capture or TRCGRA compare match. The TRC counter CANNOT be cleared using registers TRCGRB, TRCGRC, and TRCGRD.
Suitable Products
R8C/3x
R8C/Lx