Wiki

The most recent version of this page is a draft.DiffThis version (10 Feb 2021 13:09) was approved by Sanjeeva Reddy.

This is an old revision of the document!


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

NameADSP-214xx(Sample)ADSP-214xx(Block)ADSP-215xx/ADSP-SC5xx(Sample)ADSP-215xx/ADSP-SC5xx(Block)
StopWatch Yes YesYes Yes
StopWatchExtReset Yes YesYes Yes


Pins

Input

NameTypeDescription
StartControlStarts the counter of the stop watch
StopControlStops the counter of the stop watch
ResetControlResets the counter of the stop watch (only for StopWatchExtReset)

Output

NameTypeDescription
CounterControlStop Watch counter output


Configurable Parameters

GUI Parameter NameDefault ValueRangeFunction Description
ResetFalse True/FalseResets the counter value to zero (Only for StopWatch)


DSP Parameters

Parameter NameDescriptionADSP-214xx/215xx/SC5xx
ResetResets the counter result to zero (Only for StopWatch) Float


/srv/wiki.analog.com/data/pages/resources/tools-software/sigmastudiov2/modules/basic/stopwatch.txt · Last modified: 10 May 2021 09:26 by Nikhin Shetty