Zephyr API Documentation  3.6.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
pcm_stream_cfg Struct Reference

Configuration of the PCM streams to be output by the PDM hardware. More...

#include <dmic.h>

Data Fields

uint32_t pcm_rate
 PCM sample rate of stream.
 
uint8_t pcm_width
 PCM sample width of stream.
 
uint16_t block_size
 PCM sample block size per transfer.
 
struct k_mem_slab * mem_slab
 SLAB for DMIC driver to allocate buffers for stream.
 

Detailed Description

Configuration of the PCM streams to be output by the PDM hardware.

Note
if either pcm_rate or pcm_width is set to 0 for a stream, the stream would be disabled

Field Documentation

◆ block_size

uint16_t pcm_stream_cfg::block_size

PCM sample block size per transfer.

◆ mem_slab

struct k_mem_slab* pcm_stream_cfg::mem_slab

SLAB for DMIC driver to allocate buffers for stream.

◆ pcm_rate

uint32_t pcm_stream_cfg::pcm_rate

PCM sample rate of stream.

◆ pcm_width

uint8_t pcm_stream_cfg::pcm_width

PCM sample width of stream.


The documentation for this struct was generated from the following file: