/
(8.D.2.4) BitsToInt

(8.D.2.4) BitsToInt

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.

 

Related content

(8.D.2.7) BitsToInt
(8.D.2.7) BitsToInt
More like this
(8.D.2.3) BitsToInt
(8.D.2.3) BitsToInt
More like this
(8.D.2.5) BitsToInt
(8.D.2.5) BitsToInt
More like this
(8.D.2.6) BitsToInt
(8.D.2.6) BitsToInt
More like this
(8.D.2.2) BitsToInt
(8.D.2.2) BitsToInt
More like this
(8.D.2.2 ) BitsToInt
(8.D.2.2 ) BitsToInt
More like this