This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
resources:tools-software:sigmastudio:toolbox:basicdsp:bintodec [08 Mar 2017 12:27] – Venkatesan Krishnamoorthy | resources:tools-software:sigmastudio:toolbox:basicdsp:bintodec [09 Mar 2017 06:54] (current) – [Example Usage] Venkatesan Krishnamoorthy | ||
---|---|---|---|
Line 20: | Line 20: | ||
The module supports growth of input Pins. | The module supports growth of input Pins. | ||
\\ | \\ | ||
+ | |||
+ | |||
+ | ===== Example Usage ===== | ||
+ | This module can be used with GPIOs to convert the multiple GPIO's value into a single integer value. | ||
+ | \\ | ||
+ | |||
+ | {{ : | ||
+ | The table below shows the input and output value for the BinToDec module. | ||
+ | |||
+ | ^GPIO_0 ^ GPIO_1^ BinToDec Output (32.0)^ Lookup Table Output (8.24)^ | ||
+ | | 0 | 0 | 0 | 0 db | | ||
+ | | 1 | 0 | 1 | 1 db | | ||
+ | | 0 | 1 | 2 | 2 db | | ||
+ | | 1 | 1 | 3 | 3 db | | ||
+ | \\ | ||
+ | |||
+ | The output of BinToDec is used as an index for LookUp table. The output of the lookup table can be multiplied with the audio signal as the gain. | ||
+ | |||
+ | Using this schematic signal' | ||
===== Supported ICs ===== | ===== Supported ICs ===== | ||
- ADAU145x | - ADAU145x | ||