wm8994_SetMute() is only used within wm8994.
 
Symbols
loading...
Files
loading...

wm8994_SetMute() function

Enables or disables the mute feature on the audio codec.

Syntax

uint32_t wm8994_SetMute(uint16_t DeviceAddr,     uint32_t Cmd);
Implemented in wm8994.c:918

Arguments

DeviceAddr

Device address on communication Bus.

Cmd

AUDIO_MUTE_ON to enable the mute or AUDIO_MUTE_OFF to disable the mute mode.

Return value

0 if correct communication, else wrong communication

References

LocationReferrerText
wm8994.c:918
uint32_t wm8994_SetMute(uint16_t DeviceAddr, uint32_t Cmd)
wm8994.h:450
uint32_t wm8994_SetMute(uint16_t DeviceAddr, uint32_t Cmd);
wm8994.c:82
wm8994_SetMute,
wm8994.c:734wm8994_Play()
counter += wm8994_SetMute(DeviceAddr, AUDIO_MUTE_OFF);
wm8994.c:751wm8994_Pause()
counter += wm8994_SetMute(DeviceAddr, AUDIO_MUTE_ON);
wm8994.c:771wm8994_Resume()
counter += wm8994_SetMute(DeviceAddr, AUDIO_MUTE_OFF);
wm8994.c:797wm8994_Stop()
counter += wm8994_SetMute(DeviceAddr, AUDIO_MUTE_ON);
wm8994.c:850wm8994_SetVolume()
counter += wm8994_SetMute(DeviceAddr, AUDIO_MUTE_OFF);
wm8994.c:868wm8994_SetVolume()
counter += wm8994_SetMute(DeviceAddr, AUDIO_MUTE_ON);
wm8994.c:873wm8994_SetVolume()
counter += wm8994_SetMute(DeviceAddr, AUDIO_MUTE_OFF);

Call Tree

Functions calling wm8994_SetMute()
Functions called by wm8994_SetMute()
wm8994_SetMute()
all items filtered out
Data read by wm8994_SetMute()
Data written by wm8994_SetMute()
wm8994_SetMute()::counter
wm8994_SetMute()::tmp
all items filtered out
wm8994_SetMute()
wm8994_SetMute()::counter
wm8994_SetMute()::tmp
all items filtered out
Implementations
wm8994_SetMute()
all items filtered out
Type of wm8994_SetMute()
wm8994_SetMute()
uint16_t
uint32_t
all items filtered out