Home
last modified time | relevance | path

Searched +full:try +full:- +full:power +full:- +full:role (Results 1 – 16 of 16) sorted by relevance

/Zephyr-latest/dts/bindings/usb-c/
Dusb-c-connector.yaml2 # SPDX-License-Identifier: Apache-2.0
5 A USB Type-C connector node represents a physical USB Type-C connector.
6 It should be a child of a USB-C interface controller or a separate node
7 when it is attached to both MUX and USB-C interface controller.
10 …/git/torvalds/linux.git/tree/Documentation/devicetree/bindings/connector/usb-connector.yaml?h=v5.1…
14 USB-C connector attached to a STM32 UCPD typec port controller, which has
15 power delivery support and enables SINK.
18 compatible = "zephyr,usb-c-vbus-adc";
19 io-channels = <&adc2 8>;
20 output-ohms = <49900>;
[all …]
/Zephyr-latest/include/zephyr/drivers/usb_c/
Dusbc_tc.h3 * SPDX-License-Identifier: Apache-2.0
8 * @brief USB Type-C Cable and Connector API used for USB-C drivers
10 * The information in this file was taken from the USB Type-C
18 * @brief USB Type-C
19 * @defgroup usb_type_c USB Type-C
32 * See Table 4-3 VBUS Sink Characteristics
38 * See Table 4-3 VBUS Sink Characteristics
45 * See Table 4-29 VBUS and VCONN Timing Parameters
52 * See Table 4-29 VBUS and VCONN Timing Parameters
58 * See Table 4-29 VBUS and VCONN Timing Parameters
[all …]
/Zephyr-latest/subsys/usb/usb_c/
Dusbc_pe_common_internal.h4 * SPDX-License-Identifier: Apache-2.0
18 * @brief Used in sub-machines for message transmit and receive operation
21 /* Wait for a message transmission sub-machine state */
23 /* Wait for a message reception sub-machine state */
28 * @brief Used in sub-machines for message source hard reset operation
31 /* Start the hard-reset sub-machine state */
33 /* Wait for hard-reset to complete sub-machine state */
151 * If this flag is not set the AMS is non-interruptible. This flag must
155 /** Flag to trigger sending a Data Role Swap */
170 * Data Role Swap
[all …]
/Zephyr-latest/include/zephyr/drivers/usb/
Dudc.h2 * Copyright (c) 2021-2022 Nordic Semiconductor ASA
4 * SPDX-License-Identifier: Apache-2.0
79 /** High-Bandwidth (interrupt or iso) capable endpoint */
147 * Non-correctable error event, requires attention from higher
273 * To be implemented as device's private data (device->data).
314 struct udc_data *data = dev->data; in udc_is_initialized()
316 return atomic_test_bit(&data->status, UDC_STATUS_INITIALIZED); in udc_is_initialized()
328 struct udc_data *data = dev->data; in udc_is_enabled()
330 return atomic_test_bit(&data->status, UDC_STATUS_ENABLED); in udc_is_enabled()
342 struct udc_data *data = dev->data; in udc_is_suspended()
[all …]
/Zephyr-latest/subsys/bluetooth/host/
Dhci_core.c1 /* hci_core.c - HCI core Bluetooth handling */
4 * Copyright (c) 2017-2021 Nordic Semiconductor ASA
5 * Copyright (c) 2015-2016 Intel Corporation
7 * SPDX-License-Identifier: Apache-2.0
77 /* The zephyr,bt-hci chosen property is mandatory, except for unit tests */
149 state->target = target; in bt_hci_cmd_state_set_init()
150 state->bit = bit; in bt_hci_cmd_state_set_init()
151 state->val = val; in bt_hci_cmd_state_set_init()
152 cmd(buf)->state = state; in bt_hci_cmd_state_set_init()
184 if (handler->event != event) { in handle_event_common()
[all …]
Dconn.c1 /* conn.c - Bluetooth connection handling */
4 * Copyright (c) 2015-2016 Intel Corporation
6 * SPDX-License-Identifier: Apache-2.0
66 bt_conn_tx_cb_t cb = tx->cb; in conn_tx_destroy()
67 void *user_data = tx->user_data; in conn_tx_destroy()
77 cb(conn, user_data, -ESHUTDOWN); in conn_tx_destroy()
123 /* TODO: remove user-data requirements */
140 bt_buf_destroy_view(frag, &get_frag_md(frag)->view_meta); in frag_destroy()
161 winsize, &get_frag_md(window)->view_meta); in get_data_frag()
163 LOG_DBG("get-acl-frag: outside %p window %p size %zu", outside, window, winsize); in get_data_frag()
[all …]
/Zephyr-latest/include/zephyr/bluetooth/
Dbluetooth.h7 * Copyright (c) 2015-2016 Intel Corporation
9 * SPDX-License-Identifier: Apache-2.0
101 /** The TX power of the response in dBm */
162 * If rpa sharing is enabled and rpa expired cb of any adv-sets belonging
163 * to same adv id returns false, then adv-sets will continue with old rpa
242 * That is, the application shall not re-register them when
243 * the Bluetooth subsystem is re-enabled later.
292 * @see https://specificationrefs.bluetooth.com/assigned-values/Appearance%20Values.pdf
325 * subsequent call to this function with non-NULL @a addrs parameter.
345 * pre-defined address is provided, since in such a situation the app clearly
[all …]
/Zephyr-latest/boards/nxp/frdm_k64f/doc/
Dindex.rst6 The Freedom-K64F is an ultra-low-cost development platform for Kinetis K64,
9 - Form-factor compatible with the Arduino R3 pin layout
10 - Peripherals enable rapid prototyping, including a 6-axis digital
12 tri-colored LED and 2 user push-buttons for direct interaction, a microSD
14 with Bluetooth* and 2.4 GHz radio add-on modules
15 - OpenSDAv2, the NXP open source hardware embedded serial and debug adapter
17 flash programming, and run-control debugging
22 - MK64FN1M0VLL12 MCU (120 MHz, 1 MB flash memory, 256 KB RAM, low-power,
23 crystal-less USB, and 100 Low profile Quad Flat Package (LQFP))
24 - Dual role USB interface with micro-B USB connector
[all …]
/Zephyr-latest/subsys/ipc/ipc_service/backends/
Dipc_icbmsg.c4 * SPDX-License-Identifier: Apache-2.0
14 * --------------------------
17 * followed by Blocks area. ICMsg is used to send and receive short 3-byte messages.
22 * +------------+-------------+
24 * +------------+-------------+
27 * +-----------+-----------+-----------+-----------+- -+-----------+
28 * | Block 0 | Block 1 | Block 2 | Block 3 | ... | Block N-1 |
29 * +-----------+-----------+-----------+-----------+- -+-----------+
32 * +------+--------------------------------+---------+
34 * +------+--------------------------------+---------+
[all …]
/Zephyr-latest/drivers/i3c/
Di3c_common.c4 * SPDX-License-Identifier: Apache-2.0
23 LOG_DBG("I3C msg: %s, addr=%x", name, target->dynamic_addr); in i3c_dump_msgs()
28 msg->flags & I3C_MSG_READ ? 'R' : 'W', msg->len); in i3c_dump_msgs()
29 if (!(msg->flags & I3C_MSG_READ)) { in i3c_dump_msgs()
30 LOG_HEXDUMP_DBG(msg->buf, msg->len, "contents:"); in i3c_dump_msgs()
53 slots->slots[idx] &= ~((unsigned long)I3C_ADDR_SLOT_STATUS_MASK << bitpos); in i3c_addr_slots_set()
54 slots->slots[idx] |= status << bitpos; in i3c_addr_slots_set()
79 status = slots->slots[idx] >> bitpos; in i3c_addr_slots_status()
89 (struct i3c_driver_data *)dev->data; in i3c_addr_slots_init()
91 (const struct i3c_driver_config *)dev->config; in i3c_addr_slots_init()
[all …]
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/
Dull.c2 * Copyright (c) 2017-2021 Nordic Semiconductor ASA
4 * SPDX-License-Identifier: Apache-2.0
92 #define BT_ADV_TICKER_NODES ((TICKER_ID_ADV_LAST) - (TICKER_ID_ADV_STOP) + 1)
94 #define BT_ADV_AUX_TICKER_NODES ((TICKER_ID_ADV_AUX_LAST) - \
97 #define BT_ADV_SYNC_TICKER_NODES ((TICKER_ID_ADV_SYNC_LAST) - \
100 #define BT_ADV_ISO_TICKER_NODES ((TICKER_ID_ADV_ISO_LAST) - \
122 #define BT_SCAN_TICKER_NODES ((TICKER_ID_SCAN_LAST) - (TICKER_ID_SCAN_STOP) + 1)
127 #define BT_SCAN_AUX_TICKER_NODES ((TICKER_ID_SCAN_AUX_LAST) - \
131 #define BT_SCAN_SYNC_TICKER_NODES ((TICKER_ID_SCAN_SYNC_LAST) - \
134 #define BT_SCAN_SYNC_ISO_TICKER_NODES ((TICKER_ID_SCAN_SYNC_ISO_LAST) - \
[all …]
Dull_adv.c2 * Copyright (c) 2016-2021 Nordic Semiconductor ASA
5 * SPDX-License-Identifier: Apache-2.0
139 adv->hci_handle = 0; in ll_adv_cmds_set()
141 adv->is_created = 1; in ll_adv_cmds_set()
146 return -EINVAL; in ll_adv_cmds_set()
167 if (adv->is_created && (adv->hci_handle == hci_handle)) { in ll_adv_set_by_hci_handle_get()
185 if (adv->is_created) { in ll_adv_set_by_hci_handle_get_or_new()
186 if (adv->hci_handle == hci_handle) { in ll_adv_set_by_hci_handle_get_or_new()
196 adv_empty->hci_handle = hci_handle; in ll_adv_set_by_hci_handle_get_or_new()
209 LL_ASSERT(adv && adv->is_created); in ll_adv_set_hci_handle_get()
[all …]
/Zephyr-latest/doc/releases/
Drelease-notes-3.3.rst14 * Introduced :ref:`USB-C <usbc_api>` device stack with PD (power delivery)
17 CMSIS-DSP as the default backend.
30 * CVE-2023-0359: Under embargo until 2023-04-20
32 * CVE-2023-0779: Under embargo until 2023-04-22
66 removed in favor of new :dtcompatible:`zephyr,flash-disk` devicetree binding.
71 * Starting from this release ``zephyr-`` prefixed tags won't be created
82 image states). Use of a truncated hash or non-sha256 hash will still work
88 registration function at boot-up. If applications register this then
93 application code, these will now automatically be registered at boot-up (this
129 This may cause out-of-tree scripts or commands to fail if they have relied
[all …]
/Zephyr-latest/doc/connectivity/bluetooth/api/mesh/
Dshell.rst30 sub-commands. Every time the device boots up, make sure to call ``mesh init`` before any of the
43 The simplest way to provision the device is through self-provisioning. To do this the user must
49 devices, as long as they're assigned non-overlapping unicast addresses. Alternatively, to provision
51 ``mesh prov pb-adv on`` or ``mesh prov pb-gatt on``. The beacons can be picked up by an external
68 ``mesh prov local`` command above), we can perform self-configuration through any of the
73 uart:~$ mesh models cfg get-comp
89 uart:~$ mesh test net-send 82020100
120 .. list-table:: Parameter formats
122 :header-rows: 1
124 * - Type
[all …]
/Zephyr-latest/drivers/usb/udc/
Dudc_dwc2.c4 * SPDX-License-Identifier: Apache-2.0
44 /* Minimum RX FIFO size in 32-bit words considering the largest used OUT packet
49 /* Default Rx FIFO size in 32-bit words calculated to support High-Speed with:
57 /* TX FIFO0 depth in 32-bit words (used by control IN endpoint)
58 * Try 2 * bMaxPacketSize0 to allow simultaneous operation with a fallback to
71 /* Registers that have to be stored before Partial Power Down or Hibernation */
105 /* Transfer triggers (IN on bits 0-15, OUT on bits 16-31) */
107 /* Finished transactions (IN on bits 0-15, OUT on bits 16-31) */
143 const struct udc_dwc2_config *const config = dev->config; in dwc2_init_pinctrl()
144 const struct pinctrl_dev_config *const pcfg = config->pcfg; in dwc2_init_pinctrl()
[all …]
/Zephyr-latest/include/zephyr/
Dkernel.h4 * SPDX-License-Identifier: Apache-2.0
53 #define K_PRIO_COOP(x) (-(CONFIG_NUM_COOP_PRIORITIES - (x)))
56 #define K_HIGHEST_THREAD_PRIO (-CONFIG_NUM_COOP_PRIORITIES)
60 #define K_LOWEST_APPLICATION_THREAD_PRIO (K_LOWEST_THREAD_PRIO - 1)
245 * bits, arch-specific use high bits.
289 * from within a user-provided callback they have been invoked.
290 * Effectively it serves as a tiny bit of zero-overhead TLS data.
328 /* end - thread options */
335 * - @ref K_USER allocate a userspace thread (requires `CONFIG_USERSPACE=y`)
353 * @retval -EBUSY if the thread stack is in use.
[all …]