Wiki

This version (01 Apr 2024 13:48) was approved by John Joseph.The Previously approved version (03 Feb 2020 11:22) is available.Diff

Click here to return to the Sources page

ON/OFF Switch


Description


The OnOffSwitch block outputs a constant value of either 0.0(OFF) or 1.0(ON).Click the switch control with mouse to toggle the switch 'OFF' or 'ON'.

Targets Supported

NameADSP-214xxADSP-215xx/ADSP-SC5xxADAU145x/146x
OnOffSwitch Block and Sample Block and Sample Sample


Pins

Output

NameTypeDescription
EnableControlOutput channel 0


Configurable Parameters

GUI Parameter NameDefault ValueRangeFunction Description
Switch_EnabledFalseTrue/FalseTurn ON or Trun Off the switch


DSP Parameters

Parameter NameDescriptionADSP-214xx/SC5xx/215xxADAU145x/146x
Switch_EnabledTurn ON or Trun Off the switchFloat Integer32


DSP Parameter Computation

Switch_Enabled = Switch_Enabled? 1: 0

resources/tools-software/sigmastudiov2/modules/sources/onoffswitch.txt · Last modified: 01 Apr 2024 13:48 by John Joseph