Home
last modified time | relevance | path

Searched +full:fast +full:- +full:plus (Results 1 – 25 of 37) sorted by relevance

12

/Zephyr-latest/dts/bindings/i2c/
Datmel,sam-i2c-twim.yaml1 # Copyright (c) 2020-2023 Gerson Fernando Budke <nandojve@gmail.com>
2 # SPDX-License-Identifier: Apache-2.0
7 The Atmel Two-wire Master Interface (TWIM) interconnects components on a
8 unique two-wire bus, made up of one clock line and one data line with speeds
9 of up to 3.4 Mbit/s, based on a byte-oriented transfer format. The TWIM is
20 std-clk-slew-lim = <0>;
21 std-clk-strength-low = "0.5";
22 std-data-slew-lim = <0>;
23 std-data-strength-low = "0.5";
25 hs-clk-slew-lim = <0>;
[all …]
/Zephyr-latest/boards/seagate/faze/
Dfaze.dts4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
10 #include <zephyr/dt-bindings/led/led.h>
11 #include <zephyr/dt-bindings/input/input-event-codes.h>
13 #include "faze-pinctrl.dtsi"
23 zephyr,shell-uart = &uart0;
30 eeprom-0 = &eeprom0;
31 led-controller-0 = &led_controller_0;
35 compatible = "gpio-keys";
46 compatible = "gpio-leds";
[all …]
/Zephyr-latest/dts/bindings/pinctrl/
Dnxp,lpc-iocon-pinctrl.yaml2 # SPDX-License-Identifier: Apache-2.0
16 slew-rate = "standard";
24 IOCON_SLEW=<slew-rate selection>,
38 drive-open-drain: IOCON_OD=1
39 bias-pull-up: IOCON_MODE=2
40 bias-pull-down: IOCON_MODE=1
41 drive-push-pull: IOCON_MODE=3
44 IOCON_HYS- set by input-schmitt-enable
45 IOCON_S_MODE- set by nxp,digital-filter
46 IOCON_CLKDIV- set by nxp,filter-clock-div
[all …]
/Zephyr-latest/drivers/i2c/
Di2c_gd32.c4 * SPDX-License-Identifier: Apache-2.0
25 #include "i2c-priv.h"
59 I2C_CTL1(cfg->reg) |= I2C_CTL1_ERRIE; in i2c_gd32_enable_interrupts()
60 I2C_CTL1(cfg->reg) |= I2C_CTL1_EVIE; in i2c_gd32_enable_interrupts()
61 I2C_CTL1(cfg->reg) |= I2C_CTL1_BUFIE; in i2c_gd32_enable_interrupts()
66 I2C_CTL1(cfg->reg) &= ~I2C_CTL1_ERRIE; in i2c_gd32_disable_interrupts()
67 I2C_CTL1(cfg->reg) &= ~I2C_CTL1_EVIE; in i2c_gd32_disable_interrupts()
68 I2C_CTL1(cfg->reg) &= ~I2C_CTL1_BUFIE; in i2c_gd32_disable_interrupts()
74 data->current->len--; in i2c_gd32_xfer_read()
75 *data->current->buf = I2C_DATA(cfg->reg); in i2c_gd32_xfer_read()
[all …]
Di2c_max32_rtio.c4 * SPDX-License-Identifier: Apache-2.0
63 dev->data)->ctx; in max32_configure()
71 const struct max32_i2c_config *const cfg = dev->config; in max32_do_configure()
72 mxc_i2c_regs_t *i2c = cfg->regs; in max32_do_configure()
79 case I2C_SPEED_FAST: /** I2C Fast Speed: 400 kHz */ in max32_do_configure()
84 case I2C_SPEED_FAST_PLUS: /** I2C Fast Plus Speed: 1 MHz */ in max32_do_configure()
97 return -ENOTSUP; in max32_do_configure()
109 const struct max32_i2c_config *const cfg = dev->config; in max32_msg_start()
110 struct max32_i2c_data *data = dev->data; in max32_msg_start()
111 mxc_i2c_regs_t *i2c = cfg->regs; in max32_msg_start()
[all …]
Di2c_sam4l_twim.c3 * Copyright (c) 2020-2023 Gerson Fernando Budke <nandojve@gmail.com>
5 * SPDX-License-Identifier: Apache-2.0
33 #include "i2c-priv.h"
37 /** I2C bus speed [Hz] in Fast Mode */
39 /** I2C bus speed [Hz] in Fast Plus Mode */
109 const struct i2c_sam_twim_dev_cfg *const cfg = dev->config; in i2c_clk_set()
110 Twim *const twim = cfg->regs; in i2c_clk_set()
126 return -EIO; in i2c_clk_set()
130 TWIM_HSCWGR_HIGH(f_prescaled - in i2c_clk_set()
140 twim->HSCWGR = cwgr_reg_val; in i2c_clk_set()
[all …]
Di2c_sam0.c4 * SPDX-License-Identifier: Apache-2.0
21 #include "i2c-priv.h"
73 while ((regs->SYNCBUSY.reg & SERCOM_I2CM_SYNCBUSY_MASK) != 0) { in wait_synchronization()
77 while ((regs->STATUS.reg & SERCOM_I2CM_STATUS_SYNCBUSY) != 0) { in wait_synchronization()
86 struct i2c_sam0_dev_data *data = dev->data; in i2c_sam0_terminate_on_error()
87 const struct i2c_sam0_dev_config *const cfg = dev->config; in i2c_sam0_terminate_on_error()
88 SercomI2cm *i2c = cfg->regs; in i2c_sam0_terminate_on_error()
90 if (!(i2c->STATUS.reg & (SERCOM_I2CM_STATUS_ARBLOST | in i2c_sam0_terminate_on_error()
107 if (cfg->dma_channel != 0xFF) { in i2c_sam0_terminate_on_error()
108 dma_stop(cfg->dma_dev, cfg->dma_channel); in i2c_sam0_terminate_on_error()
[all …]
Di2c_max32.c4 * SPDX-License-Identifier: Apache-2.0
74 const struct max32_i2c_config *const cfg = dev->config; in api_configure()
75 mxc_i2c_regs_t *i2c = cfg->regs; in api_configure()
82 case I2C_SPEED_FAST: /** I2C Fast Speed: 400 kHz */ in api_configure()
87 case I2C_SPEED_FAST_PLUS: /** I2C Fast Plus Speed: 1 MHz */ in api_configure()
100 return -ENOTSUP; in api_configure()
109 const struct max32_i2c_config *config = dev->config; in api_target_register()
110 struct max32_i2c_data *data = dev->data; in api_target_register()
111 mxc_i2c_regs_t *i2c = config->regs; in api_target_register()
114 data->target_cfg = cfg; in api_target_register()
[all …]
/Zephyr-latest/samples/boards/nxp/adsp/number_crunching/
DREADME.rst1 .. zephyr:code-sample:: number_crunching
9 Number crunching sample does vector operations, Fast Fourier Transformation and filtering.
17 .. code-block:: cmake
27 filtering (Fast Fourier Transform (FFT)) or echo cancellation (Least Mean Square (LMS) filter
32 - :file:`main.c`: calls the generic math functions;
33 - :file:`math_ops.c`: executes the math functions, computes the cycles it took to execute and check…
34 - :file:`cmsis_dsp_wrapper.c`: calls the exact math functions from CMSIS-DSP if :kconfig:option:`CO…
35 - :file:`nature_dsp_wrapper`: if ``LIB_LOCATION`` is defined and points to an out of tree location …
42 CMSIS-DSP is an optional module and needs to be added explicitly to your Zephyr workspace:
44 .. code-block:: shell
[all …]
/Zephyr-latest/boards/st/stm32u083c_dk/doc/
Dindex.rst6 The STM32U083C_DK board, featuring an ARM Cortex-M0+ based STM32U083MC MCU,
12 - Ultra-low-power STM32U083MC microcontroller based on the Arm |reg| Cortex |reg|‑M0+ core,
15 - Board connectors:
17 - ST-LINK USB Type-C connector
18 - User USB Device with USB Type-C connector
19 - mikroBUS connectors
20 - MIPI debug in connector (Arm |reg| Cortex |reg| 10‑pin 1.27 mm‑pitch
22 - Extension connectors for full access to all STM32 I/Os
23 - VBAT dedicated connector provides the capability to power the board on a battery
25 - Flexible power-supply options:
[all …]
/Zephyr-latest/boards/nxp/lpcxpresso11u68/
Dlpcxpresso11u68.dts4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
10 #include <zephyr/dt-bindings/input/input-event-codes.h>
12 #include "lpcxpresso11u68-pinctrl.dtsi"
30 eeprom-0 = &eeprom0;
34 compatible = "gpio-keys";
42 label = "Wake-up button";
48 compatible = "gpio-leds";
64 compatible = "arduino-header-r3";
65 #gpio-cells = <2>;
[all …]
/Zephyr-latest/boards/st/nucleo_u031r8/doc/
Dindex.rst6 The Nucleo U031R8 board, featuring an ARM Cortex-M0+ based STM32U031R8 MCU,
13 - STM32U031R8 microcontroller in LQFP48 package
14 - Two types of extension resources:
16 - Arduino Uno V3 connectivity
17 - ST morpho extension pin headers for full access to all STM32U0 I/Os
19 - On-board STLINK-V2EC debugger/programmer with USB re-enumeration
21 - Flexible board power supply:
23 - USB VBUS or external source(3.3V, 5V, 7 - 12V)
25 - User LED shared with ARDUINO |reg| Uno V3
26 - Two push-buttons: USER and RESET
[all …]
/Zephyr-latest/modules/
DKconfig.stm324 # SPDX-License-Identifier: Apache-2.0
25 Enable STM32Cube Analog-to-Digital Converter (ADC) HAL module driver
30 Enable STM32Cube Extended Analog-to-Digital Converter (ADC) HAL
41 Enable STM32Cube HDMI-CEC controller (CEC) HAL module driver
52 Enable STM32Cube CORDIC co-processor (CORDIC) functions HAL module
86 Enable STM32Cube Digital-to-analog converter (DAC) HAL module driver
91 Enable STM32Cube Extended Digital-to-analog converter (DAC) HAL module
131 Enable STM32Cube Chrom-Art Accelerator™ controller (DMA2D) HAL module
202 Enable STM32Cube Fast-mode Plus Inter-integrated circuit (FMPI2C)
208 Enable STM32Cube Extended Fast-mode Plus Inter-integrated circuit
[all …]
/Zephyr-latest/boards/st/nucleo_u083rc/doc/
Dindex.rst6 The Nucleo U083RC board, featuring an ARM Cortex-M0+ based STM32U083RC MCU,
13 - STM32U083RC microcontroller in LQFP64 package
14 - Two types of extension resources:
16 - Arduino Uno V3 connectivity
17 - ST morpho extension pin headers for full access to all STM32U0 I/Os
19 - On-board STLINK-V2EC debugger/programmer with USB re-enumeration
21 - Flexible board power supply:
23 - USB VBUS or external source(3.3V, 5V, 7 - 12V)
25 - User LED shared with ARDUINO |reg| Uno V3
26 - Two push-buttons: USER and RESET
[all …]
/Zephyr-latest/include/zephyr/sys/
Dsys_heap.h4 * SPDX-License-Identifier: Apache-2.0
19 /* Simple, fast heap implementation.
22 * power-of-two buckets.
26 * bytes for heaps >256kb or on 64 bit systems), plus a log2-sized
27 * array of 2-word bucket headers. No coarse alignment restrictions
32 * a macro-generated, carefully aligned static array. Allocate and
44 * that has a compile-time-configurable upper bound, setting this to
46 * list), objectively fast (~hundred instructions) and amenable to
83 * @return -EINVAL if null pointers, otherwise 0
95 * @return -EINVAL if null pointer was passed, otherwise 0
[all …]
/Zephyr-latest/tests/drivers/spi/spi_loopback/src/
Dspi_rtio.c4 * SPDX-License-Identifier: Apache-2.0
61 * We need 5x(buffer size) + 1 to print a comma-separated list of each
62 * byte in hex, plus a null.
91 sqe->flags |= RTIO_SQE_TRANSACTION; in spi_complete_multiple()
99 ret = cqe->result; in spi_complete_multiple()
114 return -1; in spi_complete_multiple()
123 return -1; in spi_complete_multiple()
145 ret = cqe->result; in spi_complete_loop()
160 return -1; in spi_complete_loop()
187 ret = cqe->result; in spi_null_tx_buf()
[all …]
Dspi.c4 * SPDX-License-Identifier: Apache-2.0
72 static const char tx_data[BUF_SIZE] = "0123456789abcdef-\0";
83 * We need 5x(buffer size) + 1 to print a comma-separated list of each
84 * byte in hex, plus a null.
146 return -1; in spi_complete_multiple()
155 return -1; in spi_complete_multiple()
203 return -1; in spi_complete_loop()
218 /* According to documentation, when sending NULL tx buf - in spi_null_tx_buf()
258 return -1; in spi_null_tx_buf()
298 return -1; in spi_rx_half_start()
[all …]
/Zephyr-latest/include/zephyr/dt-bindings/input/
Dinput-event-codes.h4 * SPDX-License-Identifier: Apache-2.0
7 * https://elixir.bootlin.com/linux/latest/source/include/uapi/linux/input-event-codes.h
100 #define INPUT_KEY_FASTFORWARD 208 /**< Fast Forward Key */
126 #define INPUT_KEY_KPPLUS 78 /**< Keypad Plus Key */
127 #define INPUT_KEY_KPPLUSMINUS 118 /**< Keypad Plus Key */
170 #define INPUT_KEY_UWB 239 /**< Ultra-Wideband Key */
/Zephyr-latest/subsys/bluetooth/controller/
DKconfig.ll_sw_split3 # Copyright (c) 2016-2017 Nordic Semiconductor ASA
4 # SPDX-License-Identifier: Apache-2.0
120 # Hidden, Controller's Co-Operative high priority Rx thread stack size.
125 # Hidden, Controller's Co-Operative Rx thread stack size.
152 https://www.bluetooth.com/specifications/assigned-numbers/company-identifiers
168 Legacy Non-Directed Advertising mode.
180 zero-based numbering. When using with Zephyr host this option can be
233 module-str = "Bluetooth Controller ISO-AL"
237 bool "ISO-AL verbose debug logging"
241 Use this option to enable ISO-AL verbose debug logging.
[all …]
/Zephyr-latest/drivers/flash/
Dflash_stm32wb0x.c4 * SPDX-License-Identifier: Apache-2.0
61 * Fetch word using sys_get_le32, which performs byte-sized in read_mem_u32()
62 * reads instead of word-sized. This is important as ptr may in read_mem_u32()
64 * stored in little-endian inside the flash. in read_mem_u32()
76 READ_BIT(FLASH->SIZE, FLASH_FLASH_SIZE_FLASH_SIZE) + 1; in get_flash_size_in_bytes()
90 * - illegal command in error_from_irq_flags()
91 * - command error in error_from_irq_flags()
94 return -EINVAL; in error_from_irq_flags()
98 return -EIO; in error_from_irq_flags()
102 * Unexpected error flag -> "out of domain" in error_from_irq_flags()
[all …]
/Zephyr-latest/doc/releases/
Drelease-notes-1.5.rst7 1.5.0. This is the first release to follow the 3-month release cadence.
13 - TCP Support
14 - Integration of the Paho MQTT Library support with QoS
15 - Flash Filesystem Support
16 - Integration of the mbedTLS library for encryption
17 - Improved BR/EDR support (for L2CAP, in particular).
18 - Support for the Altera Nios II/f soft CPU architecture
25 - Added nano_fifo_put_list() APIs, which allows queuing a list of elements
27 - Removed unused memory pool structure field.
28 - Enhanced memory pool code.
[all …]
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 …]
/Zephyr-latest/include/zephyr/dt-bindings/pinctrl/
Dlpc11u6x-pinctrl.h4 * SPDX-License-Identifier: Apache-2.0
18 * [10] open-drain mode.
34 * [10] open-drain mode.
41 * @brief Control registers for open-drain I/O pins (I2C):
60 #define IOCON_MODE_PULLDOWN (1 << 3) /* Enable pull-down resistor. */
61 #define IOCON_MODE_PULLUP (2 << 3) /* Enable Pull-up resistor. */
73 /* Only for open-drain pins (I2C). */
74 #define IOCON_SFI2C_EN (0 << 8) /* I2C standard mode / Fast-mode. */
76 #define IOCON_FASTI2C_EN (2 << 8) /* I2C Fast-mode Plus. */
78 #define IOCON_OPENDRAIN_EN (1 << 10) /* Enable open-drain mode. */
/Zephyr-latest/tests/bsim/bluetooth/audio/src/
Dmedia_controller_test.c4 * SPDX-License-Identifier: Apache-2.0
420 g_command_result = cmd_ntf->result_code; in command_recv_cb()
612 err, cmd->opcode); in test_send_cmd_wait_flags()
668 FAIL("FAST REWIND command failed\n"); in test_cp_fast_rewind()
673 printk("FAST REWIND command succeeded\n"); in test_cp_fast_rewind()
687 FAIL("FAST FORWARD command failed\n"); in test_cp_fast_forward()
692 printk("FAST FORWARD command succeeded\n"); in test_cp_fast_forward()
710 /* There is no "STOPPED" state in the spec - STOP goes to PAUSED */ in test_cp_stop()
851 cmd.param = 2; /* Second segment - not the first, maybe not last */ in test_cp_goto_segment()
1206 * - verify that the search results object ID is zero before search in test_scp()
[all …]
/Zephyr-latest/lib/os/
Dcbprintf_complete.c2 * Copyright (c) 1997-2010, 2012-2015 Wind River Systems, Inc.
5 * SPDX-License-Identifier: Apache-2.0
43 /* The float code may extract up to 16 digits, plus a prefix, a
113 #define WCHAR_IS_SIGNED ((WCHAR_MIN - 0) != 0)
196 /** Left-justify value in width */
202 /** Space for non-negative sign */
226 * prec_value is set to the value of a non-negative argument.
254 /** Set for floating point values that have a non-zero
279 * For example for zero-padded hexadecimal integers
313 * unconsumed character. There must be at least one non-digit character in
[all …]

12