English
Language : 

SH7708 Datasheet, PDF (325/633 Pages) Renesas Technology Corp – SuperH™ RISC engine
Bits 15 to 10, 9 (except TCR2), 7, and 6 (except TCR2)—Reserved: These bits always read 0. The
write value should always be 0.
Bit 9—Input Capture Interrupt Flag (ICPF): A function of channel 2 only: the flag is set when
input capture is requested via the TCLK pin.
Bit 9: ICPF
Description
0
No input capture request has been issued.
Clearing condition: When 0 is written to ICPF
(Initial value)
1
Input capture has been requested via the TCLK pin.
Setting condition: When an input capture is requested via the TCLK pin*
Note: * Contents do not change when 1 is written to ICPF.
Bit 8—Underflow Flag (UNF): Status flag that indicates occurrence of a TCNT underflow.
Bit 8: UNF
Description
0
TCNT has not underflowed.
Clearing condition: When 0 is written to UNF
1
TCNT has underflowed (H'00000000 → H'FFFFFFFF).
Setting condition: When TCNT underflows*
Note: * Contents do not change when 1 is written to UNF.
(Initial value)
Bits 7 and 6—Input Capture Control (ICPE1, ICPE0): A function of channel 2 only: determines
whether the input capture function can be used, and when used, whether or not to enable
interrupts.
When using this input capture function it is necessary to set the TCLK pin to input mode with the
TCOE bit in the TOCR register. Additionally, use the CKEG bit to designate use of either the
rising or falling edge of the TCLK pin to set the value in TNCT2 in the input capture register
(TCPR2).
Bit 7: ICPE1
0
1
Bit 6: ICPE0
0
1
0
1
Description
Input capture function is not used.
(Initial value)
Reserved (cannot be set)
Input capture function is used. Interrupts due to ICPF (TICPI2)
are not enabled.
Input capture function is used. Interrupts due to ICPF (TICPI2)
are enabled.
307