English
Language : 

SH7729R Datasheet, PDF (485/855 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer Super RISC engine Family/SH7700 Series
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 TCNT2 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 (Setting prohibited)
Input capture function is used. Interrupt due to ICPF (TICPI2)
is not enabled
Input capture function is used. Interrupt due to ICPF (TICPI2)
is enabled
Bit 5—Underflow Interrupt Control (UNIE): Controls enabling of interrupt generation when
the status flag (UNF) indicating TCNT underflow has been set to 1.
Bit 5: UNIE
0
1
Description
Interrupt due to UNF (TUNI) is not enabled
Interrupt due to UNF (TUNI) is enabled
(Initial value)
Rev. 5.0, 09/03, page 439 of 806