Macros
CS43L22_Private_Defines
Collaboration diagram for CS43L22_Private_Defines:

Macros

#define VOLUME_CONVERT(Volume)   (((Volume) > 100)? 255:((uint8_t)(((Volume) * 255) / 100)))
 
#define VOLUME_CONVERT(Volume)   (((Volume) > 100)? 255:((uint8_t)(((Volume) * 255) / 100)))
 
#define VOLUME_CONVERT(Volume)   (((Volume) > 100)? 255:((uint8_t)(((Volume) * 255) / 100)))
 

Detailed Description

Macro Definition Documentation

◆ VOLUME_CONVERT [1/3]

#define VOLUME_CONVERT (   Volume)    (((Volume) > 100)? 255:((uint8_t)(((Volume) * 255) / 100)))

◆ VOLUME_CONVERT [2/3]

#define VOLUME_CONVERT (   Volume)    (((Volume) > 100)? 255:((uint8_t)(((Volume) * 255) / 100)))

◆ VOLUME_CONVERT [3/3]

#define VOLUME_CONVERT (   Volume)    (((Volume) > 100)? 255:((uint8_t)(((Volume) * 255) / 100)))


picovoice_driver
Author(s):
autogenerated on Fri Apr 1 2022 02:15:05