/Zephyr-latest/dts/bindings/pinctrl/ |
D | openisa,rv32m1-pinctrl.yaml | 3 # SPDX-License-Identifier: Apache-2.0 18 drive-strength = "low"; 19 slew-rate = "fast"; 28 PCR_SRE=<slew-rate selection>, 31 compatible: "openisa,rv32m1-pinctrl" 35 child-binding: 37 child-binding: 42 - name: pincfg-node.yaml 43 property-allowlist: 44 - drive-open-drain [all …]
|
D | nxp,port-pinctrl.yaml | 1 # Copyright 2022-2024 NXP 2 # SPDX-License-Identifier: Apache-2.0 18 drive-strength = "low"; 19 slew-rate = "fast"; 28 PCR_SRE=<slew-rate selection>, 29 PCR_DSE=<drive-strength selection>, 32 compatible: "nxp,port-pinctrl" 36 child-binding: 38 child-binding: 43 - name: pincfg-node.yaml [all …]
|
/Zephyr-latest/doc/hardware/peripherals/can/ |
D | controller.rst | 13 Controller Area Network is a two-wire serial bus specified by the 14 Bosch CAN Specification, Bosch CAN with Flexible Data-Rate specification and the 15 ISO 11898-1:2003 standard. 26 The bit-timing as defined in ISO 11898-1:2003 looks as following: 41 The bit-rate is calculated from the time of a time quantum and the values 45 The bit-rate is the inverse of the length of a single bit. 57 Phase_Seg1and Phase_Seg2) are initially set from the device-tree and can be 58 changed at run-time from the timing-API. 60 CAN uses so-called identifiers to identify the frame instead of addresses to 62 This identifier can either have 11-bit width (Standard or Basic Frame) or [all …]
|
D | shell.rst | 38 For example, building the :zephyr:code-sample:`hello_world` sample for the :zephyr:board:`frdm_k64f… 41 .. zephyr-app-commands:: 42 :zephyr-app: samples/hello_world 44 …:gen-args: -DCONFIG_SHELL=y -DCONFIG_CAN=y -DCONFIG_CAN_SHELL=y -DCONFIG_STATS=y -DCONFIG_CAN_STAT… 48 interact with the shell. The CAN shell comes with built-in help (unless 49 :kconfig:option:`CONFIG_SHELL_HELP` is disabled). The built-in help messages can be printed by 50 passing ``-h`` or ``--help`` to the ``can`` command or any of its subcommands. All subcommands also 51 support tab-completion of their arguments. 55 also supports tab-completion. A list of all devices available can be obtained using the ``device 67 .. code-block:: console [all …]
|
/Zephyr-latest/modules/canopennode/ |
D | CO_driver.c | 4 * SPDX-License-Identifier: Apache-2.0 75 if (!CANmodule || !CANmodule->rx_array || !CANmodule->configured) { in canopen_detach_all_rx_filters() 79 for (i = 0U; i < CANmodule->rx_size; i++) { in canopen_detach_all_rx_filters() 80 if (CANmodule->rx_array[i].filter_id != -ENOSPC) { in canopen_detach_all_rx_filters() 81 can_remove_rx_filter(CANmodule->dev, in canopen_detach_all_rx_filters() 82 CANmodule->rx_array[i].filter_id); in canopen_detach_all_rx_filters() 83 CANmodule->rx_array[i].filter_id = -ENOSPC; in canopen_detach_all_rx_filters() 99 for (i = 0; i < CANmodule->rx_size; i++) { in canopen_rx_callback() 100 buffer = &CANmodule->rx_array[i]; in canopen_rx_callback() 102 if (buffer->filter_id == -ENOSPC || buffer->pFunct == NULL) { in canopen_rx_callback() [all …]
|
/Zephyr-latest/samples/drivers/can/counter/src/ |
D | main.c | 4 * SPDX-License-Identifier: Apache-2.0 55 printf("Callback! error-code: %d\nSender: %s\n", in tx_irq_callback() 65 const struct can_filter filter = { in rx_thread() local 73 filter_id = can_add_rx_filter_msgq(can_dev, &counter_msgq, &filter); in rx_thread() 74 printf("Counter filter id: %d\n", filter_id); in rx_thread() 121 return "error-active"; in state_to_str() 123 return "error-warning"; in state_to_str() 125 return "error-passive"; in state_to_str() 127 return "bus-off"; in state_to_str() 213 printf("CAN: Device %s not ready.\n", can_dev->name); in main() [all …]
|
/Zephyr-latest/doc/connectivity/bluetooth/shell/host/ |
D | gap.rst | 15 :kconfig:option:`CONFIG_BT_ID_MAX`. To create a new identity, use :code:`bt id-create` command. You 16 can then use it by selecting it with its ID :code:`bt id-select <id>`. Finally, you can list all the 17 available identities with :code:`id-show`. 28 .. code-block:: console 32 …[DEVICE]: CB:01:1A:2D:6E:AE (random), AD evt type 0, RSSI -78 C:1 S:1 D:0 SR:0 E:0 Prim: LE 1M, S… 33 …[DEVICE]: 20:C2:EE:59:85:5B (random), AD evt type 3, RSSI -62 C:0 S:0 D:0 SR:0 E:0 Prim: LE 1M, S… 34 …[DEVICE]: E3:72:76:87:2F:E8 (random), AD evt type 3, RSSI -74 C:0 S:0 D:0 SR:0 E:0 Prim: LE 1M, S… 35 …[DEVICE]: 1E:19:25:8A:CB:84 (random), AD evt type 3, RSSI -67 C:0 S:0 D:0 SR:0 E:0 Prim: LE 1M, S… 36 …[DEVICE]: 26:42:F3:D5:A0:86 (random), AD evt type 3, RSSI -73 C:0 S:0 D:0 SR:0 E:0 Prim: LE 1M, S… 37 …[DEVICE]: 0C:61:D1:B9:5D:9E (random), AD evt type 3, RSSI -87 C:0 S:0 D:0 SR:0 E:0 Prim: LE 1M, S… [all …]
|
/Zephyr-latest/tests/drivers/can/api/src/ |
D | canfd.c | 5 * SPDX-License-Identifier: Apache-2.0 27 zassert_equal(frame->id, TEST_CAN_STD_ID_1, "ID does not match"); in tx_std_callback_1() 37 zassert_equal(frame->id, TEST_CAN_STD_ID_2, "ID does not match"); in tx_std_callback_2() 42 struct can_filter *filter = user_data; in rx_std_callback_1() local 46 zassert_equal_ptr(filter, &test_std_filter_1, "filter does not match"); in rx_std_callback_1() 53 struct can_filter *filter = user_data; in rx_std_callback_2() local 57 zassert_equal_ptr(filter, &test_std_filter_2, "filter does not match"); in rx_std_callback_2() 65 struct can_filter *filter = user_data; in rx_std_callback_fd_1() local 69 zassert_equal_ptr(filter, &test_std_filter_1, "filter does not match"); in rx_std_callback_fd_1() 77 struct can_filter *filter = user_data; in rx_std_callback_fd_2() local [all …]
|
/Zephyr-latest/drivers/can/ |
D | can_shell.c | 5 * SPDX-License-Identifier: Apache-2.0 36 /* zephyr-keep-sorted-start */ 38 CAN_SHELL_MODE_MAPPING("listen-only", CAN_MODE_LISTENONLY), 40 CAN_SHELL_MODE_MAPPING("manual-recovery", CAN_MODE_MANUAL_RECOVERY), 42 CAN_SHELL_MODE_MAPPING("one-shot", CAN_MODE_ONE_SHOT), 43 CAN_SHELL_MODE_MAPPING("triple-sampling", CAN_MODE_3_SAMPLES), 44 /* zephyr-keep-sorted-stop */ 88 uint8_t nbytes = can_dlc_to_bytes(frame->dlc); in can_shell_print_frame() 98 shell_fprintf_normal(sh, "(%05d) ", frame->timestamp); in can_shell_print_frame() 101 shell_fprintf_normal(sh, "%s ", dev->name); in can_shell_print_frame() [all …]
|
D | can_rcar.c | 4 * SPDX-License-Identifier: Apache-2.0 24 #define RCAR_CAN_CTLR_BOM (3 << 11) /* Bus-Off Recovery Mode Bits */ 25 #define RCAR_CAN_CTLR_BOM_ENT BIT(11) /* Automatic halt mode entry at bus-off entry */ 136 #define RCAR_CAN_EIFR_BORIF BIT(4) /* Bus-Off Recovery Detect Flag */ 137 #define RCAR_CAN_EIFR_BOEIF BIT(3) /* Bus-Off Entry Detect Flag */ 138 #define RCAR_CAN_EIFR_EPIF BIT(2) /* Error Passive Detect Flag */ 148 * mailbox 60 - 63 - Rx FIFO mailboxes 149 * mailbox 56 - 59 - Tx FIFO mailboxes 150 * non-FIFO mailboxes are not used 195 struct can_filter filter[CONFIG_CAN_RCAR_MAX_FILTER]; member [all …]
|
D | can_nxp_s32_canxl.c | 2 * Copyright 2022-2024 NXP 4 * SPDX-License-Identifier: Apache-2.0 23 * Convert from RX message buffer index to allocated filter ID and 30 #define RX_MBIDX_TO_ALLOC_IDX(x) (x - CONFIG_CAN_NXP_S32_MAX_TX) 95 struct can_filter filter; member 152 const struct can_nxp_s32_config *config = dev->config; in can_nxp_s32_config_rx_fifo_filter() 153 struct can_nxp_s32_data *data = dev->data; in can_nxp_s32_config_rx_fifo_filter() 156 (void)config->base_rx_fifo_ctrl->RXFSYSLOCK; in can_nxp_s32_config_rx_fifo_filter() 158 CanXL_ConfigIDFilter(config->base_rx_fifo, in can_nxp_s32_config_rx_fifo_filter() 159 &data->rx_fifo_filter[filter_id], filter_id); in can_nxp_s32_config_rx_fifo_filter() [all …]
|
D | can_renesas_ra.c | 3 * SPDX-License-Identifier: Apache-2.0 56 /* This frame ID will be reserved. Any filter using this ID may cause undefined behavior. */ 61 * Register' - RA8M1 MCU group HWM 68 * RX FIFO configuration: refer to '34.2.25 CFDRFCCa : RX FIFO Configuration/Control Registers' - 85 * Global Configuration: refer to '34.2.11 CFDGCFG : Global Configuration Register' - RA8M1 MCU 95 * Interrupt Enable Configuration Register' - RA8M1 MCU group HWM 101 * Register' - RA8M1 MCU group HWM 106 * Channel Error IRQ configurations: refer to '34.2.3 CFDC0CTR : Control Register' - RA8M1 MCU group 111 BIT(R_CANFD_CFDC_CTR_EPIE_Pos) | /* Error Passive Interrupt Enable */ \ 112 BIT(R_CANFD_CFDC_CTR_BOEIE_Pos) | /* Bus-Off Entry Interrupt Enable */ \ [all …]
|
D | can_mcp251xfd.c | 5 * SPDX-License-Identifier: Apache-2.0 27 if ((src->flags & CAN_FRAME_IDE) != 0) { in mcp251xfd_canframe_to_txobj() 28 dst->id = FIELD_PREP(MCP251XFD_OBJ_ID_SID_MASK, src->id >> 18); in mcp251xfd_canframe_to_txobj() 29 dst->id |= FIELD_PREP(MCP251XFD_OBJ_ID_EID_MASK, src->id); in mcp251xfd_canframe_to_txobj() 31 dst->flags |= MCP251XFD_OBJ_FLAGS_IDE; in mcp251xfd_canframe_to_txobj() 33 dst->id = FIELD_PREP(MCP251XFD_OBJ_ID_SID_MASK, src->id); in mcp251xfd_canframe_to_txobj() 36 if ((src->flags & CAN_FRAME_BRS) != 0) { in mcp251xfd_canframe_to_txobj() 37 dst->flags |= MCP251XFD_OBJ_FLAGS_BRS; in mcp251xfd_canframe_to_txobj() 40 dst->flags |= FIELD_PREP(MCP251XFD_OBJ_FLAGS_DLC_MASK, src->dlc); in mcp251xfd_canframe_to_txobj() 42 if ((src->flags & CAN_FRAME_FDF) != 0) { in mcp251xfd_canframe_to_txobj() [all …]
|
/Zephyr-latest/dts/bindings/gpio/ |
D | adi,max14916-gpio.yaml | 3 # SPDX-License-Identifier: Apache-2.0 7 compatible: "adi,max14916-gpio" 10 "#gpio-cells": 17 drdy-gpios: 19 High-Side Open-Drain Output. READY is passive low when the internal 22 type: phandle-array 23 fault-gpios: 27 type: phandle-array 28 sync-gpios: 31 type: phandle-array [all …]
|
D | adi,max14906-gpio.yaml | 3 # SPDX-License-Identifier: Apache-2.0 7 compatible: "adi,max14906-gpio" 10 "#gpio-cells": 17 drdy-gpios: 19 High-Side Open-Drain Output. READY is passive low when the internal 22 type: phandle-array 23 fault-gpios: 27 type: phandle-array 28 sync-gpios: 31 type: phandle-array [all …]
|
/Zephyr-latest/include/zephyr/drivers/ |
D | can.h | 6 * SPDX-License-Identifier: Apache-2.0 45 * @brief Bit mask for a standard (11-bit) CAN identifier. 50 * @brief Bit mask for an extended (29-bit) CAN identifier. 103 /** Controller requires manual recovery after entering bus-off state */ 122 /** Error-active state (RX/TX error count < 96). */ 124 /** Error-warning state (RX/TX error count < 128). */ 126 /** Error-passive state (RX/TX error count < 256). */ 128 /** Bus-off state (RX/TX error count >= 256). */ 141 /** Frame uses extended (29-bit) CAN ID */ 153 /** CAN FD Error State Indicator (ESI). Indicates that the transmitting node is in error-passive [all …]
|
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/ |
D | ull_filter.c | 2 * Copyright (c) 2017-2019 Nordic Semiconductor ASA 4 * SPDX-License-Identifier: Apache-2.0 59 /* Hardware Filter Accept List */ 65 /* Filter Accept List peer list */ 111 /* Hardware filter for the resolving list */ 142 static uint32_t filter_add(struct lll_filter *filter, uint8_t addr_type, 144 static uint32_t filter_remove(struct lll_filter *filter, uint8_t addr_type, 148 static uint32_t filter_find(const struct lll_filter *const filter, 150 static void filter_insert(struct lll_filter *const filter, int index, 152 static void filter_clear(struct lll_filter *filter); [all …]
|
/Zephyr-latest/include/zephyr/bluetooth/ |
D | bluetooth.h | 7 * Copyright (c) 2015-2016 Intel Corporation 9 * SPDX-License-Identifier: Apache-2.0 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 370 * parameter was non-NULL). [all …]
|
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/lll/ |
D | lll_scan_aux.c | 4 * SPDX-License-Identifier: Apache-2.0 114 LL_ASSERT(!err || err == -EINPROGRESS); in lll_scan_aux_prepare() 135 LL_ASSERT(pdu->type == PDU_ADV_TYPE_EXT_IND); in lll_scan_aux_setup() 138 pri_com_hdr = (void *)&pdu->adv_ext_ind; in lll_scan_aux_setup() 139 if (unlikely(!pdu->len || !pri_com_hdr->ext_hdr_len)) { in lll_scan_aux_setup() 144 pri_hdr = (void *)pri_com_hdr->ext_hdr_adv_data; in lll_scan_aux_setup() 145 pri_dptr = pri_hdr->data; in lll_scan_aux_setup() 148 if (pri_hdr->adv_addr) { in lll_scan_aux_setup() 153 if (pri_hdr->tgt_addr) { in lll_scan_aux_setup() 158 if (pri_hdr->cte_info) { in lll_scan_aux_setup() [all …]
|
D | lll_scan.c | 2 * Copyright (c) 2018-2021 Nordic Semiconductor ASA 4 * SPDX-License-Identifier: Apache-2.0 131 LL_ASSERT(!err || err == -EINPROGRESS); in lll_scan_prepare() 149 return (((lll->filter_policy & SCAN_FP_FILTER) == 0U) && in lll_scan_isr_rx_check() 152 (((lll->filter_policy & SCAN_FP_FILTER) != 0U) && in lll_scan_isr_rx_check() 155 return ((lll->filter_policy & SCAN_FP_FILTER) == 0U) || in lll_scan_isr_rx_check() 165 /* Only applies to initiator with no filter accept list */ in lll_scan_adva_check() 167 return (rl_idx == lll->rl_idx); in lll_scan_adva_check() 180 return ((lll->adv_addr_type == addr_type) && in lll_scan_adva_check() 181 !memcmp(lll->adv_addr, addr, BDADDR_SIZE)); in lll_scan_adva_check() [all …]
|
/Zephyr-latest/include/zephyr/net/ |
D | wifi_mgmt.h | 6 * SPDX-License-Identifier: Apache-2.0 66 /** @brief Wi-Fi management commands */ 68 /** Scan for Wi-Fi networks */ 70 /** Connect to a Wi-Fi network */ 72 /** Disconnect from a Wi-Fi network */ 98 /** Set or get packet filter setting for current mode */ 100 /** Set or get Wi-Fi channel for Monitor or TX-Injection mode */ 104 /** Get Wi-Fi driver and Firmware versions */ 106 /** Get Wi-Fi latest connection parameters */ 143 /** Request a Wi-Fi scan */ [all …]
|
/Zephyr-latest/doc/_extensions/zephyr/doxytooltip/static/tippy/ |
D | tippy-bundle.umd.min.js | 2 * SPDX-License-Identifier: MIT 6 …passive:!0,capture:!0},o=function(){return document.body};function i(t,e,n){if(Array.isArray(t)){v… property in AnonymousFunction026bd4790100.r 7 //# sourceMappingURL=tippy-bundle.umd.min.js.map
|
D | popper.min.js | 3 * SPDX-License-Identifier: MIT 7 …-b.x,y:y.top+g.scrollTop-b.y,width:y.width,height:y.height}}function g(e){var t=p(e),n=e.offsetWid…
|
/Zephyr-latest/subsys/net/l2/wifi/ |
D | wifi_shell.c | 5 * SPDX-License-Identifier: Apache-2.0 45 #include <wifi_enterprise_test_certs/client-key.pem.inc> 58 #include <wifi_enterprise_test_certs/client-key2.pem.inc> 67 #include <wifi_enterprise_test_certs/server-key.pem.inc> 143 return -1; in cmd_wifi_set_enterprise_creds() 171 PR_WARNING("%s value out of range: %s, (%ld-%ld)\n", in parse_number() 174 PR_WARNING("Value out of range: %s, (%ld-%ld)\n", in parse_number() 186 (const struct wifi_scan_result *)cb->info; in handle_wifi_scan_result() 194 PR("\n%-4s | %-32s %-5s | %-13s | %-4s | %-15s | %-17s | %-8s\n", in handle_wifi_scan_result() 198 strncpy(ssid_print, entry->ssid, sizeof(ssid_print) - 1); in handle_wifi_scan_result() [all …]
|
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/openisa/lll/ |
D | lll_scan.c | 2 * Copyright (c) 2018-2019 Nordic Semiconductor ASA 5 * SPDX-License-Identifier: Apache-2.0 113 LL_ASSERT(!err || err == -EINPROGRESS); in lll_scan_prepare() 116 LL_ASSERT(!err || err == -EINPROGRESS); in lll_scan_prepare() 126 struct lll_scan *lll = prepare_param->param; in prepare_cb() 140 if (unlikely(lll->conn && lll->conn->central.initiated)) { in prepare_cb() 144 LL_ASSERT(!err || err == -EBUSY); in prepare_cb() 159 radio_phy_set(lll->phy, 1); in prepare_cb() 160 radio_pkt_configure(8, PDU_AC_LEG_PAYLOAD_SIZE_MAX, (lll->phy << 1)); in prepare_cb() 168 radio_pkt_rx_set(node_rx->pdu); in prepare_cb() [all …]
|