Home
last modified time | relevance | path

Searched +full:periodic +full:- +full:trigger (Results 1 – 25 of 51) sorted by relevance

123

/Zephyr-latest/dts/bindings/adc/
Dnxp,kinetis-adc16.yaml2 # SPDX-License-Identifier: Apache-2.0
6 compatible: "nxp,kinetis-adc16"
8 include: ["adc-controller.yaml", "pinctrl-device.yaml"]
14 channel-mux-b:
22 periodic-trigger:
24 description: if periodic trigger enabled
26 "#io-channel-cells":
29 clk-source:
33 long-sample:
36 - 0
[all …]
/Zephyr-latest/tests/drivers/adc/adc_api/boards/
Dfrdm_k64f.overlay2 * SPDX-License-Identifier: Apache-2.0
9 io-channels = <&adc0 14>;
14 #address-cells = <1>;
15 #size-cells = <0>;
16 clk-source = <0>;
17 hw-trigger-src = <4>;
18 continuous-convert;
19 high-speed;
20 periodic-trigger;
27 zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
[all …]
Dfrdm_k82f.overlay2 * SPDX-License-Identifier: Apache-2.0
9 io-channels = <&adc0 15>;
14 #address-cells = <1>;
15 #size-cells = <0>;
16 clk-source = <0>;
17 hw-trigger-src = <4>;
18 continuous-convert;
19 high-speed;
20 periodic-trigger;
27 zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
[all …]
/Zephyr-latest/drivers/sensor/sensirion/sht3xd/
DKconfig4 # SPDX-License-Identifier: Apache-2.0
18 prompt "Trigger mode"
24 bool "No trigger"
29 depends on $(dt_compat_any_has_prop,$(DT_COMPAT_SENSIRION_SHT3XD),alert-gpios)
35 depends on $(dt_compat_any_has_prop,$(DT_COMPAT_SENSIRION_SHT3XD),alert-gpios)
83 bool "periodic data acquisition"
/Zephyr-latest/modules/openthread/
DKconfig.thread4 # SPDX-License-Identifier: Apache-2.0
48 bool "FTD - Full Thread Device"
50 bool "MTD - Minimal Thread Device"
54 bool "SED - Sleepy End Device"
73 string "The platform-specific string to insert into the OpenThread version string"
88 Defines how many microseconds ahead should MAC deliver a CSL frame to the sub-MAC layer.
132 bool "Periodic parent search support"
136 to the network—enable the Periodic Parent Search feature.
139 int "Interval to trigger parent search in seconds"
149 int "RSSI threshold to trigger parent search"
[all …]
/Zephyr-latest/subsys/bluetooth/controller/
DKconfig.df4 # SPDX-License-Identifier: Apache-2.0
164 is able to store. For nRF5x-based controllers, the hardware imposes
188 periodic advertising chain. The range is taken from BT Core spec 5.1, Vol 4 Part E
198 periodic advertising chain. The range is taken from BT Core spec 5.1, Vol 4 Part E
204 range -2048 2047
208 of 16M cycles. Decreasing the offset value beyond the trigger of the AoA/AoD procedure
214 range -2048 2047
219 is 1 us. Decreasing the offset beyond the trigger of the AoA/AoD procedure will have
225 range -2048 2047
230 is 1 us. Decreasing the offset beyond the trigger of the AoA/AoD procedure will have
[all …]
/Zephyr-latest/doc/connectivity/bluetooth/api/mesh/
Dheartbeat.rst23 - :c:macro:`BT_MESH_FEAT_RELAY`
24 - :c:macro:`BT_MESH_FEAT_PROXY`
25 - :c:macro:`BT_MESH_FEAT_FRIEND`
26 - :c:macro:`BT_MESH_FEAT_LOW_POWER`
34 Periodic publication
41 set of features that can trigger the publication is configurable.
/Zephyr-latest/drivers/wifi/nrf_wifi/inc/
Dcoex_struct.h4 * SPDX-License-Identifier: Apache-2.0
22 #define MAX_NUM_CONFIG_VALUES ((MAX_MESSAGE_BUF_SIZE-\
49 /* To start allocating periodic priority windows to Wi-Fi and SR */
51 /* To start allocating virtual priority windows to Wi-Fi */
66 * struct coex_collect_sr_traffic_info - Message from CD to CM to request SR traffic info.
78 * struct coex_ch_configuration -Message from CD to CM to configure CH.
96 * struct coex_allocate_pti_window - Message to CM to request a priority window.
101 * @can_be_deferred: activity of Wi-Fi/SR, for which window is requested can be deferred or not.
114 * struct coex_allocate_ppw - Message from CD to CM to allocate Periodic Priority Windows.
118 * @ps_mechanism: Indicates recommended powersave mechanism for Wi-Fi's downlink.
[all …]
/Zephyr-latest/drivers/sensor/sx9500/
Dsx9500.c1 /* sensor_sx9500.c - Driver for Semtech SX9500 SAR proximity chip */
6 * SPDX-License-Identifier: Apache-2.0
28 * auto-increments the address for subsequent values in a single
45 0x00, /* No stuck timeout, no periodic compensation. */
51 struct sx9500_data *data = dev->data; in sx9500_sample_fetch()
52 const struct sx9500_config *cfg = dev->config; in sx9500_sample_fetch()
56 return i2c_reg_read_byte_dt(&cfg->i2c, SX9500_REG_STAT, &data->prox_stat); in sx9500_sample_fetch()
63 struct sx9500_data *data = (struct sx9500_data *) dev->data; in sx9500_channel_get()
68 return -ENOTSUP; in sx9500_channel_get()
71 val->val1 = !!(data->prox_stat & in sx9500_channel_get()
[all …]
/Zephyr-latest/subsys/debug/
DKconfig4 # SPDX-License-Identifier: Apache-2.0
24 module-str = thread analyzer
65 the interrupts for a long time - long enough to disconnect when
75 bool "Run periodic thread analysis in a thread"
90 on cache-incoherent architectures.
97 The time in seconds to call thread analyzer periodic printing function.
100 int "Stack size for the periodic thread analysis thread"
133 recent-ish compiler with the ``-fsanitize=address`` command line option,
136 Note that at exit leak detection is disabled for 64-bit boards when
172 architecture, and requires a recent-ish compiler with the
[all …]
/Zephyr-latest/drivers/timer/
Dapic_tsc.c3 * SPDX-License-Identifier: Apache-2.0
28 * If the TSC deadline comparator is not supported then the ICR in one-shot
29 * mode is used as a fallback method to trigger the next timeout interrupt.
86 enum { ONE_SHOT, PERIODIC, TSC_DEADLINE } mode: 2; enumerator
117 /* use the timer ICR to trigger next interrupt */ in set_trigger()
119 uint64_t delta_cycles = deadline - MIN(deadline, curr_cycle); in set_trigger()
134 uint64_t delta_cycles = curr_cycle - last_cycle; in isr()
166 if ((next_cycle - last_cycle) > CYCLES_MAX) { in sys_clock_set_timeout()
173 * TSC_DEADLINE MSR implies that it will trigger an immediate in sys_clock_set_timeout()
195 uint64_t delta_cycles = curr_cycle - last_cycle; in sys_clock_elapsed()
[all …]
Dhpet.c2 * Copyright (c) 2018-2021 Intel Corporation
4 * SPDX-License-Identifier: Apache-2.0
15 #include <zephyr/dt-bindings/interrupt-controller/intel-ioapic.h>
25 * specific. The timers are implemented as a single up-counter with
30 * generate periodic interrupt.
39 * COUNTER_CLK_PERIOD is not in femtoseconds (1e-15 sec).
116 * 32-bit of the General Capabilities and ID Register. This can
209 /* COUNTER_CLK_PERIOD (CLK_PERIOD_REG) is in femtoseconds (1e-15 sec) */
214 * HPET_INT_LEVEL_TRIGGER is used to set HPET interrupt as level trigger
263 if (unlikely((int64_t)(next - now) <= 0)) { in hpet_timer_comparator_set_safe()
[all …]
Darcv2_timer0.c2 * Copyright (c) 2014-2015 Wind River Systems, Inc.
5 * SPDX-License-Identifier: Apache-2.0
51 #define MAX_TICKS ((COUNTER_MAX / CYC_PER_TICK) - 1)
168 * - reprogramming of LIMIT must be clearing the COUNT
169 * - ISR must be clearing the 'overflow_cycles' counter.
170 * - no more than one counter-wrap has occurred between
171 * - the timer reset or the last time the function was called
172 * - and until the current call of the function is completed.
173 * - the function is invoked with interrupts disabled.
205 * @brief System clock periodic tick handler
[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
149 * @brief Adds the periodic @p service to the work queue. The period of the service becomes
152 * @param[in] service Periodic service to be added
153 * @param[in] period_ms Period of the periodic service
285 * socket file descriptor to client_ctx->sock_fd.
293 * @brief Closes the socket with the file descriptor given by client_ctx->sock_fd.
302 * @brief Removes the socket with the file descriptor given by client_ctx->sock_fd from the
311 * descriptor in ctx->sock_fd)
[all …]
/Zephyr-latest/modules/openthread/platform/
Dopenthread-core-zephyr-config.h4 * SPDX-License-Identifier: Apache-2.0
9 * This file includes Zephyr compile-time configuration constants
43 * The maximum number of state-changed callback handlers
55 * The number of EID-to-RLOC cache entries.
66 * The maximum number of EID-to-RLOC cache entries that can be used for
108 * Define to 1 if you want to enable software CSMA-CA backoff logic.
128 * Define as 1 to enable periodic parent search feature.
137 * Specifies the interval in seconds for a child to check the trigger condition
157 * Specifies the RSS threshold used to trigger a parent search.
189 * Define as 1 to support IEEE 802.15.4-2015 Header IE (Information Element) generation and parsing,
[all …]
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/
Dull_internal.h2 * Copyright (c) 2017-2019 Nordic Semiconductor ASA
4 * SPDX-License-Identifier: Apache-2.0
31 * USER_WAIT state and an EXTERNAL trigger must kick the LLCP system
38 * 0U - Accept CPR (possibly with changed offsets)
39 * BT_HCI_ERR_UNSUPP_LL_PARAM_VAL - Reject CPR
49 /* Macro to convert time in us to periodic advertising interval units */
57 return hdr->ref; in ull_ref_get()
62 return ++hdr->ref; in ull_ref_inc()
67 return hdr->ref--; in ull_ref_dec()
72 hdr->ref = 0U; in ull_hdr_init()
[all …]
Dull_adv_iso.c4 * SPDX-License-Identifier: Apache-2.0
127 if (!adv_iso || adv_iso->lll.adv) { in big_create()
137 /* Does not identify a periodic advertising train or in big_create()
138 * the periodic advertising trains is already associated in big_create()
141 lll_adv_sync = adv->lll.sync; in big_create()
142 if (!lll_adv_sync || lll_adv_sync->iso) { in big_create()
243 if (adv->lll.aux) { in big_create()
244 aux = HDR_LLL2ULL(adv->lll.aux); in big_create()
250 if (aux && aux->is_started) { in big_create()
251 ticks_slot_aux = aux->ull.ticks_slot; in big_create()
[all …]
Dull_sync_iso.c4 * SPDX-License-Identifier: Apache-2.0
108 if (sync->iso.sync_iso) { in ll_big_sync_create()
126 last_index = -1; in ll_big_sync_create()
132 } else if (bis[i] > sync->num_bis) { in ll_big_sync_create()
145 if (encryption != sync->enc) { in ll_big_sync_create()
175 sync_iso->sync = sync; in ll_big_sync_create()
176 sync_iso->timeout = sync_timeout; in ll_big_sync_create()
177 sync_iso->timeout_reload = 0U; in ll_big_sync_create()
178 sync_iso->timeout_expire = 0U; in ll_big_sync_create()
180 /* Setup the periodic sync to establish ISO sync */ in ll_big_sync_create()
[all …]
Dull_adv.c2 * Copyright (c) 2016-2021 Nordic Semiconductor ASA
5 * SPDX-License-Identifier: Apache-2.0
139 adv->hci_handle = 0; in ll_adv_cmds_set()
141 adv->is_created = 1; in ll_adv_cmds_set()
146 return -EINVAL; in ll_adv_cmds_set()
167 if (adv->is_created && (adv->hci_handle == hci_handle)) { in ll_adv_set_by_hci_handle_get()
185 if (adv->is_created) { in ll_adv_set_by_hci_handle_get_or_new()
186 if (adv->hci_handle == hci_handle) { in ll_adv_set_by_hci_handle_get_or_new()
196 adv_empty->hci_handle = hci_handle; in ll_adv_set_by_hci_handle_get_or_new()
209 LL_ASSERT(adv && adv->is_created); in ll_adv_set_hci_handle_get()
[all …]
/Zephyr-latest/drivers/adc/
Dadc_mcux_adc16.c2 * Copyright (c) 2017-2018, 2020, NXP
4 * SPDX-License-Identifier: Apache-2.0
33 uint32_t hw_trigger_src; /* ADC hardware trigger source */
42 bool periodic_trigger; /* ADC enable periodic trigger */
82 struct mcux_adc16_data *data = dev->data; in adc_dma_callback()
85 data->buffer++; in adc_dma_callback()
86 adc_context_on_sampling_done(&data->ctx, dev); in adc_dma_callback()
93 const struct mcux_adc16_config *config = dev->config; in adc_hw_trigger_enable()
95 /* enable ADC trigger channel */ in adc_hw_trigger_enable()
96 SIM->SOPT7 |= SIM_SOPT7_ADCSET(config->hw_trigger_src, in adc_hw_trigger_enable()
[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.
21 * Bluetooth: Added support for Periodic Advertising with Responses (PAwR).
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
67 +--------------------------------------------------+
69 +--------------------------------------------------+
[all …]
/Zephyr-latest/soc/intel/intel_adsp/ace/include/
Ddmic_regs.h1 /* SPDX-License-Identifier: Apache-2.0 */
42 /* Capture Link Select - select which link wall clock to time stamp. */
68 /* Common FIFO channels register (primary & secondary) (0000 - 0FFF)
82 * (crossed out) 0010h LOCAL_TSC0 64-bit Wall Clock timestamp
83 * (crossed out) 0018h LOCAL_SAMPLE0 64-bit Sample Count
84 * 001Ch - 00FFh Reserved space for extensions
191 /* FIFO Trigger Threshold */
283 /* Periodic synchronous start control of multiple PDM */
/Zephyr-latest/subsys/bluetooth/mesh/
Dheartbeat.c4 * SPDX-License-Identifier: Apache-2.0
41 if (cb->pub_sent) { in notify_pub_sent()
42 cb->pub_sent(&pub); in notify_pub_sent()
66 pub.count--; in hb_publish_end_cb()
79 if (cb->recv) { in notify_recv()
80 cb->recv(&sub, hops, feat); in notify_recv()
90 if (cb->sub_end) { in notify_sub_end()
91 cb->sub_end(&sub); in notify_sub_end()
195 if (buf->len < 3) { in bt_mesh_hb_recv()
197 return -EINVAL; in bt_mesh_hb_recv()
[all …]
/Zephyr-latest/tests/bsim/bluetooth/audio/src/
Dbap_scan_delegator_test.c2 * Copyright (c) 2021-2022 Nordic Semiconductor ASA
4 * SPDX-License-Identifier: Apache-2.0
116 state->pa_syncing = false; in pa_timer_handler()
118 if (state->recv_state != NULL) { in pa_timer_handler()
121 if (state->recv_state->pa_sync_state == BT_BAP_PA_STATE_INFO_REQ) { in pa_timer_handler()
127 bt_bap_scan_delegator_set_pa_state(state->recv_state->src_id, in pa_timer_handler()
150 state->pa_syncing = true; in pa_sync_past()
151 k_work_init_delayable(&state->pa_timer, pa_timer_handler); in pa_sync_past()
152 (void)k_work_reschedule(&state->pa_timer, in pa_sync_past()
166 recv_state = state->recv_state; in pa_sync_no_past()
[all …]

123