Searched +full:decimation +full:- +full:rate (Results 1 – 7 of 7) sorted by relevance
/Zephyr-latest/dts/bindings/sensor/ |
D | memsic,mc3419.yaml | 1 # SPDX-License-Identifier: Apache-2.0 5 MC3419 3-axis accel sensor 8 #include <zephyr/dt-bindings/sensor/mc3419.h> 13 lpf-fc-sel = <MC3419_LPF_DISABLE>; 14 decimation-rate = <MC3419_DECIMATE_IDR_BY_1>; 19 include: [sensor-device.yaml, i2c-device.yaml] 22 int-gpios: 23 type: phandle-array 28 int-pin2: 36 lpf-fc-sel: [all …]
|
D | memsic,mmc56x3.yaml | 1 # SPDX-License-Identifier: Apache-2.0 4 description: MMC56X3 3-axis magnetic and temperature sensor 8 include: [sensor-device.yaml, i2c-device.yaml] 12 magn-odr: 15 Specify the default magnetometer output data rate expressed in 21 bandwidth-selection-bits-0: 24 Adjust length of decimation filter. Controls duration of each measurement. 27 bandwidth-selection-bits-1: 30 Adjust length of decimation filter. Controls duration of each measurement. 33 auto-self-reset: [all …]
|
/Zephyr-latest/samples/boards/96boards/argonkey/microphone/ |
D | README.rst | 1 .. zephyr:code-sample:: argonkey_microphone 3 :relevant-api: audio_interface 5 Acquire audio through the ArgonKey's on-board MP34DT05 microphone. 10 the on-board MP34DT05 microphone. The microphone generates a PDM 22 - mezzanine mode, plugging the ArgonKey to HiKey board through its 96Board 23 low-speed connector 24 - standalone mode, supplying 5V directly on P1 connector 29 - :ref:`96b_argonkey` 34 .. zephyr-app-commands:: 35 :zephyr-app: samples/boards/96boards/argonkey/microphone [all …]
|
/Zephyr-latest/samples/shields/x_nucleo_iks02a1/microphone/ |
D | README.rst | 1 .. zephyr:code-sample:: x-nucleo-iks02a1-mic 2 :name: X-NUCLEO-IKS02A1 shield - MEMS microphone 3 :relevant-api: audio_dmic_interface 5 Acquire audio using the digital MEMS microphone on X-NUCLEO-IKS02A1 shield. 9 This sample enables the digital MEMS microphone on X-NUCLEO-IKS02A1 13 the digital MEMS microphone on X-NUCLEO-IKS02A1 shield. 21 This sample communicates over I2C with the X-NUCLEO-IKS02A1 shield 34 - X-NUCLEO-IKS02A1: https://www.st.com/en/ecosystems/x-nucleo-iks02a1.html 39 This sample runs with X-NUCLEO-IKS02A1 stacked on any board with a matching 43 .. zephyr-app-commands:: [all …]
|
/Zephyr-latest/drivers/sensor/memsic/mc3419/ |
D | mc3419.c | 2 * SPDX-License-Identifier: Apache-2.0 33 return -EINVAL; in mc3419_get_odr_value() 39 return i2c_reg_write_byte_dt(&cfg->i2c, MC3419_REG_OP_MODE, mode); in mc3419_set_op_mode() 46 const struct mc3419_config *cfg = dev->config; in mc3419_sample_fetch() 47 struct mc3419_driver_data *data = dev->data; in mc3419_sample_fetch() 49 k_sem_take(&data->sem, K_FOREVER); in mc3419_sample_fetch() 50 ret = i2c_burst_read_dt(&cfg->i2c, MC3419_REG_XOUT_L, in mc3419_sample_fetch() 51 (uint8_t *)data->samples, in mc3419_sample_fetch() 53 k_sem_give(&data->sem); in mc3419_sample_fetch() 72 struct mc3419_driver_data *data = dev->data; in mc3419_channel_get() [all …]
|
/Zephyr-latest/drivers/audio/ |
D | tlv320dac310x.c | 4 * SPDX-License-Identifier: Apache-2.0 25 #define CODEC_OUTPUT_VOLUME_MIN (-78 * 2) 66 const struct codec_driver_config *const dev_cfg = dev->config; in codec_initialize() 68 if (!device_is_ready(dev_cfg->bus.bus)) { in codec_initialize() 70 return -ENODEV; in codec_initialize() 73 if (!gpio_is_ready_dt(&dev_cfg->reset_gpio)) { in codec_initialize() 75 return -ENODEV; in codec_initialize() 84 const struct codec_driver_config *const dev_cfg = dev->config; in codec_configure() 87 if (cfg->dai_type != AUDIO_DAI_TYPE_I2S) { in codec_configure() 89 return -EINVAL; in codec_configure() [all …]
|
/Zephyr-latest/drivers/dai/intel/dmic/ |
D | dmic_nhlt.c | 4 * SPDX-License-Identifier: Apache-2.0 29 sys_write32(val, dmic->reg_base + reg); in dai_dmic_write() 34 return sys_read32(dmic->reg_base + reg); in dai_dmic_read() 64 while (length--) { in dai_dmic_write_coeff() 71 while (length--) { in dai_dmic_write_coeff() 98 fir_length_a = FIELD_GET(FIR_CONFIG_FIR_LENGTH, pdm_cfg->fir_config[0].fir_config) + 1; in dai_dmic_configure_coeff() 99 fir_length_b = FIELD_GET(FIR_CONFIG_FIR_LENGTH, pdm_cfg->fir_config[1].fir_config) + 1; in dai_dmic_configure_coeff() 109 /* First dword is not included into length_0 and length_1 - skip it. */ in dai_dmic_configure_coeff() 118 if (dmic->dai_config_params.dai_index == 0) { in dai_dmic_configure_coeff() 141 FIR_CHANNEL_REGS_SIZE * dmic->dai_config_params.dai_index + FIR_CONFIG); in dai_nhlt_get_clock_div() [all …]
|