Home
last modified time | relevance | path

Searched +full:line +full:- +full:idle +full:- +full:low (Results 1 – 25 of 38) sorted by relevance

12

/Zephyr-Core-3.5.0/dts/bindings/spi/
Despressif,esp32-spi.yaml3 compatible: "espressif,esp32-spi"
5 include: [spi-controller.yaml, pinctrl-device.yaml]
11 pinctrl-0:
14 pinctrl-names:
17 half-duplex:
20 Enable half-duplex communication mode.
24 dummy-comp:
31 Enable 3-wire mode
35 dma-enabled:
39 dma-clk:
[all …]
/Zephyr-Core-3.5.0/samples/drivers/led_ws2812/boards/
Desp32s3_devkitm.overlay4 * SPDX-License-Identifier: Apache-2.0
7 #include <zephyr/dt-bindings/led/led.h>
11 line-idle-low;
14 compatible = "worldsemi,ws2812-spi";
18 spi-max-frequency = <6400000>;
21 chain-length = <1>; /* arbitrary; change at will */
22 spi-cpha;
23 spi-one-frame = <0xf0>; /* 11110000: 625 ns high and 625 ns low */
24 spi-zero-frame = <0xc0>; /* 11000000: 312.5 ns high and 937.5 ns low */
25 color-mapping = <LED_COLOR_ID_GREEN
[all …]
Desp32c3_devkitm.overlay4 * SPDX-License-Identifier: Apache-2.0
7 #include <zephyr/dt-bindings/led/led.h>
11 line-idle-low;
14 compatible = "worldsemi,ws2812-spi";
18 spi-max-frequency = <6400000>;
21 chain-length = <1>; /* arbitrary; change at will */
22 spi-cpha;
23 spi-one-frame = <0xf0>; /* 11110000: 625 ns high and 625 ns low */
24 spi-zero-frame = <0xc0>; /* 11000000: 312.5 ns high and 937.5 ns low */
25 color-mapping = <LED_COLOR_ID_GREEN
[all …]
Desp32s2_saola.overlay4 * SPDX-License-Identifier: Apache-2.0
7 #include <zephyr/dt-bindings/led/led.h>
11 line-idle-low;
14 compatible = "worldsemi,ws2812-spi";
18 spi-max-frequency = <6400000>;
21 chain-length = <1>; /* arbitrary; change at will */
22 spi-cpha;
23 spi-one-frame = <0xf0>; /* 11110000: 625 ns high and 625 ns low */
24 spi-zero-frame = <0xc0>; /* 11000000: 312.5 ns high and 937.5 ns low */
25 color-mapping = <LED_COLOR_ID_GREEN
[all …]
/Zephyr-Core-3.5.0/dts/bindings/display/
Dsitronix,st7735r.yaml1 # Copyright (c) 2020, Kim Bøndergaard <kim@fam-boendergaard.dk>
2 # SPDX-License-Identifier: Apache-2.0
8 include: [spi-device.yaml, display-controller.yaml]
11 reset-gpios:
12 type: phandle-array
15 The RESET pin of ST7735R is active low.
17 as active low.
19 cmd-data-gpios:
20 type: phandle-array
24 The D/CX pin of ST7735R is active low (transmission command byte).
[all …]
/Zephyr-Core-3.5.0/subsys/testsuite/ztest/
DKconfig2 # SPDX-License-Identifier: Apache-2.0
40 value. Please be aware that increasing it for long-running test cases
55 0 Write only file and line for failed assertions
56 1 Write file, line number, function and reason for failed assertions
61 default -2 if !PREEMPT_ENABLED
62 default -1
64 Set priority of the testing thread. Default is -1 (cooperative).
84 bool "Using a pre-defined fatal handler and hook function"
86 Use the pre-defined common fatal error handler and a post hook to
92 bool "Using a pre-defined assert handler and hook function"
[all …]
/Zephyr-Core-3.5.0/soc/arm/nordic_nrf/nrf52/
DKconfig.soc1 # Nordic Semiconductor nRF52 MCU line
3 # Copyright (c) 2016-2019 Nordic Semiconductor ASA
4 # SPDX-License-Identifier: Apache-2.0
104 gpio-as-nreset;
108 bool "The instruction cache (I-Cache)"
124 (XO) is used then low frequency clock initially starts with RC and then
146 sometimes wrong. This occurs when the system enters IDLE and stops the
/Zephyr-Core-3.5.0/drivers/spi/
Dspi_nrfx_spis.c4 * SPDX-License-Identifier: Apache-2.0
64 const struct spi_nrfx_config *dev_config = dev->config; in configure()
65 struct spi_nrfx_data *dev_data = dev->data; in configure()
66 struct spi_context *ctx = &dev_data->ctx; in configure()
73 if (spi_cfg->operation & SPI_HALF_DUPLEX) { in configure()
74 LOG_ERR("Half-duplex not supported"); in configure()
75 return -ENOTSUP; in configure()
78 if (SPI_OP_MODE_GET(spi_cfg->operation) == SPI_OP_MODE_MASTER) { in configure()
79 LOG_ERR("Master mode is not supported on %s", dev->name); in configure()
80 return -EINVAL; in configure()
[all …]
Dspi_xec_qmspi_ldma.c4 * SPDX-License-Identifier: Apache-2.0
19 #include <zephyr/dt-bindings/clock/mchp_xec_pcr.h>
20 #include <zephyr/dt-bindings/interrupt-controller/mchp-xec-ecia.h>
33 * received data is shifted off the input line(s) improperly. Received
34 * data bytes will be left shifted by 1. Work-around for SPI Mode 3 is
35 * to sample input line(s) on same edge as output data is ready.
122 return -ETIMEDOUT; in xec_qmspi_spin_yield()
132 * Some QMSPI timing register may be modified by the Boot-ROM OTP
143 taps[0] = regs->TM_TAPS; in qmspi_reset()
144 taps[1] = regs->TM_TAPS_ADJ; in qmspi_reset()
[all …]
/Zephyr-Core-3.5.0/doc/kernel/services/
Dinterrupts.rst9 allowing the response to occur with very low overhead.
43 in mid-execution if a higher priority interrupt is signaled. The lower
62 Multi-level Interrupt handling
65 A hardware platform can support more interrupt lines than natively-provided
67 hardware interrupts are combined into one line that is then routed to
75 A unique 32-bit interrupt number is assigned with information
77 Service Routine (ISR). Each interrupt level is given a byte within this 32-bit
81 .. code-block:: none
93 * '-' means interrupt line and is numbered from 0 (right most).
95 to nested controllers and one device 'A' on line 4.
[all …]
/Zephyr-Core-3.5.0/boards/posix/native_posix/doc/
Dindex.rst49 .. zephyr-app-commands::
50 :zephyr-app: samples/hello_world
51 :host-os: unix
63 .. code-block:: console
68 This executable accepts several command line options depending on the
70 You can run it with the ``--help`` command line switch to get a list of
73 $ ./build/zephyr/zephyr.exe --help
76 finished. It simply goes into the idle loop forever.
102 (e.g., -O0) by setting :kconfig:option:`CONFIG_NO_OPTIMIZATIONS`.
111 ``west build`` or ``cmake`` command line invocation.
[all …]
/Zephyr-Core-3.5.0/drivers/i2c/
Di2c_npcx_controller.c4 * SPDX-License-Identifier: Apache-2.0
15 * support for a two-wire SMBus/I2C synchronous serial interface. The following
21 * +<----------------+<----------------------+
23 * +------+ +------------+ | +------- ----+ | +------- -------+ |
24 * +->| IDLE |-->| WAIT_START |--->| WRITE_FIFO |-+--->| WRITE_SUSPEND |--+
25 * | +------+ +------------+ +------------+ Yes +---------------+ |
27 * | +-----------+ |
28 * +--------------------------------------------| WAIT_STOP |<------------+
29 * STOP is completed +-----------+ Issue STOP
35 * +<-----------------+<---------------------+
[all …]
Di2c_ite_it8xxx2.c4 * SPDX-License-Identifier: Apache-2.0
18 #include <zephyr/dt-bindings/i2c/it8xxx2-i2c.h>
25 #include "i2c-priv.h"
27 /* Start smbus session from idle state */
111 /* Time-out error */
131 const struct i2c_it8xxx2_config *config = dev->config; in i2c_parsing_return_value()
132 struct i2c_it8xxx2_data *data = dev->data; in i2c_parsing_return_value()
134 if (!data->err) { in i2c_parsing_return_value()
138 if (data->err == ETIMEDOUT) { in i2c_parsing_return_value()
141 config->port, data->addr_16bit); in i2c_parsing_return_value()
[all …]
/Zephyr-Core-3.5.0/include/zephyr/sys/
Darch_interface.h4 * SPDX-License-Identifier: Apache-2.0
8 * @defgroup arch-interface Architecture Interface
12 * call architecture-specific API so will have the prototypes for the
13 * architecture-specific APIs here. Architecture APIs that aren't used in this
16 * The set of architecture-specific APIs used internally by public macros and
49 * @defgroup arch-timing Architecture timing APIs
50 * @ingroup arch-interface
78 * through the full 64 bit space, wrapping at 2^64-1. Hardware with
88 * @addtogroup arch-threads
122 * buffer, defined as the area usable for thread stack context and thread-
[all …]
/Zephyr-Core-3.5.0/drivers/sdhc/
Dimx_usdhc.c4 * SPDX-License-Identifier: Apache-2.0
96 struct usdhc_data *data = dev->data; in transfer_complete_cb()
99 data->transfer_status |= TRANSFER_DATA_FAILED; in transfer_complete_cb()
101 data->transfer_status |= TRANSFER_DATA_COMPLETE; in transfer_complete_cb()
103 data->transfer_status |= TRANSFER_CMD_FAILED; in transfer_complete_cb()
105 data->transfer_status |= TRANSFER_CMD_COMPLETE; in transfer_complete_cb()
107 k_sem_give(&data->transfer_sem); in transfer_complete_cb()
114 ret = pinctrl_apply_state(cfg->pincfg, PINCTRL_STATE_NOPULL); in imx_usdhc_dat3_pull()
122 if (cfg->pwr_gpio.port) { in imx_usdhc_dat3_pull()
123 ret = gpio_pin_set_dt(&cfg->pwr_gpio, 0); in imx_usdhc_dat3_pull()
[all …]
/Zephyr-Core-3.5.0/subsys/testsuite/ztest/src/
Dztest.c4 * SPDX-License-Identifier: Apache-2.0
13 #include <zephyr/sys/libc-hooks.h>
43 * line.
72 test->name); in cleanup_test()
76 test->name); in cleanup_test()
88 #define MAX_NUM_CPUHOLD (CONFIG_MP_MAX_NUM_CPUS - 1)
112 * We'll be spinning with IRQs disabled. The flush-your-FPU request in cpu_hold()
117 k_float_disable(_current_cpu->arch.fpu_owner); in cpu_hold()
125 * for long-running test cases tends to overload the CI system in cpu_hold()
129 dt = k_uptime_get_32() - start_ms; in cpu_hold()
[all …]
Dztest_new.c4 * SPDX-License-Identifier: Apache-2.0
11 #include <zephyr/sys/libc-hooks.h>
83 PRINT("Test %s failed: Unused mock parameter values\n", test->name); in cleanup_test()
86 PRINT("Test %s failed: Unused mock return values\n", test->name); in cleanup_test()
98 #define MAX_NUM_CPUHOLD (CONFIG_MP_MAX_NUM_CPUS - 1)
123 * We'll be spinning with IRQs disabled. The flush-your-FPU request in cpu_hold()
128 k_float_disable(_current_cpu->arch.fpu_owner); in cpu_hold()
136 * for long-running test cases tends to overload the CI system in cpu_hold()
140 dt = k_uptime_get_32() - start_ms; in cpu_hold()
157 /* Spawn N-1 threads to "hold" the other CPUs, waiting for in z_impl_z_test_1cpu_start()
[all …]
/Zephyr-Core-3.5.0/include/zephyr/drivers/
Dspi.h4 * SPDX-License-Identifier: Apache-2.0
25 #include <zephyr/dt-bindings/spi/spi.h>
52 * Clock Polarity: if set, clock idle state will be 1
61 * capture will occur on low to high transition and high to low if
68 * Whatever data is transmitted is looped-back to the receiving buffer of
105 /* Requests - if possible - to keep CS asserted after the transaction */
114 /* Active high logic on CS - Usually, and by default, CS logic is active
115 * low. However, some devices may require the reverse logic: active high.
118 * the CS control to a gpio line through struct spi_cs_control would be
144 * This can be used to control a CS line via a GPIO line, instead of
[all …]
/Zephyr-Core-3.5.0/doc/services/tracing/
Dindex.rst10 your application and allows tools running on a host to visualize the inner-working of
13 Every system has application-specific events to trace out. Historically,
16 1. Determining the application-specific payload,
17 2. Choosing suitable serialization-format,
18 3. Writing the on-target serialization code,
20 5. Writing the PC-side deserializer/parser,
21 6. Writing custom ad-hoc tools for filtering and presentation.
45 formats. This enables tool reuse, of which line-textual (babeltrace) and
49 See `CTF - A Flexible, High-performance Binary Trace Format
59 --------------------
[all …]
/Zephyr-Core-3.5.0/doc/releases/
Drelease-notes-1.7.rst10 nano- and micro-kernel APIs found in the 1.5.0 release and earlier.
52 * Added NXP FRDM-KW41Z board
53 * Added ST Nucleo-F334R8, Nucleo-L476G, STM3210C-EVAL, and STM32373C-EVAL boards
102 * Created net-shell module for interacting with network sub-system.
136 * Imported Segger J-Link RTT library
145 * New local-content generation theme (read-the-docs)
147 * Site-wide glossary added.
150 * Improved consistency of :ref:`boards` and :ref:`samples-and-demos`.
159 * ``ZEP-19`` - IPSP node support
160 * ``ZEP-145`` - no 'make flash' for Arduino Due
[all …]
Drelease-notes-3.5.rst38 * CVE-2023-3725 `Zephyr project bug tracker GHSA-2g3m-p6c7-8rr3
39 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-2g3m-p6c7-8rr3>`_
41 * CVE-2023-4257 `Zephyr project bug tracker GHSA-853q-q69w-gf5j
42 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-853q-q69w-gf5j>`_
44 * CVE-2023-4258 `Zephyr project bug tracker GHSA-m34c-cp63-rwh7
45 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-m34c-cp63-rwh7>`_
47 * CVE-2023-4259 `Zephyr project bug tracker GHSA-gghm-c696-f4j4
48 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-gghm-c696-f4j4>`_
50 * CVE-2023-4260 `Zephyr project bug tracker GHSA-gj27-862r-55wh
51 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-gj27-862r-55wh>`_
[all …]
Drelease-notes-2.0.rst12 * The kernel now supports both 32- and 64-bit architectures.
17 * We added support for :ref:`Point-to-Point Protocol (PPP) <ppp>`. PPP is a
20 * We added support for UpdateHub, an end-to-end solution for large scale
21 over-the-air device updates.
22 * We added support for ARM Cortex-R Architecture (Experimental).
32 * Fixes CVE-2019-9506: The Bluetooth BR/EDR specification up to and
33 including version 5.1 permits sufficiently low encryption key length
35 negotiation. This allows practical brute-force attacks (aka "KNOB")
42 * New kernel API for per-thread disabling of Floating Point Services for
43 ARC, ARM Cortex-M, and x86 architectures.
[all …]
/Zephyr-Core-3.5.0/include/zephyr/
Dkernel.h4 * SPDX-License-Identifier: Apache-2.0
51 #define K_PRIO_COOP(x) (-(CONFIG_NUM_COOP_PRIORITIES - (x)))
54 #define K_HIGHEST_THREAD_PRIO (-CONFIG_NUM_COOP_PRIORITIES)
58 #define K_LOWEST_APPLICATION_THREAD_PRIO (K_LOWEST_THREAD_PRIO - 1)
165 * Thread user options. May be needed by assembly code. Common part uses low
166 * bits, arch-specific use high bits.
212 * from within a user-provided callback they have been invoked.
213 * Effectively it serves as a tiny bit of zero-overhead TLS data.
265 /* end - thread options */
272 * - @ref K_USER allocate a userspace thread (requires `CONFIG_USERSPACE=y`)
[all …]
/Zephyr-Core-3.5.0/drivers/modem/
Dhl7800.c4 * SPDX-License-Identifier: Apache-2.0
216 #define SIZE_WITHOUT_NUL(v) (sizeof(v) - SIZE_OF_NUL)
220 .cmd = cmd_, .cmd_len = (uint16_t)sizeof(cmd_) - 1, \
249 #define RSSI_UNKNOWN -999
293 /* The ? can be a + or - */
300 #define TIME_STRING_TO_TM_STRUCT_YEAR_OFFSET (2000 - 1900)
372 static const char EOF_PATTERN[] = "--EOF--Pattern--";
594 sock->allocated = true; in alloc_stale_socket()
605 sock->allocated = false; in free_stale_socket()
616 sock->type = type; in queue_stale_socket()
[all …]
/Zephyr-Core-3.5.0/drivers/serial/
Duart_stm32.c2 * Copyright (c) 2016 Open-RnD Sp. z o.o.
5 * SPDX-License-Identifier: Apache-2.0
94 struct uart_stm32_data *data = dev->data; in uart_stm32_pm_policy_state_lock_get()
96 if (!data->pm_policy_state_on) { in uart_stm32_pm_policy_state_lock_get()
97 data->pm_policy_state_on = true; in uart_stm32_pm_policy_state_lock_get()
104 struct uart_stm32_data *data = dev->data; in uart_stm32_pm_policy_state_lock_put()
106 if (data->pm_policy_state_on) { in uart_stm32_pm_policy_state_lock_put()
107 data->pm_policy_state_on = false; in uart_stm32_pm_policy_state_lock_put()
115 const struct uart_stm32_config *config = dev->config; in uart_stm32_set_baudrate()
116 struct uart_stm32_data *data = dev->data; in uart_stm32_set_baudrate()
[all …]

12