Overview
Ands a signal with a constant
Discussion
This module operates on fract32 signals and logically ANDs the values by a specified 32-bit constant The operation of the module is straightforward and supports an arbitrary number of channels and blockSize.
Type Definition
Code Block |
---|
typedef struct _ModuleLogicAndConstFract32 { ModuleInstanceDescriptor instance; // Common Audio Weaver module instance structure UINT32 mask; // Bit mask used when ANDing } ModuleLogicAndConstFract32Class; |
Variables
Properties
Name | Type | Usage | isHidden | Default value | Range | Units |
mask | uint | parameter | 0 | 4295000000 | Unrestricted |
Pins
Input Pins
Name: in
Description: audio input
...
Sample rate range: Unrestricted
Complex support: Real
Output Pins
Name: out
Description: audio output
Data type: fract32
MATLAB Usage
File Name: logic_and_const_fract32_module.m
...