Home
last modified time | relevance | path

Searched +full:level +full:- +full:detect (Results 1 – 25 of 70) sorted by relevance

123

/Zephyr-Core-3.5.0/dts/bindings/sdhc/
Dnxp,imx-usdhc.yaml2 # SPDX-License-Identifier: Apache-2.0
6 compatible: "nxp,imx-usdhc"
8 include: [sdhc.yaml, pinctrl-device.yaml]
14 data-timeout:
20 read-watermark:
24 Number of words used as read watermark level in FIFO queue for USDHC
26 write-watermark:
30 Number of words used as write watermark level in FIFO queue for USDHC
41 pwr-gpios:
42 type: phandle-array
[all …]
/Zephyr-Core-3.5.0/boards/arm/arty/dts/bindings/
Darm,daplink-qspi-mux.yaml2 # SPDX-License-Identifier: Apache-2.0
6 compatible: "arm,daplink-qspi-mux"
14 IRQ line connected to the level-detect non-interrupt DAPLink shield
17 mux-gpios:
18 type: phandle-array
/Zephyr-Core-3.5.0/dts/bindings/pinctrl/
Dti,cc13xx-cc26xx-pinctrl.yaml2 # SPDX-License-Identifier: Apache-2.0
24 - bias-disable: Disable pull-up/down.
25 - bias-pull-down: Enable pull-down resistor.
26 - bias-pull-up: Enable pull-up resistor.
27 - drive-open-drain: Output driver is open-drain.
28 - drive-open-drain: Output driver is open-source.
29 - drive-strength: Minimum current that can be sourced from the pin.
30 - input-enable: enable input.
31 - input-schmitt-enable: enable input schmitt circuit.
32 - ti,input-edge-detect: enable and configure edge detection interrupts
[all …]
/Zephyr-Core-3.5.0/drivers/ethernet/phy/
DKconfig3 # Copyright (c) 2021 IP-Logix Inc.
4 # SPDX-License-Identifier: Apache-2.0
10 module-dep = LOG
11 module-str = Log level for Ethernet PHY driver
12 module-help = Sets log level for Ethernet PHY Device Drivers.
22 so that it can start before the networking sub-system.
43 int "Auto-negotiation timeout value in milliseconds"
46 Maximum duration of auto-negotiation sequence in milliseconds
54 periodically executed to detect and report any changes in the
/Zephyr-Core-3.5.0/include/zephyr/drivers/usb_c/
Dusbc_tc.h3 * SPDX-License-Identifier: Apache-2.0
8 * @brief USB Type-C Cable and Connector API used for USB-C drivers
10 * The information in this file was taken from the USB Type-C
18 * @brief USB Type-C
19 * @defgroup usb_type_c USB Type-C
32 * See Table 4-3 VBUS Sink Characteristics
38 * See Table 4-3 VBUS Sink Characteristics
45 * See Table 4-29 VBUS and VCONN Timing Parameters
52 * See Table 4-29 VBUS and VCONN Timing Parameters
58 * See Table 4-29 VBUS and VCONN Timing Parameters
[all …]
/Zephyr-Core-3.5.0/boards/arm/arty/
Dboard.c4 * SPDX-License-Identifier: Apache-2.0
35 return -EINVAL; in board_daplink_qspi_mux_select()
40 return -EINVAL; in board_daplink_qspi_mux_select()
57 * level-detect non-interrupt signal to determine if the DAPLink shield in board_daplink_is_fitted()
68 * in which case the CPU will have the off-board QSPI NOR flash in board_init()
69 * memory-mapped at 0x0. in board_init()
/Zephyr-Core-3.5.0/cmake/toolchain/cross-compile/
Dtarget.cmake1 # SPDX-License-Identifier: Apache-2.0
4 # When using cross-compile, the generic toolchain will be identical to the
6 # Some gcc based compilers do have this information built-in.
7 execute_process(COMMAND ${CMAKE_C_COMPILER} --print-sysroot
31 if(${index} EQUAL -1)
37 # We detect the lib folders, the actual sysroot is up one level.
46 "Use `-DSYSROOT_DIR=<sysroot-dir>` to select sysroot.\n"
60 "Use `-DSYSROOT_DIR=<sysroot-dir>` to specify sysroot to use.\n"
/Zephyr-Core-3.5.0/subsys/usb/usb_c/
Dusbc_tc_src_states.c4 * SPDX-License-Identifier: Apache-2.0
16 * When in the Unattached.SRC state, the port is waiting to detect the
37 const struct device *dev = tc->dev; in tc_unattached_src_run()
46 if (tcpc_is_cc_at_least_one_rd(tc->cc1, tc->cc2)) { in tc_unattached_src_run()
73 const struct device *dev = tc->dev; in tc_unattached_wait_src_entry()
74 struct usbc_port_data *data = dev->data; in tc_unattached_wait_src_entry()
75 const struct device *tcpc = data->tcpc; in tc_unattached_wait_src_entry()
83 usbc_timer_start(&tc->tc_t_vconn_off); in tc_unattached_wait_src_entry()
89 const struct device *dev = tc->dev; in tc_unattached_wait_src_run()
92 if (usbc_timer_expired(&tc->tc_t_vconn_off)) { in tc_unattached_wait_src_run()
[all …]
Dusbc_prl.c4 * 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-Core-3.5.0/scripts/build/
Dcheck_init_priorities.py4 # SPDX-License-Identifier: Apache-2.0
13 This can be used to detect devices that are initialized in the incorrect order,
33 "dts", "python-devicetree", "src"))
34 from devicetree import edtlib # pylint: disable=unused-import
40 # Defined init level in order of priority.
53 "zephyr,cdc-acm-uart",
64 def __init__(self, level, priority): argument
66 if level_name == level:
73 raise ValueError("Unknown level in %s" % level)
100 class variables in the {"level name": ["call", ...]} format.
[all …]
/Zephyr-Core-3.5.0/doc/kernel/services/other/
Dfatal.rst10 either build-time checks, conditionally compiled assertions, or deliberately
21 non-zero value. There are two ways to do this:
23 - Use the :kconfig:option:`CONFIG_ASSERT` and :kconfig:option:`CONFIG_ASSERT_LEVEL` kconfig
25 - Add ``-D__ASSERT_ON=<level>`` to the project's CFLAGS, either on the
31 Specifying an assertion level of 1 causes the compiler to issue warnings that
32 the kernel contains debug-type ``__ASSERT()`` statements; this reminder is
34 Specifying assertion level 2 suppresses these warnings.
46 ----------
57 .. code-block:: c
64 .. code-block:: none
[all …]
/Zephyr-Core-3.5.0/arch/
DKconfig3 # Copyright (c) 2014-2015 Wind River Systems, Inc.
6 # SPDX-License-Identifier: Apache-2.0
16 # Should be 'select'ed by low-level symbols like SOC_SERIES_* or, lacking that,
35 # is really only necessary for Cortex-M with ARM MPU!
158 Helper symbol to detect SoCs forgetting to select one of the arch
159 symbols above. See the top-level CMakeLists.txt.
166 module-str = arch
172 This option tells the build system that the target system is big-endian.
173 Little-endian architecture is the default and should leave this option
180 # Hidden Kconfig option representing the default little-endian architecture
[all …]
/Zephyr-Core-3.5.0/doc/kernel/services/smp/
Dsmp.rst26 non-Zephyr code).
31 At the application level, core Zephyr IPC and synchronization
36 At the lowest level, however, Zephyr code has often used the
54 on top of the pre-existing :c:struct:`atomic_` layer (itself usually
65 re-acquire it or it will deadlock (it is perfectly legal to nest
67 detect and report bugs like this.
71 recursive semantics above, spinlocks in single-CPU contexts produce
85 and that it is re-acquired when necessary to restore the lock state
109 :c:func:`k_thread_cpu_mask_enable` will re-enable execution. There are also
113 suspended, otherwise an ``-EINVAL`` will be returned.
[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>
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
176 * cs-gpios = <&gpio1 10 GPIO_ACTIVE_LOW>,
179 * a: spi-dev-a@0 {
183 * b: spi-dev-b@1 {
229 * cs-gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
230 * spidev: spi-device@0 { ... };
[all …]
/Zephyr-Core-3.5.0/drivers/serial/
Duart_pl011_registers.h6 * SPDX-License-Identifier: Apache-2.0
45 #define PL011_BIT_MASK(x, y) (((2 << x) - 1) << y)
48 #define PL011_FR_CTS BIT(0) /* clear to send - inverted */
49 #define PL011_FR_DSR BIT(1) /* data set ready - inverted */
50 #define PL011_FR_DCD BIT(2) /* data carrier detect - inverted */
56 #define PL011_FR_RI BIT(8) /* ring indicator - inverted */
84 #define PL011_LCRH_WLEN_SIZE(x) (x - 5)
108 /* PL011 Control Register - vendor-specific fields */
118 /* PL011 Interrupt Fifo Level Select Register */
/Zephyr-Core-3.5.0/include/zephyr/net/
Dmdio.h4 * SPDX-License-Identifier: Apache-2.0
40 /** IEEE 802.3 45.3.4 post-read-increment-address operation */
60 /** Auto-negotiation */
102 /* BASE-T1 registers */
103 /** BASE-T1 Auto-negotiation control */
105 /** BASE-T1 Auto-negotiation status */
107 /** BASE-T1 Auto-negotiation advertisement register [15:0] */
109 /** BASE-T1 Auto-negotiation advertisement register [31:16] */
111 /** BASE-T1 Auto-negotiation advertisement register [47:32] */
114 /* BASE-T1 Auto-negotiation Control register */
[all …]
/Zephyr-Core-3.5.0/include/zephyr/logging/
Dlog_msg.h4 * SPDX-License-Identifier: Apache-2.0
59 uint32_t level:3; member
92 (Z_LOG_MSG_ALIGNMENT - (sizeof(struct log_msg_hdr) % Z_LOG_MSG_ALIGNMENT)) : \
152 .level = _level, \
220 * With Zephyr SDK 0.14.2, aarch64-zephyr-elf-gcc (10.3.0) fails to ensure $sp
247 CBPRINTF_STATIC_PACKAGE(_msg->data, _plen, \
256 z_log_msg_static_create((void *)_source, _desc, _msg->data, _data); \
272 CBPRINTF_STATIC_PACKAGE(_msg->data, _plen, _plen, \
371 * - at compile time message size is determined, message is allocated and
375 * - at compile time message size is determined, string package is created on
[all …]
/Zephyr-Core-3.5.0/doc/hardware/peripherals/canbus/
Dcontroller.rst13 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.
19 A CAN transceiver is an external device that converts the logic level signals
20 from the CAN controller to the bus-levels. The bus lines are called
24 These wires use the logic levels whereas the bus-level is interpreted
28 the same voltage level. This state is also the idle state.
29 To write a dominant bit to the bus, open-drain transistors tie CAN H to Vdd
31 The first and last node use a 120-ohm resistor between CAN H and CAN L to
33 This structure is called a wired-AND.
[all …]
/Zephyr-Core-3.5.0/subsys/bluetooth/host/
DKconfig.gatt4 # SPDX-License-Identifier: Apache-2.0
33 try to elevate the security level and retry the ATT request.
66 bool "Automatic re-subscription to characteristics"
71 Quirk: upon re-establishing a bonded connection, assumes the remote
79 bool "Automatic security re-establishment request as a peripheral"
83 This option requests security re-establishment automatically whenever
89 bt_conn_set_security() to re-establish security prior to sending any
118 characteristics which can be used by clients to detect if anything has
149 bool "GATT Enforce change-unaware state"
156 a client until it becomes change-aware."
[all …]
/Zephyr-Core-3.5.0/doc/security/
Dsecurity-overview.rst1 .. _security-overview:
14 documents are created, this document is a top-level overview and entry
32 relevant sub-modules is created, threats are identified, and
43 .. figure:: media/security-process-steps.png
64 noted in RFC-2119, "These terms are frequently used to specify behavior
98 - **Security** **Functionality** with a focus on cryptographic
104 - **Quality Assurance** is driven by using a development process that
107 blocks such as network stacks increases the overall quality level
111 - **Execution Protection** including thread separation, stack and
152 thread execution level, and memory protection constraints are enforced
[all …]
/Zephyr-Core-3.5.0/scripts/kconfig/
Dlint.py4 # SPDX-License-Identifier: Apache-2.0
7 Linter for the Zephyr Kconfig files. Pass --help to see
62 "-n", "--check-always-n",
71 "-u", "--check-unused",
78 - Isn't referenced in Kconfig
79 - Isn't referenced as CONFIG_<NAME> outside Kconfig
81 - Isn't selecting/implying other symbols
82 - Isn't a choice symbol
87 "-m", "--check-pointless-menuconfigs",
95 "-d", "--check-defconfig-only-definition",
[all …]
/Zephyr-Core-3.5.0/subsys/net/lib/sockets/
Dsockets.c6 * SPDX-License-Identifier: Apache-2.0
38 { int _err = x; if (_err < 0) { errno = -_err; return -1; } }
50 return -1; \
53 if (vtable->fn == NULL) { \
55 return -1; \
60 ret = vtable->fn(obj, __VA_ARGS__); \
139 while ((p = k_fifo_get(&ctx->recv_q, K_NO_WAIT)) != NULL) { in zsock_flush_queue()
150 k_fifo_cancel_wait(&ctx->recv_q); in zsock_flush_queue()
153 (void)k_condvar_signal(&ctx->cond.recv); in zsock_flush_queue()
164 return -1; in zsock_socket_internal()
[all …]
/Zephyr-Core-3.5.0/
DKconfig.zephyr3 # Copyright (c) 2014-2015 Wind River Systems, Inc.
6 # SPDX-License-Identifier: Apache-2.0
91 bool "Link application into /chosen/zephyr,code-partition from devicetree"
94 selected by the zephyr,code-partition property in /chosen in devicetree.
99 DT_CHOSEN_Z_CODE_PARTITION := zephyr,code-partition
102 # Only user-configurable when USE_DT_CODE_PARTITION is disabled
115 # Only user-configurable when USE_DT_CODE_PARTITION is disabled
120 If non-zero, this option specifies the size, in bytes, of the flash
135 If the application is built for chain-loading by a bootloader this
157 The templates are pre-processed by the C pre-processor to create the
[all …]
/Zephyr-Core-3.5.0/lib/os/
Donoff.c5 * SPDX-License-Identifier: Apache-2.0
48 * process_events() must re-check the overall state to confirm no
61 /* No-op event: used to process deferred changes.
71 * state (TO-ON, TO-OFF, or RESETTING).
92 * This is synthesized from EVT_RECHECK in a non-nested
94 * non-empty client (request) list.
100 * This is synthesized from EVT_RECHECK in a non-nested
108 * This is synthesized from EVT_RECHECK in a non-nested
110 * non-empty client (reset) list.
118 mgr->flags = (state & ONOFF_STATE_MASK) in set_state()
[all …]
/Zephyr-Core-3.5.0/kernel/
DKconfig3 # Copyright (c) 2014-2015 Wind River Systems, Inc.
4 # SPDX-License-Identifier: Apache-2.0
9 module-str = kernel
13 bool "Multi-threading" if ARCH_HAS_SINGLE_THREAD_SUPPORT
35 K_PRIO_COOP(0) to K_PRIO_COOP(CONFIG_NUM_COOP_PRIORITIES - 1)
39 -CONFIG_NUM_COOP_PRIORITIES to -1
58 to priorities 0 to CONFIG_NUM_PREEMPT_PRIORITIES - 1.
71 default -2 if !PREEMPT_ENABLED
85 default -127
92 int "Number of very-high priority 'preemptor' threads"
[all …]

123