Project 2  8×8 Dot-Matrix Display
Neff Site
Macros
Speaker

Constants for the speaker. More...

Macros

#define SPEAKER_SIGNAL_PORT   PORTB
 
#define SPEAKER_SIGNAL_PIN_bp   PIN2_bp
 
#define SPEAKER_SIGNAL_PIN_bm   PIN2_bm
 
#define SPEAKER_SHUTDOWN_PORT   PORTQ
 
#define SPEAKER_SHUTDOWN_PIN_bp   PIN3_bp
 
#define SPEAKER_SHUTDOWN_PIN_bm   PIN3_bm
 
#define SPEAKER_DAC_MODULE   DACB
 
#define SPEAKER_DAC_CHANNEL   0
 

Detailed Description

Constants for the speaker.

There is a speaker on the board. It has an active low shutdown input. Please consult the schematic for details.

               1u       TPA0253DGQR
               ||   ___     __
 AUDIO_OUT  ---||--|___|--o|  |      .---|
               ||   30k    |  |o-----|   |
                           |  |o-----|   |
 AUDIO_SD    --------o----o|__|      '---|
                     |              NDT-03C
                    .-.
                    | | 100k
                    | |
                    '-'
                     |
                     |
                    ===
                    GND

Macro Definition Documentation

◆ SPEAKER_DAC_CHANNEL

#define SPEAKER_DAC_CHANNEL   0

◆ SPEAKER_DAC_MODULE

#define SPEAKER_DAC_MODULE   DACB

◆ SPEAKER_SHUTDOWN_PIN_bm

#define SPEAKER_SHUTDOWN_PIN_bm   PIN3_bm

◆ SPEAKER_SHUTDOWN_PIN_bp

#define SPEAKER_SHUTDOWN_PIN_bp   PIN3_bp

◆ SPEAKER_SHUTDOWN_PORT

#define SPEAKER_SHUTDOWN_PORT   PORTQ

◆ SPEAKER_SIGNAL_PIN_bm

#define SPEAKER_SIGNAL_PIN_bm   PIN2_bm

◆ SPEAKER_SIGNAL_PIN_bp

#define SPEAKER_SIGNAL_PIN_bp   PIN2_bp

◆ SPEAKER_SIGNAL_PORT

#define SPEAKER_SIGNAL_PORT   PORTB
Contact