/Zephyr-latest/subsys/sd/ |
D | mmc.c | 4 * SPDX-License-Identifier: Apache-2.0 45 #define MMC_REL_ADR_ARG (card->relative_addr << 16U) 86 /* Sets SDHC max frequency in legacy timing */ 92 /* Sets card to the fastest timing mode (using CMD6) and SDHC to max frequency */ 110 if (card->host_props.is_spi) { in mmc_card_init() 111 return -EINVAL; in mmc_card_init() 122 card->type = CARD_MMC; in mmc_card_init() 125 if (card->host_props.host_caps.vol_180_support) { in mmc_card_init() 128 if (card->host_props.host_caps.vol_330_support || in mmc_card_init() 129 card->host_props.host_caps.vol_300_support) { in mmc_card_init() [all …]
|
/Zephyr-latest/dts/bindings/memory-controllers/ |
D | st,stm32-fmc-nor-psram.yaml | 2 # SPDX-License-Identifier: Apache-2.0 11 - 8 bits 12 - 16 bits 13 - 32 bits 15 - Asynchronous mode 16 - Burst mode for synchronous accesses with configurable option to split burst 18 - Multiplexed or non-multiplexed 20 - Asynchronous mode 21 - Burst mode for synchronous accesses 22 - Multiplexed or non-multiplexed [all …]
|
/Zephyr-latest/drivers/can/ |
D | can_mcan.c | 2 * Copyright (c) 2022-2023 Vestas Wind Systems A/S 5 * SPDX-License-Identifier: Apache-2.0 22 const struct can_mcan_config *config = dev->config; in can_mcan_read_reg() 25 err = config->ops->read_reg(dev, reg, val); in can_mcan_read_reg() 35 const struct can_mcan_config *config = dev->config; in can_mcan_write_reg() 38 err = config->ops->write_reg(dev, reg, val); in can_mcan_write_reg() 48 struct can_mcan_data *data = dev->data; in can_mcan_exit_sleep_mode() 53 k_mutex_lock(&data->lock, K_FOREVER); in can_mcan_exit_sleep_mode() 75 if (k_cycle_get_32() - start_time > k_ms_to_cyc_ceil32(CAN_INIT_TIMEOUT_MS)) { in can_mcan_exit_sleep_mode() 82 err = -EAGAIN; in can_mcan_exit_sleep_mode() [all …]
|
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_stm32_bxcan.c | 5 * SPDX-License-Identifier: Apache-2.0 82 can_tx_callback_t callback = mb->tx_callback; in can_stm32_signal_tx_complete() 85 callback(dev, status, mb->callback_arg); in can_stm32_signal_tx_complete() 86 mb->tx_callback = NULL; in can_stm32_signal_tx_complete() 94 if (mbox->RIR & CAN_RI0R_IDE) { in can_stm32_rx_fifo_pop() 95 frame->id = mbox->RIR >> CAN_RI0R_EXID_Pos; in can_stm32_rx_fifo_pop() 96 frame->flags |= CAN_FRAME_IDE; in can_stm32_rx_fifo_pop() 98 frame->id = mbox->RIR >> CAN_RI0R_STID_Pos; in can_stm32_rx_fifo_pop() 101 if ((mbox->RIR & CAN_RI0R_RTR) != 0) { in can_stm32_rx_fifo_pop() 102 frame->flags |= CAN_FRAME_RTR; in can_stm32_rx_fifo_pop() [all …]
|
/Zephyr-latest/doc/hardware/peripherals/can/ |
D | shell.rst | 31 timing for the CAN FD data phase). 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 [all …]
|
/Zephyr-latest/doc/releases/ |
D | release-notes-1.13.rst | 16 * Support for IEEE 802.1AS-2011 generalized Precision Time Protocol (gPTP) 23 * Basic support for Arm TrustZone in Armv8-M 42 * arch: arm: implement ARMv8-M MPU driver 44 * arch: arm: macro API for defining non-secure entry functions 48 * arch: ARM: Change the march used by cortex-m0 and cortex-m0plus 50 * arch: arm: basic Arm TrustZone-M functionality for Cortex-M23 and Cortex-M33 51 * arch: arm: built-in stack protection using Armv8-M SPLIM registers 52 * arch: arm: API for using TT intrinsics in Secure/Non-Secure Armv8-M firmware 63 * riscv32: riscv-privilege: Microsemi Mi-V support 99 * modem: Added Wistron WNC-M14A2A LTE-M Modem driver [all …]
|
D | release-notes-3.1.rst | 61 * Split CAN classic and CAN-FD APIs: 90 was moved from Kconfig to :ref:`devicetree <dt-guide>`. 91 See the :dtcompatible:`st,stm32f1-pinctrl` devicetree binding for more information. 182 * MIPI-DSI 184 * Added a :ref:`MIPI-DSI api <mipi_dsi_api>`. This is an experimental API, 189 * Added support for getting the minimum/maximum supported CAN timing parameters: 196 * Added support for enabling/disabling CAN-FD mode at runtime using :c:macro:`CAN_MODE_FD`. 220 * Added support for Provisioners over PB-GATT 231 * Implemented ISO-AL TX unframed fragmentation 232 * Added support for back-to-back receiving of PDUs on nRF5x platforms [all …]
|
D | release-notes-2.5.rst | 27 * 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 …]
|
D | release-notes-1.14.rst | 17 * CVE-2020-10066 18 * CVE-2020-10069 19 * CVE-2020-13601 20 * CVE-2020-13602 32 * :github:`issuenumber` - issue title 34 * :github:`18334` - DNS resolution is broken for some addresses in master/2.0-pre 35 * :github:`19917` - Bluetooth: Controller: Missing LL_ENC_RSP after HCI LTK Negative Reply 36 * :github:`21107` - LL_ASSERT and 'Imprecise data bus error' in LL Controller 37 * :github:`21257` - tests/net/net_pkt failed on mimxrt1050_evk board. 38 * :github:`21299` - bluetooth: Controller does not release buffer on central side after peripheral … [all …]
|
D | release-notes-3.2.rst | 13 * 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 94 * The list of valid return values for the CAN timing calculation functions have been expanded to 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 [all …]
|
D | release-notes-2.1.rst | 13 * Expanded support for ARMv6-M architecture. 50 hardware-based stack overflow detection) in ARMv6-M architecture 51 * Added QEMU support for ARMv6-M architecture 52 * Extended test coverage for ARM-specific kernel features in ARMv6-M 54 * Enhanced runtime MPU programming in ARMv8-M architecture, making 55 the full partitioning of kernel SRAM memory a user-configurable 57 * Added CMSIS support for Cortex-R architectures. 59 * Added missing Cortex-R CPU device tree bindings. 60 * Fixed incorrect Cortex-R device tree specification. 68 * RISC-V: [all …]
|
D | release-notes-2.4.rst | 33 * CVE-2020-10060: UpdateHub Might Dereference An Uninitialized Pointer 34 * CVE-2020-10064: Improper Input Frame Validation in ieee802154 Processing 35 * CVE-2020-10066: Incorrect Error Handling in Bluetooth HCI core 36 * CVE-2020-10072: all threads can access all socket file descriptors 37 * CVE-2020-13598: FS: Buffer Overflow when enabling Long File Names in FAT_FS and calling fs_stat 38 * CVE-2020-13599: Security problem with settings and littlefs 39 * CVE-2020-13601: Under embargo until 2020/11/18 40 * CVE-2020-13602: Remote Denial of Service in LwM2M do_write_op_tlv 50 <https://github.com/zephyrproject-rtos/zephyr/issues?q=is%3Aissue+is%3Aopen+label%3Abug>`_. 62 * The :c:func:`wdt_feed` function will now return ``-EAGAIN`` if [all …]
|
/Zephyr-latest/boards/st/stm32f746g_disco/ |
D | stm32f746g_disco.dts | 4 * SPDX-License-Identifier: Apache-2.0 7 /dts-v1/; 9 #include <st/f7/stm32f746nghx-pinctrl.dtsi> 11 #include <zephyr/dt-bindings/input/input-event-codes.h> 12 #include <zephyr/dt-bindings/memory-attr/memory-attr.h> 13 #include <zephyr/dt-bindings/memory-attr/memory-attr-arm.h> 17 compatible = "st,stm32f746g-disco"; 21 zephyr,shell-uart = &usart1; 25 zephyr,flash-controller = &n25q128a1; 31 compatible = "gpio-leds"; [all …]
|
/Zephyr-latest/boards/st/stm32f429i_disc1/ |
D | stm32f429i_disc1.dts | 5 * SPDX-License-Identifier: Apache-2.0 8 /dts-v1/; 10 #include <st/f4/stm32f429zitx-pinctrl.dtsi> 11 #include <zephyr/dt-bindings/display/ili9xxx.h> 12 #include <zephyr/dt-bindings/input/input-event-codes.h> 20 zephyr,shell-uart = &usart1; 29 compatible = "zephyr,memory-region", "mmio-sram"; 32 zephyr,memory-region = "SDRAM2"; 36 compatible = "gpio-leds"; 48 compatible = "gpio-keys"; [all …]
|
/Zephyr-latest/boards/st/stm32f7508_dk/ |
D | stm32f7508_dk.dts | 5 * SPDX-License-Identifier: Apache-2.0 8 /dts-v1/; 10 #include <st/f7/stm32f750n8hx-pinctrl.dtsi> 11 #include <zephyr/dt-bindings/memory-attr/memory-attr-arm.h> 13 #include <zephyr/dt-bindings/input/input-event-codes.h> 16 model = "STMicroelectronics STM32F7508-DK"; 21 zephyr,shell-uart = &usart1; 25 zephyr,flash-controller = &n25q128a1; 31 compatible = "gpio-leds"; 39 compatible = "gpio-keys"; [all …]
|
/Zephyr-latest/boards/st/stm32h750b_dk/ |
D | stm32h750b_dk.dts | 2 * Copyright (c) 2023-2024 STMicroelectronics 4 * SPDX-License-Identifier: Apache-2.0 7 /dts-v1/; 9 #include <st/h7/stm32h750xbhx-pinctrl.dtsi> 11 #include <zephyr/dt-bindings/input/input-event-codes.h> 15 compatible = "st,stm32h750b-dk"; 19 zephyr,shell-uart = &usart3; 22 zephyr,flash-controller = &mt25ql512ab1; 27 compatible = "zephyr,memory-region", "mmio-sram"; 30 zephyr,memory-region = "SDRAM2"; [all …]
|
/Zephyr-latest/boards/st/stm32h7b3i_dk/ |
D | stm32h7b3i_dk.dts | 2 * Copyright (c) 2022 Byte-Lab d.o.o. <dev@byte-lab.com> 4 * SPDX-License-Identifier: Apache-2.0 7 /dts-v1/; 9 #include <st/h7/stm32h7b3lihxq-pinctrl.dtsi> 10 #include <zephyr/dt-bindings/memory-attr/memory-attr-arm.h> 12 #include <zephyr/dt-bindings/input/input-event-codes.h> 16 compatible = "st,stm32h7b3i-dk"; 20 zephyr,shell-uart = &usart1; 29 compatible = "gpio-leds"; 41 compatible = "gpio-keys"; [all …]
|
/Zephyr-latest/boards/witte/linum/ |
D | linum.dts | 4 * SPDX-License-Identifier: Apache-2.0 7 /dts-v1/; 9 #include <st/h7/stm32h753bitx-pinctrl.dtsi> 10 #include <zephyr/dt-bindings/input/input-event-codes.h> 18 zephyr,shell-uart = &usart1; 22 zephyr,code-partition = &slot0_partition; 27 compatible = "zephyr,memory-region", "mmio-sram"; 30 zephyr,memory-region = "SDRAM1"; 31 zephyr,memory-attr = <( DT_MEM_ARM(ATTR_MPU_RAM) )>; 35 compatible = "gpio-leds"; [all …]
|
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/ |
D | ull_scan.c | 2 * Copyright (c) 2016-2019 Nordic Semiconductor ASA 5 * SPDX-License-Identifier: Apache-2.0 62 #define IS_PHY_ENABLED(scan_ctx, scan_phy) ((scan_ctx)->lll.phy & (scan_phy)) 113 lll = &scan->lll; in ll_scan_params_set() 120 lll->phy = 0U; in ll_scan_params_set() 128 lll->phy = phy; in ll_scan_params_set() 131 lll = &scan->lll; in ll_scan_params_set() 134 scan->own_addr_type = own_addr_type; in ll_scan_params_set() 136 scan->ticks_window = ull_scan_params_set(lll, type, interval, window, in ll_scan_params_set() 197 own_addr_type = scan_coded->own_addr_type; [all …]
|
D | ull.c | 2 * 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 …]
|
D | ull_adv.c | 2 * 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/include/zephyr/drivers/can/ |
D | can_mcan.h | 5 * SPDX-License-Identifier: Apache-2.0 41 /* Data Bit Timing & Prescaler register */ 83 /* Nominal Bit Timing & Prescaler register */ 399 * @name Indexes for the cells in the devicetree bosch,mram-cfg property 402 * These match the description of the cells in the bosch,m_can-base devicetree binding. 408 /** std-filter-elements cell index */ 410 /** ext-filter-elements cell index */ 412 /** rx-fifo0-elements cell index */ 414 /** rx-fifo1-elements cell index */ 416 /** rx-buffer-elements cell index */ [all …]
|
/Zephyr-latest/subsys/usb/usb_c/ |
D | usbc_prl.c | 4 * SPDX-License-Identifier: Apache-2.0 122 struct usbc_port_data *data = dev->data; in prl_subsys_init() 123 struct protocol_layer_tx_t *prl_tx = data->prl_tx; in prl_subsys_init() 124 struct protocol_hard_reset_t *prl_hr = data->prl_hr; in prl_subsys_init() 127 prl_tx->dev = dev; in prl_subsys_init() 128 prl_hr->dev = dev; in prl_subsys_init() 143 struct usbc_port_data *data = dev->data; in prl_is_running() 145 return data->prl_sm_state == SM_RUN; in prl_is_running() 154 struct usbc_port_data *data = dev->data; in prl_execute_hard_reset() 155 struct protocol_hard_reset_t *prl_hr = data->prl_hr; in prl_execute_hard_reset() [all …]
|
/Zephyr-latest/boards/adi/max78002evkit/doc/ |
D | index.rst | 10 are supported, while a pair of industry-standard QWIIC connectors supports a large and growing arra… 11 development boards. An onboard stereo audio codec offers line-level audio input and output, and tac… 12 provided by a touch-enabled 2.4in TFT display. The MAX78002 energy consumption is tracked by a powe… 14 … headers. A standard coaxial power jack serves as power input, using the included 5V, 3A wall-mount 32 - MAX78002 MCU: 34 - Dual-Core, Low-Power Microcontroller 36 - Arm Cortex-M4 Processor with FPU up to 120MHz 37 - 2.5MB Flash, 64KB ROM, and 384KB SRAM 38 - Optimized Performance with 16KB Instruction Cache 39 - Optional Error Correction Code (ECC SEC-DED) for SRAM [all …]
|