Wiki

This version (21 Sep 2022 13:18) was approved by Angu Sewa.The Previously approved version (14 Jan 2021 17:49) is available.Diff

Click here to return to the Basic page

Stop Watch



Description

The StopWatch block is used to know how long something takes (i.e. how many samples have passed between start and stop event). A control signal greater than zero to Start pin triggers the Stopwatch counter, While the control signal to Stop pin is zero. A control signal greater than zero to Stop pin stops the counter increment regardless of the control signal to the Start pin. Reset button(pin for External Reset, the control signal is high) resets the counter value to zero.

Variants

  1. StopWatch
  2. StopWatchExtReset


Targets Supported

Name ADSP-214xx ADSP-215xx/SC5xx ADAU145x/146x
———————————————————— ——————-- ——————————-- —————————-
StopWatch B/S B/S S
StopWatchExtReset B/S B/S S


Pins

Input

NameTypeDescription
——————————————————-——————————————————————————————
Start Audio Starts the counter of the stop watch
Stop Audio Stops the counter of the stop watch
Reset (Only for StopWatchExtReset) Control Resets the counter of the stop watch (only for StopWatchExtReset)

Output

NameTypeDescription
————————————————————————————————————————
Output Control Stop Watch counter output


Configurable Parameters

GUI Parameter NameDefault ValueRangeFunction Description
————————————————————————————-———————————————————-
Reset False True / False Resets the counter value to zero (Only for StopWatch)


DSP Parameters

Parameter Name Description ADSP-214xx/SC5xx/215xx ADAU145x/146x
—————————————- ——————————————————————————-- —————————————- —————————-
Reset Resets the counter result to zero (Only for StopWatch) Float FixPoint8d24


resources/tools-software/sigmastudiov2/modules/basic/stopwatch.txt · Last modified: 10 May 2021 09:26 by Nikhin Shetty