Home
last modified time | relevance | path

Searched +full:fixed +full:- +full:baudrate (Results 1 – 12 of 12) sorted by relevance

/Zephyr-latest/dts/bindings/serial/
Dintel,lw_uart.yaml3 compatible: "intel,lw-uart"
5 include: uart-controller.yaml
12 current-speed:
14 description: Default baudrate of the uart controller.
16 fixed-baudrate:
Daltr,uart.yaml5 include: uart-controller.yaml
12 current-speed:
14 description: Default baudrate of the uart controller.
16 fixed-baudrate:
/Zephyr-latest/drivers/i2c/
Di2c_mcux_lpi2c.c3 * Copyright 2019-2023, NXP
6 * SPDX-License-Identifier: Apache-2.0
32 #include "i2c-priv.h"
36 #define SCAN_DELAY_US(baudrate) (12 * USEC_PER_SEC / baudrate) argument
40 ((const struct mcux_lpi2c_config *)(_dev)->config)
41 #define DEV_DATA(_dev) ((struct mcux_lpi2c_data *)(_dev)->data)
79 const struct mcux_lpi2c_config *config = dev->config; in mcux_lpi2c_configure()
80 struct mcux_lpi2c_data *data = dev->data; in mcux_lpi2c_configure()
83 uint32_t baudrate; in mcux_lpi2c_configure() local
87 return -EINVAL; in mcux_lpi2c_configure()
[all …]
/Zephyr-latest/drivers/ethernet/
Deth_nxp_s32_netc_psi.c2 * Copyright 2022-2024 NXP
4 * SPDX-License-Identifier: Apache-2.0
36 EthTrcv_BaudRateType baudrate; in nxp_s32_eth_configure_port() local
42 baudrate = PHY_TO_NETC_SPEED(speed); in nxp_s32_eth_configure_port()
43 status = Netc_EthSwt_Ip_SetPortSpeed(NETC_SWITCH_IDX, port_idx, baudrate); in nxp_s32_eth_configure_port()
64 const struct nxp_s32_eth_config *cfg = dev->config; in phy_link_state_changed()
65 const struct nxp_s32_eth_data *ctx = dev->data; in phy_link_state_changed()
69 if (state->is_up) { in phy_link_state_changed()
71 nxp_s32_eth_configure_port(cfg->port_idx, state->speed); in phy_link_state_changed()
72 net_eth_carrier_on(ctx->iface); in phy_link_state_changed()
[all …]
/Zephyr-latest/drivers/serial/
Duart_intel_lw.c4 * SPDX-License-Identifier: Apache-2.0
64 * indicate that the device has a fixed baud rate; i.e. if this flag is set
121 * This is a non-blocking function.
134 * @return 0 if a character arrived, -1 if input buffer is empty.
135 * -EINVAL if p_char is null pointer
139 const struct uart_intel_lw_device_config *config = dev->config; in uart_intel_lw_poll_in()
140 struct uart_intel_lw_device_data *data = dev->data; in uart_intel_lw_poll_in()
141 int ret_val = -1; in uart_intel_lw_poll_in()
149 return -EINVAL; in uart_intel_lw_poll_in()
152 k_spinlock_key_t key = k_spin_lock(&data->lock); in uart_intel_lw_poll_in()
[all …]
Duart_altera.c4 * SPDX-License-Identifier: Apache-2.0
74 * indicate that the device has a fixed baud rate; i.e. if this flag is set
134 * This is a non-blocking function.
139 * @return 0 if a character arrived, -1 if input buffer is empty.
140 * -EINVAL if p_char is null pointer
144 const struct uart_altera_device_config *config = dev->config; in uart_altera_poll_in()
145 struct uart_altera_device_data *data = dev->data; in uart_altera_poll_in()
146 int ret_val = -1; in uart_altera_poll_in()
154 return -EINVAL; in uart_altera_poll_in()
157 k_spinlock_key_t key = k_spin_lock(&data->lock); in uart_altera_poll_in()
[all …]
Duart_stm32.c2 * Copyright (c) 2016 Open-RnD Sp. z o.o.
6 * SPDX-License-Identifier: Apache-2.0
43 #include <zephyr/linker/linker-defs.h>
45 #include <zephyr/dt-bindings/memory-attr/memory-attr-arm.h>
70 /* Placeholder value when wakeup-line DT property is not defined */
105 struct uart_stm32_data *data = dev->data; in uart_stm32_pm_policy_state_lock_get()
107 if (!data->pm_policy_state_on) { in uart_stm32_pm_policy_state_lock_get()
108 data->pm_policy_state_on = true; in uart_stm32_pm_policy_state_lock_get()
118 struct uart_stm32_data *data = dev->data; in uart_stm32_pm_policy_state_lock_put()
120 if (data->pm_policy_state_on) { in uart_stm32_pm_policy_state_lock_put()
[all …]
/Zephyr-latest/doc/releases/
Drelease-notes-4.0.rst15 is now the standard way to provide device-specific protection to data at rest. (:github:`76222`)
18 :ref:`ZMS <zms_api>` is a new key-value storage subsystem compatible with all non-volatile storage
25 runtime configuration through vendor specific APIs. Initially the :dtcompatible:`nordic,nrf-comp`,
26 :dtcompatible:`nordic,nrf-lpcomp` and :dtcompatible:`nxp,kinetis-acmp` are supported.
31 Initially implemented drivers include a simple :dtcompatible:`zephyr,gpio-steppers` and a complex
32 sensor-less stall-detection capable with integrated ramp-controller :dtcompatible:`adi,tmc5041`.
50 directory for :zephyr:code-sample-category:`code samples <samples>`.
70 * :cve:`2024-8798`: Under embargo until 2024-11-22
71 * :cve:`2024-10395`: Under embargo until 2025-01-23
72 * :cve:`2024-11263` `Zephyr project bug tracker GHSA-jjf3-7x72-pqm9
[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 …]
Drelease-notes-2.1.rst13 * 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.
61 * Fixed several bugs in ARM architecture implementation
[all …]
/Zephyr-latest/drivers/i3c/
Di3c_npcx.c4 * SPDX-License-Identifier: Apache-2.0
103 #define I3C_BUS_TLOW_PP_MIN_NS 24 /* T_LOW period in push-pull mode */
104 #define I3C_BUS_THigh_PP_MIN_NS 24 /* T_High period in push-pull mode */
105 #define I3C_BUS_TLOW_OD_MIN_NS 200 /* T_LOW period in open-drain mode */
107 #define PPBAUD_DIV_MAX (BIT(GET_FIELD_SZ(NPCX_I3C_MCONFIG_PPBAUD)) - 1) /* PPBAUD divider max */
163 uint8_t ppbaud; /* Push-Pull high period */
164 uint8_t pplow; /* Push-Pull low period */
165 uint8_t odhpp; /* Open-Drain high period */
166 uint8_t odbaud; /* Open-Drain low period */
259 struct npcx_i3c_data *const data = dev->data; in npcx_i3c_mutex_lock()
[all …]
/Zephyr-latest/samples/modules/canopennode/objdict/
Dobjdict.xml1 <?xml version="1.0" encoding="utf-8"?>
2 <device xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-in…
5 <description>bit 0-15: Device profile number
6 bit 16-31: Additional information</description>
19 <description>bit 0-31: Not used by stack (available for user)</description>
21 …<CANopenObject index="1003" name="Pre-defined error field" objectType="ARRAY" memoryType="RAM" dat…
23 bit 0-7: Zero can be written to erase error history
26 bit 0-15: Error code as transmitted in the Emergency object
27 bit 16-31: Manufacturer specific additional information</description>
57 …<CANopenObject index="1005" name="COB-ID SYNC message" objectType="VAR" memoryType="ROM" dataType=…
[all …]