cs43l22_SetVolume() is only used within cs43l22.
 
Symbols
loading...
Files
loading...

cs43l22_SetVolume() function

Sets higher or lower the codec volume level.

Syntax

uint32_t cs43l22_SetVolume(uint16_t DeviceAddr,     uint8_t Volume);
Implemented in cs43l22.c:327

Arguments

DeviceAddr

Device address on communication Bus.

Volume

a byte value from 0 to 255 (refer to codec registers description for more details).

Return value

0 if correct communication, else wrong communication

References

LocationReferrerText
cs43l22.c:327
uint32_t cs43l22_SetVolume(uint16_t DeviceAddr, uint8_t Volume)
cs43l22.h:176
uint32_t cs43l22_SetVolume(uint16_t DeviceAddr, uint8_t Volume);
cs43l22.c:82
cs43l22_SetVolume,
cs43l22.c:159cs43l22_Init()
counter += cs43l22_SetVolume(DeviceAddr, Volume);

Call Tree

Functions calling cs43l22_SetVolume()
Functions called by cs43l22_SetVolume()
all items filtered out
cs43l22_SetVolume()
all items filtered out
Data read by cs43l22_SetVolume()
Data written by cs43l22_SetVolume()
cs43l22_SetVolume()::counter
cs43l22_SetVolume()::convertedvol
all items filtered out
cs43l22_SetVolume()
cs43l22_SetVolume()::counter
all items filtered out
Implementations
cs43l22_SetVolume()
all items filtered out
Type of cs43l22_SetVolume()
cs43l22_SetVolume()
uint8_t
uint32_t
all items filtered out