/Zephyr-latest/include/zephyr/bluetooth/audio/ |
D | aics.h | 3 * @brief Bluetooth Audio Input Control Service APIs. 7 * Copyright (c) 2020-2024 Nordic Semiconductor ASA 9 * SPDX-License-Identifier: Apache-2.0 16 * @brief Audio Input Control Service (AICS) 18 * @defgroup bt_aics Audio Input Control Service (AICS) 26 * The Audio Input Control Service is a secondary service, and as such should not be used on its 30 * Note that the API abstracts away the change counter in the audio input control state and will 46 * @name Audio Input Control Service mute states 58 * @name Audio Input Control Service input modes 62 * @brief The gain mode is manual only and cannot be changed to automatic. [all …]
|
/Zephyr-latest/dts/bindings/usb/uac2/ |
D | zephyr,uac2-feature-unit.yaml | 2 # SPDX-License-Identifier: Apache-2.0 6 compatible: "zephyr,uac2-feature-unit" 8 # string-array properties start with Primary channel 0 and follow with Logical 9 # channel(s). The "not-present" value is allowed to facilitate having controls 14 data-source: 18 mute-control: 19 type: string-array 20 description: Mute Control capabilities 22 - "read-only" 23 - "host-programmable" [all …]
|
/Zephyr-latest/dts/bindings/net/wireless/ |
D | generic-fem-two-ctrl-pins.yaml | 1 # Copyright (c) 2020-2021 Nordic Semiconductor ASA 2 # SPDX-License-Identifier: Apache-2.0 5 This is a representation of generic radio Front-End Module (FEM) 6 that has a two-pin control interface (CTX, CRX). 8 The CTX control pin is used to enable the Power Amplifier (PA) in 12 The CRX control pin is used to enable the Low Noise Amplifier 18 corresponding settle-time-us property.) 20 compatible: "generic-fem-two-ctrl-pins" 25 ctx-gpios: 26 type: phandle-array [all …]
|
/Zephyr-latest/tests/subsys/usb/uac2/ |
D | app.overlay | 4 * SPDX-License-Identifier: Apache-2.0 7 #include <dt-bindings/usb/audio.h> 13 full-speed; 14 high-speed; 15 audio-function = <AUDIO_FUNCTION_HEADSET>; 18 compatible = "zephyr,uac2-clock-source"; 19 clock-type = "internal-programmable"; 20 frequency-control = "host-programmable"; 21 sampling-frequencies = <48000>; 25 compatible = "zephyr,uac2-input-terminal"; [all …]
|
/Zephyr-latest/dts/bindings/haptics/ |
D | ti,drv2605.yaml | 2 # SPDX-License-Identifier: Apache-2.0 5 DRV2605 Haptic Driver for ERM and LRA with built-in library and smart-loop 10 include: i2c-device.yaml 13 actuator-mode: 17 - "ERM" 18 - "LRA" 19 feedback-brake-factor: 22 - "1X" 23 - "2X" 24 - "3X" [all …]
|
/Zephyr-latest/tests/bluetooth/tester/src/audio/btp/ |
D | btp_aics.h | 1 /* btp_aics.h - Bluetooth tester headers */ 6 * SPDX-License-Identifier: Apache-2.0 14 /** Number of Audio Input Control Service instances */ 16 /** Array of pointers to Audio Input Control Service instances */ 23 void btp_send_aics_state_ev(struct bt_conn *conn, uint8_t att_status, int8_t gain, uint8_t mute, 42 int8_t gain; member 104 int8_t gain; member
|
/Zephyr-latest/soc/intel/intel_adsp/cavs/include/cavs25/ |
D | dmic_regs.h | 1 /* SPDX-License-Identifier: Apache-2.0 */ 21 /* Time Stamp Control Register */ 65 /* Common FIFO channels register (primary & secondary) (0000 - 0FFF) 69 /* Control registers for packers */ 79 * (crossed out) 0010h LOCAL_TSC0 64-bit Wall Clock timestamp 80 * (crossed out) 0018h LOCAL_SAMPLE0 64-bit Sample Count 81 * 001Ch - 00FFh Reserved space for extensions 104 /* Control register for CIC configuration and decimator setting */ 107 /* Control of the CIC filter plus voice channel (B) FIR decimation factor */ 110 /* Microphone interface control register */ [all …]
|
/Zephyr-latest/samples/bluetooth/hap_ha/src/ |
D | micp_mic_dev.c | 2 * @brief Bluetooth Microphone Control Profile (MICP) Microphone Device role. 5 * Copyright (c) 2020-2022 Nordic Semiconductor ASA 8 * SPDX-License-Identifier: Apache-2.0 31 static void micp_mic_dev_aics_state_cb(struct bt_aics *inst, int err, int8_t gain, uint8_t mute, in micp_mic_dev_aics_state_cb() argument 37 printk("AICS inst %p state gain %d, mute %u, mode %u\n", in micp_mic_dev_aics_state_cb() 38 inst, gain, mute, mode); in micp_mic_dev_aics_state_cb() 46 printk("AICS gain settings get failed (%d) for inst %p\n", err, inst); in micp_mic_dev_aics_gain_setting_cb() 48 printk("AICS inst %p gain settings units %u, min %d, max %d\n", in micp_mic_dev_aics_gain_setting_cb() 56 printk("AICS input type get failed (%d) for inst %p\n", err, inst); in micp_mic_dev_aics_input_type_cb() 58 printk("AICS inst %p input type %u\n", inst, input_type); in micp_mic_dev_aics_input_type_cb() [all …]
|
D | vcp_vol_renderer.c | 2 * @brief Bluetooth Volume Control Profile (VCP) Volume Renderer role. 5 * Copyright (c) 2020-2022 Nordic Semiconductor ASA 8 * SPDX-License-Identifier: Apache-2.0 39 static void aics_state_cb(struct bt_aics *inst, int err, int8_t gain, uint8_t mute, uint8_t mode) in aics_state_cb() argument 44 printk("AICS inst %p state gain %d, mute %u, mode %u\n", in aics_state_cb() 45 inst, gain, mute, mode); in aics_state_cb() 53 printk("AICS gain settings get failed (%d) for inst %p\n", err, inst); in aics_gain_setting_cb() 55 printk("AICS inst %p gain settings units %u, min %d, max %d\n", in aics_gain_setting_cb() 63 printk("AICS input type get failed (%d) for inst %p\n", err, inst); in aics_input_type_cb() 65 printk("AICS inst %p input type %u\n", inst, input_type); in aics_input_type_cb() [all …]
|
/Zephyr-latest/soc/intel/intel_adsp/ace/include/ |
D | dmic_regs.h | 1 /* SPDX-License-Identifier: Apache-2.0 */ 21 /* Time Stamp Control Register */ 42 /* Capture Link Select - select which link wall clock to time stamp. */ 68 /* Common FIFO channels register (primary & secondary) (0000 - 0FFF) 72 /* Control registers for packers */ 82 * (crossed out) 0010h LOCAL_TSC0 64-bit Wall Clock timestamp 83 * (crossed out) 0018h LOCAL_SAMPLE0 64-bit Sample Count 84 * 001Ch - 00FFh Reserved space for extensions 107 /* Control register for CIC configuration and decimator setting */ 110 /* Control of the CIC filter plus voice channel (B) FIR decimation factor */ [all …]
|
/Zephyr-latest/drivers/adc/ |
D | adc_emul.c | 10 * SPDX-License-Identifier: Apache-2.0 44 /** Pointer to function used to obtain input mV or raw input value */ 48 /** Constant mV input value or raw input value */ 50 /** Gain used on output value */ 51 enum adc_gain gain; member 54 /** Input source which is used to obtain input value */ 55 enum adc_emul_input_source input; member 98 /** Semaphore used to control acquisition thread */ 100 /** Mutex used to control access to channels config and ref voltages */ 111 const struct adc_emul_config *config = dev->config; in adc_emul_const_value_set() [all …]
|
D | adc_ads114s0x.c | 4 * SPDX-License-Identifier: Apache-2.0 12 #include <zephyr/dt-bindings/adc/ads114s0x_adc.h> 85 FIELD_GET(GENMASK(pos + length - 1, pos), value) 87 target &= ~GENMASK(pos + length - 1, pos); \ 88 target |= FIELD_PREP(GENMASK(pos + length - 1, pos), value) 356 * - AIN0 as positive input 357 * - AIN1 as negative input 363 * - disable reference monitor 364 * - enable positive reference buffer 365 * - disable negative reference buffer [all …]
|
D | adc_sam.c | 4 * SPDX-License-Identifier: Apache-2.0 69 const struct adc_sam_config *const cfg = dev->config; in adc_sam_channel_setup() 70 Adc *const adc = cfg->regs; in adc_sam_channel_setup() 72 uint8_t channel_id = channel_cfg->channel_id; in adc_sam_channel_setup() 74 if (channel_cfg->differential) { in adc_sam_channel_setup() 75 if (channel_id != (channel_cfg->input_positive / 2U) in adc_sam_channel_setup() 76 || channel_id != (channel_cfg->input_negative / 2U)) { in adc_sam_channel_setup() 77 LOG_ERR("Invalid ADC differential input for channel %u", channel_id); in adc_sam_channel_setup() 78 return -EINVAL; in adc_sam_channel_setup() 81 if (channel_id != channel_cfg->input_positive) { in adc_sam_channel_setup() [all …]
|
/Zephyr-latest/subsys/bluetooth/audio/shell/ |
D | micp_mic_ctlr.c | 5 * Copyright (c) 2020-2022 Nordic Semiconductor ASA 7 * SPDX-License-Identifier: Apache-2.0 85 shell_error(ctx_shell, "Set gain failed (%d) for inst %p", in micp_mic_ctlr_aics_set_gain_cb() 88 shell_print(ctx_shell, "Gain set for inst %p", inst); in micp_mic_ctlr_aics_set_gain_cb() 136 int8_t gain, uint8_t mute, uint8_t mode) in micp_mic_ctlr_aics_state_cb() argument 142 shell_print(ctx_shell, "AICS inst %p state gain %d, mute %u, " in micp_mic_ctlr_aics_state_cb() 143 "mode %u", inst, gain, mute, mode); in micp_mic_ctlr_aics_state_cb() 153 shell_error(ctx_shell, "AICS gain settings get failed (%d) for " in micp_mic_ctlr_aics_gain_setting_cb() 156 shell_print(ctx_shell, "AICS inst %p gain settings units %u, " in micp_mic_ctlr_aics_gain_setting_cb() 167 shell_error(ctx_shell, "AICS input type get failed (%d) for " in micp_mic_ctlr_aics_input_type_cb() [all …]
|
D | vcp_vol_ctlr.c | 5 * Copyright (c) 2020-2022 Nordic Semiconductor ASA 7 * SPDX-License-Identifier: Apache-2.0 132 shell_error(ctx_shell, "Set gain failed (%d) for inst %p", in vcs_aics_set_gain_cb() 135 shell_print(ctx_shell, "Gain set for inst %p", inst); in vcs_aics_set_gain_cb() 182 static void vcs_aics_state_cb(struct bt_aics *inst, int err, int8_t gain, in vcs_aics_state_cb() argument 190 "AICS inst %p state gain %d, mute %u, mode %u", in vcs_aics_state_cb() 191 inst, gain, mute, mode); in vcs_aics_state_cb() 201 "AICS gain settings get failed (%d) for inst %p", in vcs_aics_gain_setting_cb() 205 "AICS inst %p gain settings units %u, min %d, max %d", in vcs_aics_gain_setting_cb() 215 "AICS input type get failed (%d) for inst %p", in vcs_aics_input_type_cb() [all …]
|
D | vcp_vol_rend.c | 5 * Copyright (c) 2020-2022 Nordic Semiconductor ASA 7 * SPDX-License-Identifier: Apache-2.0 49 static void aics_state_cb(struct bt_aics *inst, int err, int8_t gain, in aics_state_cb() argument 58 "AICS inst %p state gain %d, mute %u, mode %u", in aics_state_cb() 59 inst, gain, mute, mode); in aics_state_cb() 68 "AICS gain settings get failed (%d) for inst %p", in aics_gain_setting_cb() 72 "AICS inst %p gain settings units %u, min %d, max %d", in aics_gain_setting_cb() 82 "AICS input type get failed (%d) for inst %p", in aics_input_type_cb() 85 shell_print(ctx_shell, "AICS inst %p input type %u", in aics_input_type_cb() 200 "Input %d", i + 1); in cmd_vcp_vol_rend_init() [all …]
|
/Zephyr-latest/dts/bindings/sensor/ |
D | ti,fdc2x1x.yaml | 2 # SPDX-License-Identifier: Apache-2.0 8 include: [sensor-device.yaml, i2c-device.yaml] 11 sd-gpios: 12 type: phandle-array 18 intb-gpios: 19 type: phandle-array 28 Set to identify the sensor as FDC2114 or FDC2214 (4-channel version) 33 Set the Auto-Scan Mode. 36 "active-channel" (single channel mode). 38 true = Auto-Scan conversions as selected by "rr-sequence" [all …]
|
/Zephyr-latest/soc/microchip/mec/mec172x/reg/ |
D | mec172x_vbat.h | 4 * SPDX-License-Identifier: Apache-2.0 16 /* Offset 0x00 Power-Fail and Reset Status */ 52 /* crystal amplifier gain control */ 68 /* 32K input pin on VTR. Switch to Silicon OSC on VBAT */ 70 /* 32K input pin on VTR. Switch to crystal on VBAT */ 77 * Monotonic Counter least significant word (32-bit), read-only. 82 /* Monotonic Counter most significant word (32-bit). Read-Write */
|
/Zephyr-latest/doc/services/shell/ |
D | index.rst | 13 This module allows you to create and handle a shell with a user-defined command 15 interaction is required. This module is a Unix-like shell with these features: 22 * Built-in commands: :command:`clear`, :command:`shell`, :command:`colors`, 27 * Support for ANSI escape codes: ``VT100`` and ``ESC[n~`` for cursor control 30 * Built-in handler to display help for the commands. 48 The module can be connected to any transport for command input and output. 59 * DUMMY - not a physical transport layer. 68 .. code-block:: none 80 `tab completion <tab-feature_>`_, and `history <history-feature_>`_ 86 To configure Shell USB CDC ACM backend, simply add the snippet ``cdc-acm-console`` [all …]
|
/Zephyr-latest/boards/nxp/rd_rw612_bga/ |
D | rd_rw612_bga.dtsi | 2 * Copyright 2022-2024 NXP 4 * SPDX-License-Identifier: Apache-2.0 8 #include "rd_rw612_bga-pinctrl.dtsi" 9 #include <zephyr/dt-bindings/input/input-event-codes.h> 16 usart-0 = &flexcomm3; 18 i2c-0 = &flexcomm2; 20 dmic-dev = &dmic0; 21 mcuboot-button0 = &sw_4; 22 pwm-0 = &sctimer; 28 zephyr,code-partition = &slot0_partition; [all …]
|
/Zephyr-latest/boards/espressif/esp32s3_eye/ |
D | esp32s3_eye_procpu.dts | 4 * SPDX-License-Identifier: Apache-2.0 6 /dts-v1/; 9 #include "esp32s3_eye-pinctrl.dtsi" 10 #include <zephyr/dt-bindings/input/input-event-codes.h> 11 #include <zephyr/dt-bindings/input/esp32-touch-sensor-input.h> 12 #include <zephyr/dt-bindings/mipi_dbi/mipi_dbi.h> 16 model = "Espressif ESP32S3-EYE PROCPU"; 20 i2c-0 = &i2c0; 29 zephyr,shell-uart = &usb_serial; 31 zephyr,code-partition = &slot0_partition; [all …]
|
/Zephyr-latest/drivers/video/ |
D | ov7670.c | 4 * SPDX-License-Identifier: Apache-2.0 213 /* Brightness Control, with signal -128 to +128, 0x00 is middle value */ 216 /* Internal clock pre-scalar,F(internal clock) = F(input clock)/(Bit[5:0]+1) */ 217 {OV7670_CLKRC, 0x80}, /* Clock Div, Input/(n+1), bit6 set to 1 to disable divider */ 219 /* DBLV,Bit[7:6]: PLL control */ 220 /* 0:Bypass PLL, 40: Input clock x4 , 80: Input clock x6 ,C0: Input clock x8 */ 224 {OV7670_COM2, 0x00}, /* Common Control 2, Output Drive Capability: 1x */ 233 {OV7670_DNSTH, 0x00}, /* De-noise Strength */ 255 {OV7670_COM15, 0xD0}, /* Common Control 15 */ 257 {OV7670_COM13, 0x80}, /* Common Control 13 */ [all …]
|
/Zephyr-latest/tests/bluetooth/tester/src/audio/ |
D | btp_vcp.c | 1 /* btp_vcp.c - Bluetooth VCP Tester */ 6 * SPDX-License-Identifier: Apache-2.0 48 uint16_t control; member 55 uint16_t gain; member 58 uint16_t control; member 65 /* Volume Control Service */ 72 tester_set_bit(rp->data, BTP_VCS_READ_SUPPORTED_COMMANDS); in vcs_supported_commands() 73 tester_set_bit(rp->data, BTP_VCS_SET_VOL); in vcs_supported_commands() 74 tester_set_bit(rp->data, BTP_VCS_VOL_UP); in vcs_supported_commands() 75 tester_set_bit(rp->data, BTP_VCS_VOL_DOWN); in vcs_supported_commands() [all …]
|
/Zephyr-latest/tests/drivers/build_all/input/ |
D | app.overlay | 4 * SPDX-License-Identifier: Apache-2.0 7 #include <zephyr/dt-bindings/input/input-event-codes.h> 11 #address-cells = <1>; 12 #size-cells = <1>; 17 #io-channel-cells = <1>; 18 #address-cells = <1>; 19 #size-cells = <0>; 24 zephyr,gain = "ADC_GAIN_1"; 26 zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>; 32 gpio-controller; [all …]
|
/Zephyr-latest/subsys/bluetooth/audio/ |
D | aics_client.c | 7 * SPDX-License-Identifier: Apache-2.0 61 uint16_t handle = params->value_handle; in aics_client_notify_handler() 81 if (handle == inst->cli.state_handle) { in aics_client_notify_handler() 84 LOG_DBG("Inst %p: Gain %d, mute %u, gain_mode %u, counter %u", inst, in aics_client_notify_handler() 85 state->gain, state->mute, state->gain_mode, state->change_counter); in aics_client_notify_handler() 87 inst->cli.change_counter = state->change_counter; in aics_client_notify_handler() 89 if (inst->cli.cb && inst->cli.cb->state) { in aics_client_notify_handler() 90 inst->cli.cb->state(inst, 0, state->gain, in aics_client_notify_handler() 91 state->mute, in aics_client_notify_handler() 92 state->gain_mode); in aics_client_notify_handler() [all …]
|