PebbleOS v4.47.0
Loading...
Searching...
No Matches
Digital microphone

Digital microphones on a PDM interface, as a codec without a gain: powered from their reference supply while recording, the gain left to the interface. More...

Data Structures

struct  pbl_audio_dmic
 Digital microphones. More...
 

Macros

#define PBL_AUDIO_DMIC_DEFINE(sym, _name, _vref, _wakeup_delay_ms)
 Define digital microphones.
 

Detailed Description

Digital microphones on a PDM interface, as a codec without a gain: powered from their reference supply while recording, the gain left to the interface.


Data Structure Documentation

◆ pbl_audio_dmic

struct pbl_audio_dmic

Digital microphones.

Data Fields
struct pbl_audio_codec codec Codec.
const struct pbl_regulator * vref Reference supply, or NULL.
uint32_t wakeup_delay_ms Time the microphones take to wake up once powered, in ms.

Macro Definition Documentation

◆ PBL_AUDIO_DMIC_DEFINE

#define PBL_AUDIO_DMIC_DEFINE (   sym,
  _name,
  _vref,
  _wakeup_delay_ms 
)
Value:
PBL_DEVICE_INSTANCE(sym, struct pbl_audio_dmic, struct pbl_audio_codec, codec) { \
.codec = \
{ \
.dev = PBL_DEVICE_INIT(sym, _name, nullptr, nullptr, nullptr), \
.ops = &pbl_audio_dmic_ops, \
}, \
.vref = (_vref), .wakeup_delay_ms = (_wakeup_delay_ms), \
}
Digital microphones.
Definition dmic.h:20
A codec: a separate chip converting between the link and the analog side.
Definition audio.h:261
#define PBL_DEVICE_STATE_DEFINE(sym)
Define the runtime state of device instance sym.
Definition device.h:131
#define PBL_DEVICE_INIT(sym, _name, _init, _parent, _deps)
Initializer for the struct pbl_device of device instance sym.
Definition device.h:164

Define digital microphones.

Parameters
symSymbol of the codec.
_nameDevice name.
_vrefReference supply, or NULL.
_wakeup_delay_msTime they take to wake up once powered, in ms.