English
Language : 

SH7058 Datasheet, PDF (406/1130 Pages) Renesas Technology Corp – Renesas SuperHTM RISC engine
16-bit reload counter 10C (TCNT10C) performs down-count operations. When TCNT10C
reaches H'0001, the value is read automatically from the reload buffer (RLD10C), internal
clock AGCK1 is generated, and the down-count operation is repeated. Internally generated
AGCK1 is input as a clock to the multiplied clock correction block 16-bit correction counter
(TCNT10E) and 16-bit free-running counter 10G (TCNT10G).
16-bit register free-running counter 10G (TCNT10G) counts on AGCK1 generated by
TCNT10C. It is initialized to H'0000 by external input from TI10.
The 16-bit general register (GR10G) can be used in a compare-match with free-running
counter 10G (TCNT10G) by setting bits IO10G2 to IO10G0 in the timer I/O control register
(TIOR10). An interrupt can be requested when a compare-match occurs. Also, by setting timer
interrupt enable register 10 (TIER10), an interrupt can be request in the event of TI10 input
after a compare-match.
(3) Multiplied clock correction block
This block has three 16-bit correction counters (TCNT10D, TCNT10E, TCNT10F) and a 16-
bit correction counter clear register (TCCLR10). When 32-bit input capture register 10A
(ICR10A) performs a capture operation due to input from external input pin TI10, the value in
correction counter 10D (TCNT10D) is transferred to TCNT10E and TCNT10D is incremented.
The value transferred to TCNT10E is 32, 64, 128, or 256 times the TCNT10D value, according
to the setting of bits PIM1 and PIM0 in the timer I/O control register (TIOR10).
16-bit correction counter 10E (TCNT10E) counts up on AGCK1 generated by reload counter
10C (TCNT10C, RLD10C) in the multiplied clock generation block. However, by setting the
CCS bit in the timer I/O control register (TIOR10), it is possible to stop free-running counter
10E (TCNT10E) when the free-running counter 10D (TCNT10D) multiplication value
specified by PIM1 and PIM0 and the free-running counter 10E (TCNT10E) value match. The
multiplied TCNT10D value is transferred when input capture register 10A (ICR10A) performs
a capture operation due to TI10 input.
Rev. 3.0, 09/04, page 365 of 1086