Tdp Pulse Width Lower Limit Register (Tdpwdmn); Tdp Cycle Upper Limit Register (Tdppdmx); Tdp Cycle Lower Limit Register (Tdppdmn) - Renesas H8S/2100 Series Hardware Manual

16-bit single-chip microcomputer
Hide thumbs Also See for H8S/2100 Series:
Table of Contents

Advertisement

Section 12 16-Bit Duty Period Measurement Timer (TDP)
12.3.3

TDP Pulse Width Lower Limit Register (TDPWDMN)

TDPWDMN is a 16-bit readable/writable register. When the TDPMDS bit in TDPCR1 is set to 1
(cycle measurement mode), TDPWDMN is available as a pulse width lower limit register.
In cycle measurement mode, TDPWDMN can be used to set the lower limit value of measurement
pulse width. When the second edge (the second edge of this period) of the measurement period is
detected, the TDPCNT value is transferred to TDPICR and the values of TDPICR and
TDPWDMN are compared. If the TDPICR value is less than the TDPWDMN value, the
TWDMNUDF flag in TDPCSR is set to 1. TDPWDMN must always be accessed in 16-bit units
and cannot be accessed in 8-bit units. TDPWDMN is initialized to H'0000.
12.3.4

TDP Cycle Upper Limit Register (TDPPDMX)

TDPPDMX is a 16-bit readable/writable register. When the TDPMDS bit in TDPCR1 is set to 1
(cycle measurement mode), TDPPDMX is available as a cycle upper limit register.
In cycle measurement mode, TDPPDMX can be used to set the upper limit value of measurement
period. When the third edge (the first edge of the next period) of the measurement period is
detected, the TDPCNT value is transferred to TDPICR and the values of TDPICR and TDPPDMX
are compared. If the TDPICR value is greater than the TDPPDMX value, the TPDMXOVF flag in
TDPCSR is set to 1. TDPPDMX must always be accessed in 16-bit units and cannot be accessed
in 8-bit units. TDPPDMX is initialized to H'FFFF.
12.3.5

TDP Cycle Lower Limit Register (TDPPDMN)

TDPPDMN is a 16-bit readable/writable register. When the TDPMDS bit in TDPCR1 is set to 1
(cycle measurement mode), TDPPDMN is available as a cycle lower limit register.
In cycle measurement mode, TDPPDMN can be used to set the lower limit value of measurement
period. When the third edge (the first edge of the next period) of the measurement period is
detected, the TDPCNT value is transferred to TDPICR and the values of TDPICR and TDPPDMN
are compared. If the TDPICR value is less than the TDPPDMN value, the TPDMNUDF flag in
TDPCSR is set to 1. TDPPDMN must always be accessed in 16-bit units and cannot be accessed
in 8-bit units. TDPPDMN is initialized to H'0000.
Rev. 1.00 Apr. 28, 2008 Page 334 of 994
REJ09B0452-0100

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8s/2117r seriesR4f2117r

Table of Contents