Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Version History

Version 1 Current »

Overview

Converts multiple binary bits to an integer value

Type Definition

typedef struct _ModuleBitsToInt
{
    ModuleInstanceDescriptor instance;            // Common Audio Weaver module instance structure
} ModuleBitsToIntClass;

Pins

Input Pins

Name: in1

Description: audio input

Data type: int

Channel range: 1

Block size range: 1

Sample rate range: Unrestricted

Complex support: Real

Output Pins

Name: out

Description: audio output

Data type: int

MATLAB Usage

File Name: bits_to_int_module.m

 M=bits_to_int_module(NAME,NUMIN)
 Converts input bits at N input pins to unsigned integer at the output
 pin. The bit present at first input pin is LSB bit. 
    NAME - name of the module.
    NUMIN - number of input pins.

  • No labels