Core2 for AWS IoT EduKit BSP 1.5.1
Core2ForAWS_Speaker_Enable
void Core2ForAWS_Speaker_Enable(bool state);
void Core2ForAWS_Speaker_Enable(bool state)
Enables or disables the NS4168 speaker amplifier.
Definition: core2forAWS.c:153

Enables or disables the NS4168 speaker amplifier.

Note
The speaker cannot be enabled at the same time as the microphone since they both share a common pin (GPIO0). Attempting to enable and use both at the same time will cause the device to hard fault.
Parameters
[in]stateDesired state of the speaker. 1 to enable, 0 to disable.