Skip to content

IntToBits

Overview

Converts from integer data to multiple binary bits

Discussion

Module Pack

Standard

ClassID

classID = 34

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. 

Copyright (c) 2026 DSP Concepts, Inc.