![]() |
MCUXpresso SDK API Reference Manual
Rev. 0
NXP Semiconductors
|
Data Structures | |
struct | wm8524_handle_t |
WM8524 handler. More... | |
Typedefs | |
typedef void(* | wm8524_setMuteIO )(uint32_t output) |
< mute control io function pointer More... | |
Enumerations | |
enum | wm8524_protocol_t { kWM8524_ProtocolLeftJustified = 0x0, kWM8524_ProtocolI2S = 0x1, kWM8524_ProtocolRightJustified = 0x2 } |
The audio data transfer protocol. More... | |
enum | _wm8524_mute_control { kWM8524_Mute = 0U, kWM8524_Unmute = 1U } |
wm8524 mute operation More... | |
Functions | |
status_t | WM8524_Init (wm8524_handle_t *handle, wm8524_config_t *config) |
Initializes WM8524. More... | |
void | WM8524_ConfigFormat (wm8524_handle_t *handle, wm8524_protocol_t protocol) |
Configure WM8524 audio protocol. More... | |
void | WM8524_SetMute (wm8524_handle_t *handle, bool isMute) |
Sets the codec mute state. More... | |
Driver version | |
#define | FSL_WM8524_DRIVER_VERSION (MAKE_VERSION(2, 1, 1)) |
WM8524 driver version 2.1.1. More... | |
struct wm8524_handle_t |
Data Fields | |
wm8524_config_t * | config |
wm8524 config pointer | |
#define FSL_WM8524_DRIVER_VERSION (MAKE_VERSION(2, 1, 1)) |
typedef void(* wm8524_setMuteIO)(uint32_t output) |
format control io function pointer
enum wm8524_protocol_t |
enum _wm8524_mute_control |
status_t WM8524_Init | ( | wm8524_handle_t * | handle, |
wm8524_config_t * | config | ||
) |
handle | WM8524 handle structure. |
config | WM8524 configure structure. |
void WM8524_ConfigFormat | ( | wm8524_handle_t * | handle, |
wm8524_protocol_t | protocol | ||
) |
handle | WM8524 handle structure. |
protocol | WM8524 configuration structure. |
void WM8524_SetMute | ( | wm8524_handle_t * | handle, |
bool | isMute | ||
) |
handle | WM8524 handle structure. |
isMute | true means mute, false means normal. |