vumeter 2.0.0.0
VU Meter Settings

Settings of VU Meter Click driver. More...

Macros

#define VUMETER_GAIN_LEVEL_MAX   0xFF
 VU Meter gain level values.
 
#define VUMETER_GAIN_LEVEL_MID   0x80
 
#define VUMETER_GAIN_LEVEL_MIN   0x00
 
#define VUMETER_DBU_VREF   0.7746
 VU Meter VU level calculation constants.
 
#define VUMETER_DBU_TO_VU   4.0
 
#define VUMETER_RMS_FOR_20VU   0.123
 
#define VUMETER_MIN_VU   -20.0
 
#define VUMETER_VCC_3V3   3.3
 
#define VUMETER_VCC_5V   5.0
 
#define VUMETER_SET_DATA_SAMPLE_EDGE   SET_SPI_DATA_SAMPLE_EDGE
 Data sample selection.
 
#define VUMETER_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE
 

Detailed Description

Settings of VU Meter Click driver.

Macro Definition Documentation

◆ VUMETER_DBU_TO_VU

#define VUMETER_DBU_TO_VU   4.0

◆ VUMETER_DBU_VREF

#define VUMETER_DBU_VREF   0.7746

VU Meter VU level calculation constants.

Specified values for VU level calculation of VU Meter Click driver.

◆ VUMETER_GAIN_LEVEL_MAX

#define VUMETER_GAIN_LEVEL_MAX   0xFF

VU Meter gain level values.

Specified values for gain levels of VU Meter Click driver.

◆ VUMETER_GAIN_LEVEL_MID

#define VUMETER_GAIN_LEVEL_MID   0x80

◆ VUMETER_GAIN_LEVEL_MIN

#define VUMETER_GAIN_LEVEL_MIN   0x00

◆ VUMETER_MIN_VU

#define VUMETER_MIN_VU   -20.0

◆ VUMETER_RMS_FOR_20VU

#define VUMETER_RMS_FOR_20VU   0.123

◆ VUMETER_SET_DATA_SAMPLE_EDGE

#define VUMETER_SET_DATA_SAMPLE_EDGE   SET_SPI_DATA_SAMPLE_EDGE

Data sample selection.

This macro sets data samples for SPI modules.

Note
Available only on Microchip PIC family devices. This macro will set data sampling for all SPI modules on MCU. Can be overwritten with vumeter_init which will set SET_SPI_DATA_SAMPLE_MIDDLE by default on the mapped mikrobus.

◆ VUMETER_SET_DATA_SAMPLE_MIDDLE

#define VUMETER_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE

◆ VUMETER_VCC_3V3

#define VUMETER_VCC_3V3   3.3

◆ VUMETER_VCC_5V

#define VUMETER_VCC_5V   5.0