Document toolboxDocument toolbox

(8.D.1.2) Danville_DAC_Volume

Overview

DAC Volume Control

Discussion

This module controls the DAC attenuator registers The locator refers to the DAC channel grouping dictated by the DAC Volume Mapping module.

Type Definition

typedef struct _ModuleDanville_DAC_Volume { ModuleInstanceDescriptor instance; // Common Audio Weaver module instance structure FLOAT32 DAC_Volume_Val; // DAC Volume FLOAT32 DAC_Volume_Default_Val; // DAC Default Volume FLOAT32 DAC_Volume_OLD_Val; // DAC OLD Volume INT32 DAC_Volume_Locator; // DAC Volume Locator INT32 DAC_Volume_Override; // DAC Volume Override } ModuleDanville_DAC_VolumeClass;

Variables

Properties

Name

Type

Usage

isHidden

Default value

Range

Units

DAC_Volume_Val

float

parameter

0

0

-128:0.5:0

 

DAC_Volume_Default_Val

float

parameter

0

0

-128:0.5:0

 

DAC_Volume_OLD_Val

float

parameter

0

0

-128:0.5:0

 

DAC_Volume_Locator

int

parameter

0

0

0:3

 

DAC_Volume_Override

int

parameter

0

0

0:1

 

Input Pins

Name: in

Description: DAC Volume

Data type: float

Channel range: 1

Block size range: 1

Sample rate range: Unrestricted

Complex support: Real

MATLAB Usage

File Name: Danville_DAC_Volume.m

M=Danville_DAC_Volume_module(NAME, HASINPUTPIN) Copyright 2016. Danville Signal Processing, Inc. All Rights Reserved. Author: E. Enrique

Â