Document toolboxDocument toolbox

(8.D.1.2) IntToBits

Overview

Converts from integer data to multiple binary bits

Type Definition

typedef struct _ModuleIntToBits { ModuleInstanceDescriptor instance; // Common Audio Weaver module instance structure } ModuleIntToBitsClass;

Pins

Input Pins

Name: in

Description: audio output

Data type: int

Channel range: 1

Block size range: 1

Sample rate range: Unrestricted

Complex support: Real

Output Pins

Name: out1

Description: audio output

Data type: int

MATLAB Usage

File Name: int_to_bits_module.m

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

Â