beautypg.com

Renesas SH7641 User Manual

Page 602

background image

Section 18 Multi-Function Timer Pulse Unit (MTU)

Rev. 4.00 Sep. 14, 2005 Page 552 of 982

REJ09B0023-0400

Bit Bit

Name

Initial
value R/W

Description

2

TGFC

0

R/(W) Input Capture/Output Compare Flag C

Status flag that indicates the occurrence of TGRC input
capture or compare match in channels 0, 3, and 4. Only
0 can be written, for flag clearing. In channels 1 and 2,
bit 2 is reserved. It is always read as 0, and should only
be written with 0.

[Setting conditions]

• When TCNT = TGRC and TGRC is functioning as

output compare register

• When TCNT value is transferred to TGRC by input

capture signal and TGRC is functioning as input

capture register

[Clearing condition]

• When 0 is written to TGFC after reading TGFC = 1

1

TGFB

0

R/(W) Input Capture/Output Compare Flag B

Status flag that indicates the occurrence of TGRB input
capture or compare match. Only 0 can be written, for
flag clearing.

[Setting conditions]

• When TCNT = TGRB and TGRB is functioning as

output compare register

• When TCNT value is transferred to TGRB by input

capture signal and TGRB is functioning as input

capture register

[Clearing condition]

• When 0 is written to TGFB after reading TGFB = 1

This manual is related to the following products: