Document toolboxDocument toolbox

(8.D.1.2) BooleanSink

Overview

Sink module holding Boolean data

Type Definition

typedef struct _ModuleBooleanSink { ModuleInstanceDescriptor instance; // Common Audio Weaver module instance structure INT32* value; // Boolean array of response to the signals on the wires } ModuleBooleanSinkClass;

Variables

Properties

Name

Type

Usage

isHidden

Default value

Range

Units

value

int*

state

0

[32 x 1]

0:1:1

 

Pins

Input Pins

Name: in

Description: Boolean input

Data type: int

Channel range: Unrestricted

Block size range: Unrestricted

Sample rate range: Unrestricted

Complex support: Real

MATLAB Usage

File Name: boolean_sink_module.m

M=boolean_sink_module(NAME) Create a Boolean sink module which takes a binary signal as input and places the data into an internal data buffer. Arguments: NAME - name of the module.

Â