When enabled in this mode, the timer resets the count in the
TIMER_COUNTER
it detects a leading edge on the
When the timer detects the first leading edge, it starts incrementing.
When it detects a trailing edge of a waveform, the timer captures the cur-
rent 32-bit value of the
the next leading edge, the timer transfers the current 32-bit value of the
TIMER_COUNTER
to 0x0000 0001 again, and the timer continues counting and capturing
until it is disabled.
In this mode, software can measure both the pulse width and the pulse
period of a waveform. To control the definition of leading edge and trail-
ing edge of the
set or cleared. If the
by a falling edge, the content of the counter register is captured to the
pulse width buffer on the rising edge, and to the period buffer on the next
falling edge. When the
a rising edge, the counter value is captured to the pulse width buffer on
the falling edge, and to the period buffer on the next rising edge.
In
mode, these three events always occur at the same time:
WDTH_CAP
1. The
TIMER_PERIOD
2. The
TIMER_WIDTH
3. The
TIMIL
The
PERIOD_CNT
time at which this set of transactions is executed. Taken together, these
three events are called a measurement report. The
get set at a measurement report. A measurement report occurs, at most,
once per input signal period.
ADSP-BF50x Blackfin Processor Hardware Reference
register to 0x0000 0001 and does not start counting until
TMR
TIMER_COUNTER
register into the period buffer. The count register is reset
pin, the
TMR
PULSE_HI
bit is cleared, the measurement is initiated
PULSE_HI
bit is set, the measurement is initiated by
PULSE_HI
register is updated from the period buffer.
register is updated from the width buffer.
bit gets set (if enabled) but does not generate an error.
bit in the
TIMER_CONFIG
General-Purpose Timers
pin.
register into the width buffer. At
bit in the
TIMER_CONFIG
register controls the point in
TOVF_ERR
register is
bit does not
10-25
Need help?
Do you have a question about the ADSP-BF506F and is the answer not in the manual?