Datasheet
Section 12 16-Bit Duty Period Measurement Timer (TDP)
Rev. 2.00 Sep. 28, 2009 Page 337 of 994
REJ09B0452-0200
Bit Bit Name
Initial
Value
R/W Description
2 CMF 0 R/(W)* Compare Match Flag (valid only in timer mode)
[Setting condition]
• When the TDPCNT value matches the TDPWDMX
value in timer mode
[Clearing condition]
• Reading CMF when CMF = 1 and then writing 0 to
CMF
Note: In cycle measurement mode, even though the
TDPCNT value matches the TDPWDMX value, CMF
is not set to 1.
1 CKSEG 0 R/(W)* External Clock Edge Select
When CKS2 to CKS0 in TDPCR1 are set to B'111
(external clock), this bit selects the edge for counting of the
external count clock edges.
0: Falling edges of the external clock are counted
1: Rising edges of the external clock are counted
0 TPDMNUDF 0 R/(W)* Cycle Lower Limit Underflow
This flag indicates that the waveform period measured in
cycle measurement mode is below the lower limit specified
in TDPPDMN.
[Setting condition]
• When TDPICR is less than TDPPDMN
[Clearing condition]
• Reading TPDMNUDF when TPDMNUDF = 1 and then
writing 0 to TPDMNUDF
Note: * Only 0 can be written to clear the flag.










