Home
last modified time | relevance | path

Searched +full:tx +full:- +full:pwr +full:- +full:min (Results 1 – 20 of 20) sorted by relevance

/Zephyr-latest/dts/bindings/ieee802154/
Datmel,rf2xx.yaml1 # Copyright (c) 2019-2020 Gerson Fernando Budke <nandojve@gmail.com>
2 # SPDX-License-Identifier: Apache-2.0
8 include: spi-device.yaml
11 irq-gpios:
12 type: phandle-array
15 reset-gpios:
16 type: phandle-array
19 slptr-gpios:
20 type: phandle-array
23 Multi-functional pin that controls sleep, deep sleep, transmit
[all …]
/Zephyr-latest/boards/atmel/sam0/samr21_xpro/
Dsamr21_xpro.dts3 * Copyright (c) 2019-2024 Gerson Fernando Budke <nandojve@gmail.com>
5 * SPDX-License-Identifier: Apache-2.0
8 /dts-v1/;
11 #include "samr21_xpro-pinctrl.dtsi"
12 #include <zephyr/dt-bindings/input/input-event-codes.h>
20 zephyr,shell-uart = &sercom0;
29 pwm-led0 = &pwm_led0;
31 i2c-0 = &sercom1;
35 compatible = "gpio-leds";
43 compatible = "pwm-leds";
[all …]
/Zephyr-latest/samples/bluetooth/observer/src/
Dobserver.c3 * Copyright (c) 2015-2016 Intel Corporation
5 * SPDX-License-Identifier: Apache-2.0
21 addr_str, rssi, type, ad->len); in device_found()
30 switch (data->type) { in data_cb()
33 len = MIN(data->data_len, NAME_LEN - 1); in data_cb()
34 (void)memcpy(name, data->data, len); in data_cb()
63 data_len = buf->len; in scan_recv()
66 data_status = BT_HCI_LE_ADV_EVT_TYPE_DATA_STATUS(info->adv_props); in scan_recv()
68 bt_addr_le_to_str(info->addr, le_addr, sizeof(le_addr)); in scan_recv()
69 printk("[DEVICE]: %s, AD evt type %u, Tx Pwr: %i, RSSI %i " in scan_recv()
[all …]
/Zephyr-latest/drivers/ieee802154/
Dieee802154_rf2xx.c1 /* ieee802154_rf2xx.c - ATMEL RF2XX IEEE 802.15.4 Driver */
6 * Copyright (c) 2019-2020 Gerson Fernando Budke
8 * SPDX-License-Identifier: Apache-2.0
67 .rssi = -40,
84 k_sem_give(&ctx->trx_isr_lock); in trx_isr_handler()
111 * Datasheet: Figure 7-13. Timing Example of an RX_AACK Transaction in rf2xx_trx_set_tx_state()
141 struct rf2xx_context *ctx = dev->data; in rf2xx_set_rssi_base()
144 if (ctx->cc_page == IEEE802154_ATTR_PHY_CHANNEL_PAGE_ZERO_OQPSK_2450_BPSK_868_915) { in rf2xx_set_rssi_base()
148 } else if (ctx->cc_page == IEEE802154_ATTR_PHY_CHANNEL_PAGE_TWO_OQPSK_868_915) { in rf2xx_set_rssi_base()
156 ctx->trx_rssi_base = base; in rf2xx_set_rssi_base()
[all …]
Dieee802154_mcr20a.c1 /* ieee802154_mcr20a.c - NXP MCR20A driver */
8 * SPDX-License-Identifier: Apache-2.0
41 * max. TX duration = (PR + SFD + FLI + PDU + FCS)
111 /* RF TX power max/min values (dBm) */
113 #define MCR20A_OUTPUT_POWER_MIN (-35)
132 * Fc = 2405 + 5(k - 11) , k = 11,12,...,26
157 const struct mcr20a_config *config = dev->config; in z_mcr20a_read_reg()
169 const struct spi_buf_set tx = { in z_mcr20a_read_reg() local
178 if (spi_transceive_dt(&config->bus, &tx, &rx) == 0) { in z_mcr20a_read_reg()
179 return cmd_buf[len - 1]; in z_mcr20a_read_reg()
[all …]
/Zephyr-latest/samples/bluetooth/periodic_sync/src/
Dmain.c2 * Copyright (c) 2020-2024 Nordic Semiconductor ASA
4 * SPDX-License-Identifier: Apache-2.0
51 switch (data->type) { in data_cb()
54 len = MIN(data->data_len, NAME_LEN - 1); in data_cb()
55 memcpy(name, data->data, len); in data_cb()
88 bt_addr_le_to_str(info->addr, le_addr, sizeof(le_addr)); in scan_recv()
89 printk("[DEVICE]: %s, AD evt type %u, Tx Pwr: %i, RSSI %i %s " in scan_recv()
92 le_addr, info->adv_type, info->tx_power, info->rssi, name, in scan_recv()
93 (info->adv_props & BT_GAP_ADV_PROP_CONNECTABLE) != 0, in scan_recv()
94 (info->adv_props & BT_GAP_ADV_PROP_SCANNABLE) != 0, in scan_recv()
[all …]
/Zephyr-latest/drivers/usb/udc/
Dudc_stm32.c4 * SPDX-License-Identifier: Apache-2.0
78 const struct device *dev = priv->dev; in HAL_PCD_ResetCallback()
79 const struct udc_stm32_config *cfg = dev->config; in HAL_PCD_ResetCallback()
82 /* Re-Enable control endpoints */ in HAL_PCD_ResetCallback()
84 if (ep && ep->stat.enabled) { in HAL_PCD_ResetCallback()
85 HAL_PCD_EP_Open(&priv->pcd, USB_CONTROL_EP_OUT, cfg->ep0_mps, in HAL_PCD_ResetCallback()
90 if (ep && ep->stat.enabled) { in HAL_PCD_ResetCallback()
91 HAL_PCD_EP_Open(&priv->pcd, USB_CONTROL_EP_IN, cfg->ep0_mps, in HAL_PCD_ResetCallback()
95 udc_submit_event(priv->dev, UDC_EVT_RESET, 0); in HAL_PCD_ResetCallback()
102 udc_submit_event(priv->dev, UDC_EVT_VBUS_READY, 0); in HAL_PCD_ConnectCallback()
[all …]
Dudc_rpi_pico.c5 * SPDX-License-Identifier: Apache-2.0
85 const struct rpi_pico_config *config = dev->config; in sie_status_clr()
86 usb_hw_t *base = config->base; in sie_status_clr()
88 rpi_pico_bit_clr((mm_reg_t)&base->sie_status, bit); in sie_status_clr()
101 const struct rpi_pico_config *config = dev->config; in get_ep_ctrl_reg()
102 usb_device_dpram_t *dpram = config->dpram; in get_ep_ctrl_reg()
109 return (uintptr_t)&dpram->ep_ctrl[USB_EP_GET_IDX(ep) - 1].out; in get_ep_ctrl_reg()
112 return (uintptr_t)&dpram->ep_ctrl[USB_EP_GET_IDX(ep) - 1].in; in get_ep_ctrl_reg()
118 const struct rpi_pico_config *config = dev->config; in get_buf_ctrl_reg()
119 usb_device_dpram_t *dpram = config->dpram; in get_buf_ctrl_reg()
[all …]
/Zephyr-latest/tests/bsim/bluetooth/ll/cis/src/
Dmain.c1 /* main.c - Application main entry point */
6 * SPDX-License-Identifier: Apache-2.0
103 switch (data->type) { in data_cb()
106 memcpy(name, data->data, MIN(data->data_len, NAME_LEN - 1)); in data_cb()
134 bt_addr_le_to_str(info->addr, le_addr, sizeof(le_addr)); in scan_recv()
135 printk("[DEVICE]: %s, AD evt type %u, Tx Pwr: %i, RSSI %i %s " in scan_recv()
138 le_addr, info->adv_type, info->tx_power, info->rssi, name, in scan_recv()
139 (info->adv_props & BT_GAP_ADV_PROP_CONNECTABLE) != 0, in scan_recv()
140 (info->adv_props & BT_GAP_ADV_PROP_SCANNABLE) != 0, in scan_recv()
141 (info->adv_props & BT_GAP_ADV_PROP_DIRECTED) != 0, in scan_recv()
[all …]
/Zephyr-latest/samples/bluetooth/central_past/src/
Dmain.c2 * Copyright (c) 2021-2024 Nordic Semiconductor ASA
4 * SPDX-License-Identifier: Apache-2.0
35 switch (data->type) { in data_cb()
38 len = MIN(data->data_len, NAME_LEN - 1); in data_cb()
39 memcpy(name, data->data, len); in data_cb()
66 if (info->rssi < -70) { in scan_recv()
74 bt_addr_le_to_str(info->addr, le_addr, sizeof(le_addr)); in scan_recv()
76 printk("[DEVICE]: %s, AD evt type %u, Tx Pwr: %i, RSSI %i, name: %s " in scan_recv()
79 le_addr, info->adv_type, info->tx_power, info->rssi, name, in scan_recv()
80 (info->adv_props & BT_GAP_ADV_PROP_CONNECTABLE) != 0, in scan_recv()
[all …]
/Zephyr-latest/samples/bluetooth/iso_receive/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
25 #define BIS_ISO_CHAN_COUNT MIN(2U, CONFIG_BT_ISO_MAX_CHAN)
71 switch (data->type) { in data_cb()
74 len = MIN(data->data_len, NAME_LEN - 1); in data_cb()
75 memcpy(name, data->data, len); in data_cb()
104 bt_addr_le_to_str(info->addr, le_addr, sizeof(le_addr)); in scan_recv()
105 printk("[DEVICE]: %s, AD evt type %u, Tx Pwr: %i, RSSI %i %s " in scan_recv()
108 le_addr, info->adv_type, info->tx_power, info->rssi, name, in scan_recv()
109 (info->adv_props & BT_GAP_ADV_PROP_CONNECTABLE) != 0, in scan_recv()
110 (info->adv_props & BT_GAP_ADV_PROP_SCANNABLE) != 0, in scan_recv()
[all …]
/Zephyr-latest/drivers/usb/device/
Dusb_dc_stm32.c3 * Copyright (c) 2017, I-SENSE group of ICCS
5 * SPDX-License-Identifier: Apache-2.0
41 * pin(s) in the device tree. E.g: pinctrl-0 = <&usb_otg_fs_vbus_pa9 ...>;
130 /* We need n TX IN FIFOs */
133 /* We need a minimum size for RX FIFO - exact number seemingly determined through trial and error */
136 /* Allocate FIFO memory evenly between the TX FIFOs */
137 /* except the first TX endpoint need only 64 bytes */
139 #define TX_FIFO_WORDS (USB_RAM_SIZE / 4 - RX_FIFO_EP_WORDS - TX_FIFO_EP_0_WORDS)
140 /* Number of words for each remaining TX endpoint FIFO */
141 #define TX_FIFO_EP_WORDS (TX_FIFO_WORDS / (TX_FIFO_NUM - 1))
[all …]
/Zephyr-latest/tests/bsim/bluetooth/ll/bis/src/
Dtest_bis.c4 * SPDX-License-Identifier: Apache-2.0
105 sdu_buffer->dbuf = test_rx_buffer; in test_sink_sdu_alloc()
106 sdu_buffer->size = sizeof(test_rx_buffer); in test_sink_sdu_alloc()
117 sdu_frag->sdu_frag_size, sdu->total_sdu_size, sdu_frag->sdu.sn, in test_sink_sdu_emit()
118 sdu_frag->sdu.timestamp); in test_sink_sdu_emit()
322 big_create_param.packing = 0; /* 0 - sequential; 1 - interleaved */ in create_big()
323 big_create_param.framing = 0; /* 0 - unframed; 1 - framed */ in create_big()
327 bis_iso_qos.tx = &iso_tx_qos; in create_big()
374 big_create_param.packing = 0; /* 0 - sequential; 1 - interleaved */ in create_advanced_big()
375 big_create_param.framing = 0; /* 0 - unframed; 1 - framed */ in create_advanced_big()
[all …]
Dtest_past.c4 * SPDX-License-Identifier: Apache-2.0
82 printk("[AD]: %u data_len %u\n", data->type, data->data_len); in eir_found()
84 switch (data->type) { in eir_found()
87 if (data->data_len % sizeof(uint16_t) != 0U) { in eir_found()
92 for (i = 0; i < data->data_len; i += sizeof(uint16_t)) { in eir_found()
98 memcpy(&u16, &data->data[i], sizeof(u16)); in eir_found()
131 dev, type, ad->len, rssi); in device_found()
247 bt_addr_le_to_str(info->addr, le_addr, sizeof(le_addr)); in pa_sync_cb()
252 info->interval, info->interval * 5 / 4, phy2str(info->phy)); in pa_sync_cb()
266 bt_addr_le_to_str(info->addr, le_addr, sizeof(le_addr)); in pa_terminated_cb()
[all …]
/Zephyr-latest/samples/bluetooth/direction_finding_connectionless_rx/src/
Dmain.c2 * Copyright (c) 2021-2024 Nordic Semiconductor ASA
4 * SPDX-License-Identifier: Apache-2.0
22 #define DEVICE_NAME_LEN (sizeof(DEVICE_NAME) - 1)
146 switch (data->type) { in data_cb()
149 len = MIN(data->data_len, NAME_LEN - 1); in data_cb()
150 memcpy(name, data->data, len); in data_cb()
163 bt_addr_le_to_str(info->addr, le_addr, sizeof(le_addr)); in sync_cb()
168 info->interval, info->interval * 5 / 4, phy2str(info->phy)); in sync_cb()
178 bt_addr_le_to_str(info->addr, le_addr, sizeof(le_addr)); in term_cb()
198 bt_addr_le_to_str(info->addr, le_addr, sizeof(le_addr)); in recv_cb()
[all …]
/Zephyr-latest/doc/releases/
Drelease-notes-3.2.rst13 * Added support for :ref:`bin-blobs` (also see :ref:`west-blobs`).
15 * Converted all supported boards from ``pinmux`` to :ref:`pinctrl-guide`.
31 * CVE-2022-2993: Under embargo until 2022-11-03
33 * CVE-2022-2741: Under embargo until 2022-10-14
56 This definition can be used by third-party code to compile code conditional
58 Therefore, any third-party code integrated using the Zephyr build system will
91 changed from ``-ENETDOWN`` to ``-ENETUNREACH``. A return value of ``-ENETDOWN`` now indicates
129 * Removed support for configuring the CAN-FD maximum DLC value via Kconfig
156 valid for specific bindings to specify like :dtcompatible:`gpio-leds` and
157 :dtcompatible:`fixed-partitions`.
[all …]
Drelease-notes-3.5.rst38 * CVE-2023-3725 `Zephyr project bug tracker GHSA-2g3m-p6c7-8rr3
39 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-2g3m-p6c7-8rr3>`_
41 * CVE-2023-4257 `Zephyr project bug tracker GHSA-853q-q69w-gf5j
42 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-853q-q69w-gf5j>`_
44 * CVE-2023-4258 `Zephyr project bug tracker GHSA-m34c-cp63-rwh7
45 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-m34c-cp63-rwh7>`_
47 * CVE-2023-4259 `Zephyr project bug tracker GHSA-gghm-c696-f4j4
48 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-gghm-c696-f4j4>`_
50 * CVE-2023-4260 `Zephyr project bug tracker GHSA-gj27-862r-55wh
51 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-gj27-862r-55wh>`_
[all …]
Drelease-notes-2.5.rst27 * CVE-2021-3323: Under embargo until 2021-04-14
28 * CVE-2021-3321: Under embargo until 2021-04-14
29 * CVE-2021-3320: Under embargo until 2021-04-14
39 <https://github.com/zephyrproject-rtos/zephyr/issues?q=is%3Aissue+is%3Aopen+label%3Abug>`_.
56 * Changed vcnl4040 dts binding default for property 'proximity-trigger'.
63 * The :c:func:`mqtt_keepalive_time_left` function now returns -1 if keep alive
67 timeout usage must use the new-style k_timeout_t type and not the
87 GPIO-only regulators a devicetree property ``supply-gpios`` is defined as a
101 * ARM Musca-A board and SoC support deprecated and planned to be removed in 2.6.0.
146 sys_heap/k_heaps. Note that the new-style heap is a general
[all …]
/Zephyr-latest/subsys/bluetooth/controller/hci/
Dhci.c2 * Copyright (c) 2016-2018 Nordic Semiconductor ASA
5 * SPDX-License-Identifier: Apache-2.0
110 * 0 - Non-Connectable Non-Scannable advertising report
111 * 1 - Connectable Non-Scannable advertising report
112 * 2 - Non-Connectable Scannable advertisig report
113 * 3 - Connectable Scannable advertising report
116 * cycle. If advertiser changes between Connectable Non-Scannable,
122 * 4 - Periodic Advertising report
154 #define DUP_FILTER_DISABLED (-1)
162 /* Helper function to reset non-periodic advertising entries in filter table */
[all …]
/Zephyr-latest/tests/bsim/bluetooth/ll/advx/src/
Dmain.c1 /* main.c - Application main entry point */
4 * Copyright (c) 2015-2016 Intel Corporation
6 * SPDX-License-Identifier: Apache-2.0
142 printk("%s: num_sent = %u\n", __func__, info->num_sent); in sent_cb()
145 num_sent_actual = info->num_sent; in sent_cb()
314 sd[0].data_len = sizeof(CONFIG_BT_DEVICE_NAME) - 1; in test_advx_main()
386 printk("Starting non-connectable advertising..."); in test_advx_main()
461 printk("Re-enable advertising using extended commands (max_events)..."); in test_advx_main()
475 printk("Setting advertising random address before re-enabling..."); in test_advx_main()
483 printk("Re-enabling..."); in test_advx_main()
[all …]