Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
audio_dmic.h File Reference

Digital microphone task. More...

#include <zephyr/kernel.h>
#include <zephyr/audio/dmic.h>
#include <infuse/drivers/imu.h>
#include <infuse/task_runner/task.h>
#include <infuse/task_runner/schedule.h>
#include <infuse/task_runner/tasks/infuse_task_ids.h>

Go to the source code of this file.

Data Structures

struct  task_audio_dmic_config

Macros

#define AUDIO_DMIC_TASK(define_mem, define_config, dmic_node)
 Digital microphone task.

Functions

void dmic_task_fn (const struct task_schedule *schedule, struct k_poll_signal *terminate, void *dmic_dev)
 Digital microphone task function.

Detailed Description

Digital microphone task.

Author
Jordan Yates jorda.nosp@m.n@em.nosp@m.beint.nosp@m..com

SPDX-License-Identifier: FSL-1.1-ALv2

Macro Definition Documentation

◆ AUDIO_DMIC_TASK

#define AUDIO_DMIC_TASK ( define_mem,
define_config,
dmic_node )
Value:
IF_ENABLED(define_mem, (_AUDIO_DMIC_MEM(dmic_node))) \
IF_ENABLED(define_config, (_AUDIO_DMIC_CONFIG(dmic_node)))

Digital microphone task.

Parameters
define_memDefine memory
define_configDefine task
dmic_nodeDigital microphone node label

Function Documentation

◆ dmic_task_fn()

void dmic_task_fn ( const struct task_schedule * schedule,
struct k_poll_signal * terminate,
void * dmic_dev )

Digital microphone task function.

Parameters
scheduleSchedule that triggered task
terminateTerminate request from task runner
dmic_devDigital microphone to use