Home
last modified time | relevance | path

Searched +full:closed +full:- +full:loop (Results 1 – 25 of 31) sorted by relevance

12

/Zephyr-latest/dts/bindings/clock/
Dnordic,nrf-fll16m.yaml2 # SPDX-License-Identifier: Apache-2.0
9 - HFXO: The HFXO clock is used as a clock source if the
11 closed-loop and the LFXO clock is not available.
13 - LFXO: The LFXO clock is used as a clock source if the
14 FLL16M mode is closed-loop and the LFXO clock is
20 open-loop-accuracy-ppm = <20000>;
21 closed-loop-base-accuracy-ppm = <5000>;
23 clock-names = "hfxo", "lfxo";
26 compatible: "nordic,nrf-fll16m"
28 include: fixed-clock.yaml
[all …]
/Zephyr-latest/dts/bindings/haptics/
Dti,drv2605.yaml2 # SPDX-License-Identifier: Apache-2.0
5 DRV2605 Haptic Driver for ERM and LRA with built-in library and smart-loop
10 include: i2c-device.yaml
13 actuator-mode:
17 - "ERM"
18 - "LRA"
19 feedback-brake-factor:
22 - "1X"
23 - "2X"
24 - "3X"
[all …]
/Zephyr-latest/subsys/net/lib/lwm2m/
Dlwm2m_engine.h3 * Copyright (c) 2018-2019 Foundries.io
5 * SPDX-License-Identifier: Apache-2.0
139 * @brief Deletes the object instance specified by msg->path. If the object instance id of the
285 * socket file descriptor to client_ctx->sock_fd.
293 * @brief Closes the socket with the file descriptor given by client_ctx->sock_fd.
294 * Does nothing if the context's socket is already closed.
296 * @param[in, out] client_ctx lwm2m context whose socket is to be closed
302 * @brief Removes the socket with the file descriptor given by client_ctx->sock_fd from the
303 * lwm2m work loop. Keeps the socket open.
310 * @brief Adds an existing socket to the lwm2m work loop. (The socket specified by the file
[all …]
/Zephyr-latest/modules/thrift/src/thrift/server/
DTServerFramework.h2 * Copyright (c) 2006- Facebook
4 * SPDX-License-Identifier: Apache-2.0
15 * http://www.apache.org/licenses/LICENSE-2.0
44 * TServerFramework provides a single consolidated processing loop for
45 * servers. By having a single processing loop, behavior between servers
102 * Post-conditions (return guarantees):
103 * The serverTransport will be closed.
108 * Interrupt serve() so that it meets post-conditions and returns.
157 * The client TTransport has already been closed.
/Zephyr-latest/boards/adi/max32675evkit/doc/
Dindex.rst6 the MAX32675 microcontroller, which is a highly integrated, mixed-signal, ultralow-power
7 microcontroller designed for industrial and medical sensors. It contains an integrated, low-power
8 HART modem which enables the bidirectional transfer of digital data over a current loop, to/from
16 - MAX32675 MCU:
18 - Low-Power, High-Performance for IndustrialApplications
20 - 100MHz Arm Cortex-M4 with FPU
21 - 384KB Internal Flash
22 - 160KB SRAM
23 - 128kB ECC Enabled
24 - 44.1μA/MHz ACTIVE Mode at 0.9V up to 12MHzCoremark®
[all …]
/Zephyr-latest/boards/adi/max32680evkit/doc/
Dindex.rst8 which is an advanced system-on-chip (SoC)
10 and management is provided by a single-inductor
11 multiple-output (SIMO) buck regulator system and contains
20 - MAX32680 MCU:
22 - Ultra-Low-Power Wireless Microcontroller
24 - Internal 100MHz Oscillator
25 - 512KB Flash and 128KB SRAM, Optional ECC on One 32KB SRAM Bank
27 - Bluetooth 5.2 LE Radio
29 - Dedicated, Ultra-Low-Power, 32-Bit RISC-VCoprocessor to Offload
31 Timing-Critical Bluetooth Processing
[all …]
/Zephyr-latest/drivers/clock_control/
Dclock_control_nrf2_fll16m.c3 * SPDX-License-Identifier: Apache-2.0
71 soc_lrcconf_poweron_request(&dev_data->fll16m_node, NRF_LRCCONF_POWER_MAIN); in activate_fll16m_mode()
74 NRF_LRCCONF010->CLKCTRL[0].SRC = mode; in activate_fll16m_mode()
77 soc_lrcconf_poweron_release(&dev_data->fll16m_node, NRF_LRCCONF_POWER_MAIN); in activate_fll16m_mode()
82 clock_config_update_end(&dev_data->clk_cfg, 0); in activate_fll16m_mode()
97 clock_config_update_end(&dev_data->clk_cfg, res); in hfxo_cb()
99 (void)atomic_or(&dev_data->clk_cfg.flags, FLAG_HFXO_STARTED); in hfxo_cb()
117 sys_notify_init_callback(&dev_data->hfxo_cli.notify, hfxo_cb); in fll16m_work_handler()
118 rc = nrf_clock_control_request(hfxo, NULL, &dev_data->hfxo_cli); in fll16m_work_handler()
120 clock_config_update_end(&dev_data->clk_cfg, rc); in fll16m_work_handler()
[all …]
/Zephyr-latest/subsys/fs/zms/
Dzms.c3 * SPDX-License-Identifier: Apache-2.0
32 /* 32-bit integer hash function found by https://github.com/skeeto/hash-prospector. */ in zms_lookup_cache_pos()
53 memset(fs->lookup_cache, 0xff, sizeof(fs->lookup_cache)); in zms_lookup_cache_rebuild()
54 addr = fs->ate_wra; in zms_lookup_cache_rebuild()
65 cache_entry = &fs->lookup_cache[zms_lookup_cache_pos(ate.id)]; in zms_lookup_cache_rebuild()
73 if (rc == -ENOENT) { in zms_lookup_cache_rebuild()
87 if (addr == fs->ate_wra) { in zms_lookup_cache_rebuild()
97 uint64_t *cache_entry = fs->lookup_cache; in zms_lookup_cache_invalidate()
98 uint64_t *const cache_end = &fs->lookup_cache[CONFIG_ZMS_LOOKUP_CACHE_SIZE]; in zms_lookup_cache_invalidate()
112 return fs->offset + (fs->sector_size * SECTOR_NUM(addr)) + SECTOR_OFFSET(addr); in zms_addr_to_offset()
[all …]
/Zephyr-latest/boards/adi/max32672evkit/doc/
Dindex.rst6 of the MAX32672 microcontroller, which is a small, high-reliability, ultra-low power,
7 32-bit microcontroller. The MAX32672 is a secure and cost-effective solution
8 for motion/motor control, industrial sensors, and battery-powered medical devices and offers legacy
9 designs an easy, cost-optimal upgrade path from 8-bit or 16-bit microcontrollers.
16 - MAX32672 MCU:
18 - High-Efficiency Microcontroller for Low-Power High-Reliability Devices
20 - Arm Cortex-M4 Processor with FPU up to 100MHz
21 - 1MB Dual-Bank Flash with Error Correction
22 - 200KB SRAM (160KB with ECC Enabled), Optionally Preserved in Lowest Power Modes
23 - EEPROM Emulation on Flash
[all …]
/Zephyr-latest/scripts/native_simulator/common/src/
Dnce.c5 * SPDX-License-Identifier: Apache-2.0
14 * Its mode of operation is that it step-locks the HW
65 this->cpu_halted = true; in nce_init()
66 this->terminate = false; in nce_init()
68 NSI_SAFE_CALL(pthread_cond_init(&this->cond_cpu, NULL)); in nce_init()
69 NSI_SAFE_CALL(pthread_mutex_init(&this->mtx_cpu, NULL)); in nce_init()
94 if (this == NULL || this->cpu_halted) { in nce_terminate()
104 } else if (this->terminate == false) { in nce_terminate()
106 this->terminate = true; in nce_terminate()
108 NSI_SAFE_CALL(pthread_mutex_lock(&this->mtx_cpu)); in nce_terminate()
[all …]
/Zephyr-latest/samples/net/secure_mqtt_sensor_actuator/src/
Dmqtt_client.c4 * SPDX-License-Identifier: Apache-2.0
74 if (client->transport.type == MQTT_TRANSPORT_NON_SECURE) { in prepare_fds()
75 fds[0].fd = client->transport.tcp.sock; in prepare_fds()
78 else if (client->transport.type == MQTT_TRANSPORT_SECURE) { in prepare_fds()
79 fds[0].fd = client->transport.tls.sock; in prepare_fds()
139 evt->param.publish.message.topic.topic.utf8, payload); in on_mqtt_publish()
142 if (strcmp(evt->param.publish.message.topic.topic.utf8, in on_mqtt_publish()
151 switch (evt->type) { in mqtt_event_handler()
153 if (evt->result != 0) { in mqtt_event_handler()
154 LOG_ERR("MQTT Event Connect failed [%d]", evt->result); in mqtt_event_handler()
[all …]
/Zephyr-latest/subsys/net/lib/coap/
Dcoap_server.c4 * SPDX-License-Identifier: Apache-2.0
23 #define THREAD_PRIORITY K_PRIO_COOP(CONFIG_NUM_COOP_PRIORITIES - 1)
25 #define THREAD_PRIORITY K_PRIO_PREEMPT(CONFIG_NUM_PREEMPT_PRIORITIES - 1)
29 (((struct sockaddr *)sock)->sa_family == AF_INET ? \
93 obs = coap_find_observer(service->data->observers, MAX_OBSERVERS, addr, token, tkl); in coap_service_remove_observer()
96 obs = coap_find_observer_by_token(service->data->observers, MAX_OBSERVERS, token, in coap_service_remove_observer()
99 obs = coap_find_observer_by_addr(service->data->observers, MAX_OBSERVERS, addr); in coap_service_remove_observer()
102 return -EINVAL; in coap_service_remove_observer()
148 LOG_ERR("Failed to process client request (%d)", -errno); in coap_server_process()
149 return -errno; in coap_server_process()
[all …]
/Zephyr-latest/doc/releases/
Drelease-notes-3.0.rst22 * CVE-2021-3835: `Zephyr project bug tracker GHSA-fm6v-8625-99jf
23 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-fm6v-8625-99jf>`_
25 * CVE-2021-3861: `Zephyr project bug tracker GHSA-hvfp-w4h8-gxvj
26 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-hvfp-w4h8-gxvj>`_
28 * CVE-2021-3966: `Zephyr project bug tracker GHSA-hfxq-3w6x-fv2m
29 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-hfxq-3w6x-fv2m>`_
36 <https://github.com/zephyrproject-rtos/zephyr/issues?q=is%3Aissue+is%3Aopen+label%3Abug>`_.
53 * Added ``ranges`` and ``dma-ranges`` as invalid property to be used with DT_PROP_LEN()
58 CRC-16-ANSI checksum. A new function, :c:func:`crc16_reflect`, has been
69 * The following Kconfig options related to radio front-end modules (FEMs) were
[all …]
Drelease-notes-3.4.rst20 * Added Power Delivery Source Support to the USB-C Stack.
22 * Cache API functions are now fully in-lined by compilers.
23 * Added an API for real-time clocks (RTC).
29 - Introduction of 3 new test harnesses into twister supporting pyTest,
31 - Transitioning to new Ztest API was completed and legacy Ztest was deprecated.
46 * CVE-2023-1901: Under embargo until 2023-07-04
48 * CVE-2023-1902: Under embargo until 2023-07-04
59 this prevents a cmake dependency loop if the image manager Kconfig is enabled
67 +--------------------------------------------------+
69 +--------------------------------------------------+
[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-3.6.rst12 * New :ref:`GNSS subsystem <gnss_api>` added, enabling geo-awareness in Zephyr applications.
13 * New API and drivers introduced for interfacing with :ref:`keyboard matrices <gpio-kbd>`.
16 * Integrated Trusted Firmware-M (TF-M) 2.0, including an update to Mbed TLS 3.5.2.
23 * Over 30 new supported boards, spanning all Zephyr-supported architectures.
37 * CVE-2023-5779 `Zephyr project bug tracker GHSA-7cmj-963q-jj47
38 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-7cmj-963q-jj47>`_
40 * CVE-2023-6249 `Zephyr project bug tracker GHSA-32f5-3p9h-2rqc
41 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-32f5-3p9h-2rqc>`_
43 * CVE-2023-6749 `Zephyr project bug tracker GHSA-757h-rw37-66hw
44 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-757h-rw37-66hw>`_
[all …]
/Zephyr-latest/subsys/net/lib/sockets/
Dsockets_inet.c6 * SPDX-License-Identifier: Apache-2.0
63 while ((p = k_fifo_get(&ctx->recv_q, K_NO_WAIT)) != NULL) { in zsock_flush_queue()
74 k_fifo_cancel_wait(&ctx->recv_q); in zsock_flush_queue()
77 (void)k_condvar_signal(&ctx->cond.recv); in zsock_flush_queue()
87 return -1; in zsock_socket_internal()
103 errno = -res; in zsock_socket_internal()
104 return -1; in zsock_socket_internal()
108 ctx->user_data = NULL; in zsock_socket_internal()
111 ctx->socket_data = NULL; in zsock_socket_internal()
114 k_fifo_init(&ctx->recv_q); in zsock_socket_internal()
[all …]
/Zephyr-latest/drivers/modem/
Dwncm14a2a.c4 * SPDX-License-Identifier: Apache-2.0
80 .cmd_len = (uint16_t)sizeof(cmd_)-1, \
191 while (length--) { in hexdump()
223 for (i = 0; i < (16 - (n % 16)); i++) { in hexdump()
278 sock->context = NULL; in socket_put()
279 sock->socket_id = 0; in socket_put()
280 (void)memset(&sock->src, 0, sizeof(struct sockaddr)); in socket_put()
281 (void)memset(&sock->dst, 0, sizeof(struct sockaddr)); in socket_put()
289 if (addr->sa_family == AF_INET6) { in wncm14a2a_sprint_ip_addr()
290 return net_addr_ntop(AF_INET6, &net_sin6(addr)->sin6_addr, in wncm14a2a_sprint_ip_addr()
[all …]
/Zephyr-latest/subsys/fs/ext2/
Dext2_impl.c4 * SPDX-License-Identifier: Apache-2.0
37 /* Helper functions --------------------------------------------------------- */
49 switch (fs->sblock.s_errors) { in error_behavior()
55 fs->flags |= EXT2_DATA_FLAGS_RO; in error_behavior()
67 /* Block operations --------------------------------------------------------- */
80 ret = k_mem_slab_alloc(&ext2_block_memory_slab, (void **)&b->data, K_NO_WAIT); in get_block_struct()
97 b->num = block; in ext2_get_block()
98 b->flags = EXT2_BLOCK_ASSIGNED; in ext2_get_block()
99 ret = fs->backend_ops->read_block(fs, b->data, block); in ext2_get_block()
115 b->num = 0; in ext2_get_empty_block()
[all …]
/Zephyr-latest/subsys/sip_svc/
Dsip_svc_subsys.c2 * Copyright (c) 2022-2023, Intel Corporation.
4 * SPDX-License-Identifier: Apache-2.0
35 * - if the client is running with a thread, callback should ensure
37 * - response data pointer is not retained after the callback function.
39 * - callback responsible to free the asynchronous response data memory
46 * ------------------------------------------------------
52 * ------------------------------------------------------
56 * ----------
58 * ----------
62 * -------------------
[all …]
/Zephyr-latest/dts/common/nordic/
Dnrf54h20.dtsi4 * SPDX-License-Identifier: Apache-2.0
10 #include <zephyr/dt-bindings/adc/nrf-saadc.h>
11 #include <zephyr/dt-bindings/misc/nordic-nrf-ficr-nrf54h20.h>
12 #include <zephyr/dt-bindings/misc/nordic-domain-id-nrf54h20.h>
13 #include <zephyr/dt-bindings/misc/nordic-owner-id-nrf54h20.h>
14 #include <zephyr/dt-bindings/misc/nordic-tddconf.h>
15 #include <zephyr/dt-bindings/reserved-memory/nordic-owned-memory.h>
16 #include <zephyr/dt-bindings/power/nordic-nrf-gpd.h>
18 /delete-node/ &sw_pwm;
21 #address-cells = <1>;
[all …]
/Zephyr-latest/subsys/net/ip/
Dtcp.c2 * Copyright (c) 2018-2020 Intel Corporation
4 * SPDX-License-Identifier: Apache-2.0
63 #define TCP_RTO_MS (conn->rto)
102 struct net_buf *buf, *first = pkt->cursor.buf, *second = first->frags; in tcp_pkt_linearize()
109 ret = -EINVAL; in tcp_pkt_linearize()
119 ret = -ENOBUFS; in tcp_pkt_linearize()
123 net_buf_linearize(buf->data, net_buf_max_len(buf), pkt->frags, pos, len); in tcp_pkt_linearize()
126 len1 = first->len - (pkt->cursor.pos - pkt->cursor.buf->data); in tcp_pkt_linearize()
127 len2 = len - len1; in tcp_pkt_linearize()
129 first->len -= len1; in tcp_pkt_linearize()
[all …]
/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/subsys/bluetooth/controller/ll_sw/
Dull_scan_aux.c4 * SPDX-License-Identifier: Apache-2.0
142 rx->hdr.type = NODE_RX_TYPE_RELEASE; in rx_release_put()
144 ll_rx_put(rx->hdr.link, rx); in rx_release_put()
150 return (!scan->periodic.cancelled) ? scan->periodic.sync : NULL; in sync_create_get()
161 return sync->iso.sync_iso; in sync_iso_create_get()
206 ftr = &rx->rx_ftr; in ull_scan_aux_setup()
208 switch (rx->hdr.type) { in ull_scan_aux_setup()
216 lll = ftr->param; in ull_scan_aux_setup()
217 LL_ASSERT(!lll->lll_aux); in ull_scan_aux_setup()
235 lll = ftr->param; in ull_scan_aux_setup()
[all …]
/Zephyr-latest/samples/net/mqtt_sn_publisher/compose/
Dmosquitto.conf50 # Defaults to 'auto-'
51 #auto_id_prefix auto-
71 # maximum. Setting to 1 will guarantee in-order delivery of QoS 1
110 # QoS 1 and 2 messages above those currently in-flight will be queued per
122 # above those that are currently in-flight. Defaults to 1000. Set
146 # do not reconnect within a certain time frame. This is a non-standard option
169 # start-stop-daemon or similar.
176 # This is a non-standard option for the MQTT v3.1 spec but is allowed in
198 # This is a non-standard option explicitly disallowed by the spec.
206 # If run as a non-root user, this setting has no effect.
[all …]

12