Core2 for AWS IoT EduKit BSP 1.5.1
Macros | Functions
microphone.h File Reference

Functions for the SPM1423 microphone. More...

Go to the source code of this file.

Macros

#define MIC_I2S_NUMBER   I2S_NUM_0
 Microphone I2S port number. More...
 

Functions

void Microphone_Init ()
 Initializes the microphone over I2S. More...
 
void Microphone_Deinit ()
 De-initializes the microphone over I2S. More...
 

Detailed Description

Functions for the SPM1423 microphone.

Macro Definition Documentation

◆ MIC_I2S_NUMBER

#define MIC_I2S_NUMBER   I2S_NUM_0

Microphone I2S port number.

Function Documentation

◆ Microphone_Init()

void Microphone_Init ( )

Initializes the microphone over I2S.

Note
The microphone cannot be enabled at the same time as the speaker 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.

◆ Microphone_Deinit()

void Microphone_Deinit ( )

De-initializes the microphone over I2S.