/Zephyr-latest/dts/bindings/usb/ |
D | usb-audio-hs.yaml | 1 # Copyright (c) 2020 Nordic Semiconductor ASA 2 # SPDX-License-Identifier: Apache-2.0 8 compatible: "usb-audio-hs" 10 include: [usb-audio.yaml, usb-audio-feature-volume.yaml] 13 mic-resolution: 17 - 8 18 - 16 19 - 24 20 - 32 21 mic-sync-type: [all …]
|
D | usb-audio-mic.yaml | 1 # Copyright (c) 2020 Nordic Semiconductor ASA 2 # SPDX-License-Identifier: Apache-2.0 8 compatible: "usb-audio-mic" 10 include: usb-audio.yaml 17 - 8 18 - 16 19 - 24 20 - 32 21 sync-type: 29 - "No Synchronization" [all …]
|
/Zephyr-latest/samples/subsys/usb/audio/headset/ |
D | app.overlay | 2 * Copyright (c) 2019 Nordic Semiconductor ASA 4 * SPDX-License-Identifier: Apache-2.0 9 compatible = "usb-audio-hs"; 10 mic-feature-mute; 11 mic-channel-l; 12 mic-channel-r; 14 hp-feature-mute; 15 hp-channel-l; 16 hp-channel-r; 18 hp-feature-volume; [all …]
|
/Zephyr-latest/samples/subsys/usb/audio/headphones_microphone/ |
D | app.overlay | 2 * Copyright (c) 2019 Nordic Semiconductor ASA 4 * SPDX-License-Identifier: Apache-2.0 9 compatible = "usb-audio-hp"; 10 feature-mute; 11 channel-l; 12 channel-r; 14 feature-volume; 15 volume-max = <0x0500>; 16 volume-min = <0xBA00>; 17 volume-res = <0x100>; [all …]
|
/Zephyr-latest/include/zephyr/audio/ |
D | dmic.h | 2 * Copyright (c) 2018, Intel Corporation 7 * SPDX-License-Identifier: Apache-2.0 41 extern "C" { 71 PDM_CHAN_LEFT, /**< Left channel */ 72 PDM_CHAN_RIGHT, /**< Right channel */ 83 /** Minimum clock frequency supported by the mic */ 85 /** Maximum clock frequency supported by the mic */ 87 /** Minimum duty cycle in % supported by the mic */ 89 /** Maximum duty cycle in % supported by the mic */ 101 /** Bit mask to optionally invert mic data */ [all …]
|
/Zephyr-latest/boards/nordic/nrf5340_audio_dk/ |
D | nrf5340_audio_dk_nrf5340_cpuapp_common.dtsi | 2 * Copyright (c) 2020-2022 Nordic Semiconductor ASA 4 * SPDX-License-Identifier: Apache-2.0 6 #include "nrf5340_audio_dk_nrf5340_cpuapp_common-pinctrl.dtsi" 7 #include <zephyr/dt-bindings/sensor/ina230.h> 12 zephyr,shell-uart = &uart0; 13 zephyr,uart-mcumgr = &uart0; 14 zephyr,bt-mon-uart = &uart0; 15 zephyr,bt-c2h-uart = &uart0; 16 zephyr,bt-hci = &bt_hci_ipc0; 20 gpio_fwd: nrf-gpio-forwarder { [all …]
|
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/ |
D | pdu.h | 2 * Copyright (c) 2016 Nordic Semiconductor ASA 3 * Copyright (c) 2016 Vinayak Kariappa Chettimada 5 * SPDX-License-Identifier: Apache-2.0 35 /* Advertisement channel minimum payload size */ 37 /* Advertisement channel maximum legacy payload size */ 39 /* Advertisement channel maximum legacy advertising/scan data size */ 43 /* Advertisement channel maximum extended payload size */ 69 #define PDU_AC_EXT_AD_DATA_LEN_MAX (PDU_AC_PAYLOAD_SIZE_MAX - \ 78 /* Link Layer Advertisement channel maximum PDU buffer size */ 81 /* Advertisement channel Access Address */ [all …]
|
D | ull_llcp_enc.c | 2 * Copyright (c) 2020 Demant 4 * SPDX-License-Identifier: Apache-2.0 153 ecb_encrypt(&ctx->data.enc.ltk[0], &ctx->data.enc.skd[0], NULL, &conn->lll.ccm_rx.key[0]); in enc_setup_lll() 156 memcpy(&conn->lll.ccm_tx.key[0], &conn->lll.ccm_rx.key[0], sizeof(conn->lll.ccm_tx.key)); in enc_setup_lll() 159 memcpy(&conn->lll.ccm_tx.iv[0], &conn->lll.ccm_rx.iv[0], sizeof(conn->lll.ccm_tx.iv)); in enc_setup_lll() 162 conn->lll.ccm_tx.counter = 0U; in enc_setup_lll() 163 conn->lll.ccm_rx.counter = 0U; in enc_setup_lll() 170 conn->lll.ccm_tx.direction = 0U; in enc_setup_lll() 171 conn->lll.ccm_rx.direction = 1U; in enc_setup_lll() 173 conn->lll.ccm_tx.direction = 1U; in enc_setup_lll() [all …]
|
/Zephyr-latest/soc/intel/intel_adsp/ace/include/ace15_mtpm/ |
D | dmic_regs_ace1x.h | 1 /* SPDX-License-Identifier: Apache-2.0 */ 3 * Copyright (c) 2023 Intel Corporation 11 /* Digital Mic Shim Registers */ 25 /* Stream Channel Mapping Supported */ 83 /* Digital Microphone PCM Stream y Channel Map 90 /* Lowest Channel */ 93 /* Highest Channel */ 100 /* Digital Microphone PCM Stream y Channel Count 107 /* Number of Channel Supported */ 118 /* Left Channel SoundWire Bus Segment */ [all …]
|
/Zephyr-latest/soc/intel/intel_adsp/ace/include/ |
D | dmic_regs.h | 1 /* SPDX-License-Identifier: Apache-2.0 */ 3 * Copyright (c) 2023 Intel Corporation 42 /* Capture Link Select - select which link wall clock to time stamp. */ 68 /* Common FIFO channels register (primary & secondary) (0000 - 0FFF) 69 * PDM Primary Channel 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 87 /* Offset to PDM Secondary Channel */ 110 /* Control of the CIC filter plus voice channel (B) FIR decimation factor */ [all …]
|
/Zephyr-latest/subsys/lorawan/ |
D | lw_priv.c | 2 * Copyright (c) 2020 Manivannan Sadhasivam <mani@kernel.org> 4 * SPDX-License-Identifier: Apache-2.0 26 [LORAMAC_STATUS_DUTYCYCLE_RESTRICTED] = "Duty-cycle restricted", 27 [LORAMAC_STATUS_NO_CHANNEL_FOUND] = "No channel found", 28 [LORAMAC_STATUS_NO_FREE_CHANNEL_FOUND] = "No free channel found", 32 "Busy ping-slot window time", 65 [LORAMAC_EVENT_INFO_STATUS_MIC_FAIL] = "MIC fail", 84 * which the error originated rather than its cause or meaning. -EINVAL has been 89 [LORAMAC_STATUS_BUSY] = -EBUSY, 90 [LORAMAC_STATUS_SERVICE_UNKNOWN] = -ENOPROTOOPT, [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/soc/intel/intel_adsp/cavs/include/cavs25/ |
D | dmic_regs.h | 1 /* SPDX-License-Identifier: Apache-2.0 */ 3 * Copyright (c) 2023 Intel Corporation 65 /* Common FIFO channels register (primary & secondary) (0000 - 0FFF) 66 * PDM Primary Channel 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 84 /* Offset to PDM Secondary Channel */ 107 /* Control of the CIC filter plus voice channel (B) FIR decimation factor */ 121 /* DC offset for left channel */ [all …]
|
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/lll/ |
D | lll_sync_iso.c | 2 * Copyright (c) 2021 Nordic Semiconductor ASA 4 * SPDX-License-Identifier: Apache-2.0 131 elapsed = p->lazy + 1U; in prepare() 133 lll = p->param; in prepare() 136 lll->latency_prepare += elapsed; in prepare() 139 lll->window_widening_prepare_us += lll->window_widening_periodic_us * in prepare() 141 if (lll->window_widening_prepare_us > lll->window_widening_max_us) { in prepare() 142 lll->window_widening_prepare_us = lll->window_widening_max_us; in prepare() 153 LL_ASSERT(!err || err == -EINPROGRESS); in create_prepare_bh() 162 LL_ASSERT(!err || err == -EINPROGRESS); in prepare_bh() [all …]
|
D | lll_central_iso.c | 2 * Copyright (c) 2022 Nordic Semiconductor ASA 4 * SPDX-License-Identifier: Apache-2.0 106 elapsed = p->lazy + 1U; in lll_central_iso_prepare() 109 cig_lll = p->param; in lll_central_iso_prepare() 110 cig_lll->latency_prepare += elapsed; in lll_central_iso_prepare() 114 LL_ASSERT(!err || err == -EINPROGRESS); in lll_central_iso_prepare() 124 struct lll_conn_iso_group *cig_lll = p->param; in prepare_cb() 155 } while (cis_lll && !cis_lll->active); in prepare_cb() 160 cis_offset_first = cis_lll->offset; in prepare_cb() 163 conn_lll = ull_conn_lll_get(cis_lll->acl_handle); in prepare_cb() [all …]
|
D | lll_peripheral_iso.c | 2 * Copyright (c) 2021 Nordic Semiconductor ASA 4 * SPDX-License-Identifier: Apache-2.0 106 cig_lll = p->param; in lll_peripheral_iso_prepare() 110 LL_ASSERT(!err || err == -EINPROGRESS); in lll_peripheral_iso_prepare() 126 struct lll_conn_iso_group *cig_lll = p->param; in prepare_cb() 157 } while (cis_lll && !cis_lll->active); in prepare_cb() 162 cis_offset_first = cis_lll->offset; in prepare_cb() 165 conn_lll = ull_conn_lll_get(cis_lll->acl_handle); in prepare_cb() 167 /* Event counter value, 0-15 bit of cisEventCounter */ in prepare_cb() 168 event_counter = cis_lll->event_count; in prepare_cb() [all …]
|
/Zephyr-latest/tests/bsim/bluetooth/audio/src/ |
D | bap_broadcast_sink_test.c | 2 * Copyright (c) 2021-2024 Nordic Semiconductor ASA 4 * SPDX-License-Identifier: Apache-2.0 147 FAIL("Could not get subgroup channel allocation: %d\n", ret); in valid_base_subgroup() 152 if (chan_cnt == 0 || (BIT(chan_cnt - 1) & SUPPORTED_CHAN_COUNTS) == 0) { in valid_base_subgroup() 153 printk("Unsupported channel count: %u\n", chan_cnt); in valid_base_subgroup() 183 /* An SDU can consist of X frame blocks, each with Y frames (one per channel) of size Z in in valid_base_subgroup() 258 sink, biginfo->encryption ? "" : "out"); in syncable_cb() 293 /* no-op*/ in scan_check_and_sync_broadcast() 297 if (data->type != BT_DATA_SVC_DATA16) { in scan_check_and_sync_broadcast() 301 if (data->data_len < BT_UUID_SIZE_16 + BT_AUDIO_BROADCAST_ID_SIZE) { in scan_check_and_sync_broadcast() [all …]
|
/Zephyr-latest/drivers/ieee802154/ |
D | ieee802154_cc2520.c | 1 /* ieee802154_cc2520.c - TI CC2520 driver */ 6 * Copyright (c) 2016 Intel Corporation. 8 * SPDX-License-Identifier: Apache-2.0 47 * 1 - Debug related functions 48 * 2 - Generic helper functions (for any parts) 49 * 3 - GPIO related functions 50 * 4 - TX related helper functions 51 * 5 - RX related helper functions 52 * 6 - Radio device API functions 53 * 7 - Legacy radio device API functions [all …]
|
/Zephyr-latest/subsys/usb/device/class/audio/ |
D | audio.c | 2 * Copyright (c) 2020 Nordic Semiconductor ASA 4 * SPDX-License-Identifier: Apache-2.0 70 * @param [in] dev Device type. Must be HP/MIC 185 * Helper function for getting channel number directly from the 190 return (fu->bLength - FU_FIXED_ELEMS_SIZE)/sizeof(uint16_t); in get_num_of_channels() 199 return sys_get_le16((uint8_t *)&fu->bmaControls[0]); in get_controls() 210 ((uint8_t *)fu + fu->bLength); in get_fu_dir() 213 if (ot->wTerminalType == USB_AUDIO_USB_STREAMING) { in get_fu_dir() 234 header->bLength + in fix_fu_descriptors() 239 (void)memcpy(&fu->bmaControls[i], in fix_fu_descriptors() [all …]
|
D | usb_audio_internal.h | 4 * Copyright (c) 2020 Nordic Semiconductor ASA 6 * SPDX-License-Identifier: Apache-2.0 108 * Master channel (0) excluded. 191 * Multiplication by 3 for HP/MIC comes from the fact that 3 entities are 203 * be 3rd entity (Output terminal) - addition of 3. 467 /** refer to Table 4-7 from audio10.pdf 481 /* Class-Specific AS Interface Descriptor 4.5.2 audio10.pdf */ 495 /** Class-Specific AS Format Type Descriptor 4.5.3 audio10.pdf
|
/Zephyr-latest/drivers/dai/intel/dmic/ |
D | dmic.c | 2 * Copyright (c) 2022 Intel Corporation. 4 * SPDX-License-Identifier: Apache-2.0 33 /* Helper macro to read 64-bit data using two 32-bit data read */ 40 * fairly accurately exponent for x in range -2.0 .. +2.0. The iteration 61 p = num * x; /* Q9.23 x Q3.29 -> Q12.52 */ in exp_small_fixed() 79 if (x < Q_CONVERT_FLOAT(-11.5, 27)) { in exp_fixed() 110 if (db < Q_CONVERT_FLOAT(-100.0, 24)) { in db2lin_fixed() 122 uint32_t dest = dmic->reg_base + reg; in dai_dmic_update_bits() 130 sys_write32(val, dmic->reg_base + reg); in dai_dmic_write() 136 return sys_read32(dmic->reg_base + reg); in dai_dmic_read() [all …]
|
/Zephyr-latest/doc/releases/ |
D | release-notes-3.0.rst | 22 * CVE-2021-3835: `Zephyr project bug tracker GHSA-fm6v-8625-99jf 23 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-fm6v-8625-99jf>`_ 25 * CVE-2021-3861: `Zephyr project bug tracker GHSA-hvfp-w4h8-gxvj 26 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-hvfp-w4h8-gxvj>`_ 28 * CVE-2021-3966: `Zephyr project bug tracker GHSA-hfxq-3w6x-fv2m 29 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-hfxq-3w6x-fv2m>`_ 36 <https://github.com/zephyrproject-rtos/zephyr/issues?q=is%3Aissue+is%3Aopen+label%3Abug>`_. 46 * :c:func:`uart_tx` 47 * :c:func:`uart_rx_enable` 49 * Replaced custom LwM2M :c:struct:`float32_value` type with a native double type. [all …]
|
/Zephyr-latest/subsys/bluetooth/host/shell/ |
D | bt.c | 8 * Copyright (c) 2017 Intel Corporation 9 * Copyright (c) 2018 Nordic Semiconductor ASA 11 * SPDX-License-Identifier: Apache-2.0 125 "non-resolvable"; in print_le_addr() 310 switch (data->type) { in data_cb() 314 memcpy(name, data->data, MIN(data->data_len, NAME_LEN - 1)); in data_cb() 331 for (int16_t i = len - 1; i >= 0; i--) { in print_data_hex() 356 print_data_hex(&scan_data[idx], scan_data_len - idx, SHELL_WARNING); in print_data_set() 362 bt_shell_fprintf_info("%*sType 0x%02x: ", strlen(scan_response_label), "", data->type); in data_verbose_cb() 364 switch (data->type) { in data_verbose_cb() [all …]
|