SPM1423 PDM microphone (Knowles, common on ESP32-S3 Sense boards).
| 210 | |
| 211 | // SPM1423 PDM microphone (Knowles, common on ESP32-S3 Sense boards). |
| 212 | static Config CreateSpm1423Pdm(int pin_din, int pin_clk, |
| 213 | u16 sample_rate = AUDIO_DEFAULT_SAMPLE_RATE, |
| 214 | int i2s_num = 0, |
| 215 | bool invert = false) FL_NOEXCEPT { |
| 216 | Config out(ConfigPdm(pin_din, pin_clk, i2s_num, sample_rate, invert)); |
| 217 | out.setMicProfile(MicProfile::SPM1423); |
| 218 | return out; |
| 219 | } |
| 220 | |
| 221 | // Generic PDM microphone factory method. |
| 222 | // pin_din: PDM data in pin, pin_clk: PDM clock pin. |
nothing calls this directly
no test coverage detected