Home
last modified time | relevance | path

Searched refs:dmic_dev (Results 1 – 5 of 5) sorted by relevance

/Zephyr-Core-3.5.0/samples/drivers/audio/dmic/src/
Dmain.c31 static int do_pdm_transfer(const struct device *dmic_dev, in do_pdm_transfer() argument
40 ret = dmic_configure(dmic_dev, cfg); in do_pdm_transfer()
46 ret = dmic_trigger(dmic_dev, DMIC_TRIGGER_START); in do_pdm_transfer()
56 ret = dmic_read(dmic_dev, 0, &buffer, &size, READ_TIMEOUT); in do_pdm_transfer()
67 ret = dmic_trigger(dmic_dev, DMIC_TRIGGER_STOP); in do_pdm_transfer()
78 const struct device *const dmic_dev = DEVICE_DT_GET(DT_NODELABEL(dmic_dev)); in main() local
83 if (!device_is_ready(dmic_dev)) { in main()
84 LOG_ERR("%s is not ready", dmic_dev->name); in main()
116 ret = do_pdm_transfer(dmic_dev, &cfg, 2 * BLOCK_COUNT); in main()
129 ret = do_pdm_transfer(dmic_dev, &cfg, 2 * BLOCK_COUNT); in main()
/Zephyr-Core-3.5.0/samples/drivers/audio/dmic/boards/
Dnrf52840dk_nrf52840.overlay16 dmic_dev: &pdm0 {
Dnrf5340dk_nrf5340_cpuapp.overlay20 dmic_dev: &pdm0 {
/Zephyr-Core-3.5.0/boards/arm/arduino_nano_33_ble/
Darduino_nano_33_ble_sense.dts45 dmic_dev: &pdm0 { label
/Zephyr-Core-3.5.0/samples/drivers/audio/dmic/
DREADME.rst19 label named ``dmic_dev``.