Audio codec driver for the WM8994, playing to its headphone output.
More...
Audio codec driver for the WM8994, playing to its headphone output.
The codec is the slave of an I2S link on its first audio interface, its clocks from the master clock at 256 times the rate on MCLK1.
◆ pbl_audio_wm8994
◆ PBL_AUDIO_WM8994_DEFINE
| #define PBL_AUDIO_WM8994_DEFINE |
( |
|
sym, |
|
|
|
_name, |
|
|
|
_bus, |
|
|
|
_addr |
|
) |
| |
Value:
&pbl_audio_wm8994_ops), \
}
WM8994 codec.
Definition wm8994.h:22
A codec: a separate chip converting between the link and the analog side.
Definition audio.h:263
#define PBL_AUDIO_CODEC_INIT(sym, _name, _init, _parent, _ops)
Initializer of a struct pbl_audio_codec.
Definition audio.h:300
#define PBL_DEVICE_STATE_DEFINE(sym)
Define the runtime state of device instance sym.
Definition device.h:132
#define PBL_I2C_DEV(_bus, _addr)
Initializer for a struct pbl_i2c_dev.
Definition i2c.h:136
Define a WM8994 codec.
- Parameters
-
| sym | Symbol of the codec. |
| _name | Device name. |
| _bus | I2C bus. |
| _addr | 7-bit I2C address. |