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
Code Block |
---|
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
...
Sample rate range: Unrestricted
Complex support: Real
MATLAB Usage
File Name: Danville_DAC_Volume.m
...