English
Language : 

SH7708 Datasheet, PDF (317/625 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
value)
(Initial
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
value)
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
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 Bit 6: ICPE0 Description
0
0
Input capture function is not used.
(Initial
value)
1
Reserved (cannot be set)
1
0
Input capture function is used. Interrupts due to ICPF (TICPI2)
are not enabled.
1
Input capture function is used. Interrupts due to ICPF (TICPI2)
are enabled.
303