arduino-audio-driver
Loading...
Searching...
No Matches
Classes | Namespaces | Enumerations
WM8962.h File Reference

Header only C++ driver for the Wolfson/Cirrus WM8962 audio codec. More...

#include "Codecs/ZephyrDriverCommon.h"

Go to the source code of this file.

Classes

class  WM8962
 Header only C++ driver for the WM8962 audio codec. More...
 

Namespaces

namespace  audio_driver
 Namespace for audio driver components.
 

Enumerations

enum class  WM8962Channel {
  FrontLeft , FrontRight , HeadphoneLeft , HeadphoneRight ,
  All
}
 Logical audio channels. More...
 
enum class  WM8962InputPgaSource { Input1 = 8 , Input2 = 4 , Input3 = 2 , Input4 = 1 }
 Input PGA source (used for routeInput) More...
 
enum class  WM8962Protocol {
  RightJustified = 0x0 , LeftJustified = 0x1 , I2S = 0x2 , PCMB = 0x3 | 0x10 ,
  PCMA = 0x4 - 1
}
 Digital audio interface protocol. More...
 
enum class  WM8962Sequence : uint16_t {
  DACToHeadphonePowerUp = 0x80 , AnalogueInputPowerUp = 0x92 , ChipPowerDown = 0x9B , SpeakerSleep = 0xE4 ,
  SpeakerWake = 0xE8
}
 Write sequencer sequence ids. More...
 

Detailed Description

Header only C++ driver for the Wolfson/Cirrus WM8962 audio codec.

Ported from the Zephyr RTOS driver (drivers/audio/wm8962.c / wm8962.h, Copyright 2025 NXP, Apache-2.0).