Home
last modified time | relevance | path

Searched +full:measurement +full:- +full:period (Results 1 – 25 of 29) sorted by relevance

12

/Zephyr-latest/dts/bindings/sensor/
Dvishay,vcnl36825t.yaml2 # SPDX-License-Identifier: Apache-2.0
10 include: [sensor-device.yaml, i2c-device.yaml]
13 operation-mode:
19 - "auto": the sensor performs sampling continuously,
20 - "force": the sampling is performed on every fetch command.
24 Note: "force"-mode only available if low-power mode inactive.
26 measurement-period:
31 Measurement period of the sensors in ms.
34 - [10, 80] ms only if low power mode is inactive
35 - [80, 320] ms only in low power mode
[all …]
Dite,it8xxx2-vcmp.yaml2 # SPDX-License-Identifier: Apache-2.0
6 compatible: "ite,it8xxx2-vcmp"
8 include: sensor-device.yaml
17 vcmp-ch:
22 scan-period:
27 Check include/zephyr/dt-bindings/sensor/it8xxx2_vcmp.h file for
28 pre-defined values.
36 Check include/zephyr/dt-bindings/sensor/it8xxx2_vcmp.h file for
37 pre-defined values.
39 threshold-mv:
[all …]
/Zephyr-latest/drivers/clock_control/
DKconfig.stm325 # SPDX-License-Identifier: Apache-2.0
15 $(dt_nodelabel_has_prop,clk_hse,css-enabled))
23 DT_STM32_HSE_CLOCK_FREQ := $(dt_node_int_prop_int,$(DT_STM32_HSE_CLOCK),clock-frequency)
30 Value of external high-speed clock (HSE). This symbol could be optionally
31 configured using device tree by setting "clock-frequency" value of clk_hse
35 clock-frequency = <DT_FREQ_M(25)>;
54 int "Size of LSI measurement window (in periods)"
58 Size of the LSI measurement window (# of LSI periods)
60 The measurement process involves waiting for a certain amount of LSI periods
61 to occur, in order to determine precisely the LSI period, and thus frequency.
[all …]
DKconfig.nrf4 # SPDX-License-Identifier: Apache-2.0
84 int "Calibration opportunity period in milliseconds"
88 temperature measurement followed by clock calibration. Calibration may
89 be skipped if temperature change (compared to measurement of previous
218 unnecessary HIGH -> LOW -> HIGH cycle given some module will
Dclock_stm32_ll_wb0.c4 * SPDX-License-Identifier: Apache-2.0
43 # error slow-clock source is not enabled
53 # error Invalid device selected as slow-clock
66 "clksys-prescaler cannot be 64 when SYSCLK source is Direct HSE");
87 * to the measurement process. This variable is updated each time
88 * a new measurement of the LSI frequency is performed.
93 * @brief Perform a measurement of the LSI frequency and updates
96 * @param wait_event Semaphore to wait for completion of the measurement
108 * NOTE: (size - 1) is required to get the correct count, in measure_lsi_frequency()
113 (CONFIG_STM32WB0_LSI_MEASUREMENT_WINDOW - 1)); in measure_lsi_frequency()
[all …]
/Zephyr-latest/drivers/sensor/vishay/vcnl36825t/
Dvcnl36825t.c4 * SPDX-License-Identifier: Apache-2.0
69 const struct vcnl36825t_config *config = dev->config; in vcnl36825t_pm_action()
70 struct vcnl36825t_data *data = dev->data; in vcnl36825t_pm_action()
76 rc = vcnl36825t_update(&config->i2c, VCNL36825T_REG_PS_CONF1, VCNL36825T_PS_ON_MSK, in vcnl36825t_pm_action()
82 if (config->low_power) { in vcnl36825t_pm_action()
83 rc = vcnl36825t_update(&config->i2c, VCNL36825T_REG_PS_CONF4, in vcnl36825t_pm_action()
90 if (config->operation_mode == VCNL36825T_OPERATION_MODE_AUTO) { in vcnl36825t_pm_action()
91 rc = vcnl36825t_update(&config->i2c, VCNL36825T_REG_PS_CONF3, in vcnl36825t_pm_action()
100 rc = vcnl36825t_update(&config->i2c, VCNL36825T_REG_PS_CONF2, VCNL36825T_PS_ST_MSK, in vcnl36825t_pm_action()
106 data->meas_timeout_us = data->meas_timeout_wakeup_us; in vcnl36825t_pm_action()
[all …]
Dvcnl36825t.h4 * SPDX-License-Identifier: Apache-2.0
227 /* necessary time to wait before data of a "forced" measurement is available */
238 /* necessary wait time before data for a "forced" measurement is available AFTER the device slept */
298 enum vcnl36825t_measurement_period period; member
321 unsigned int meas_timeout_us; /** wait time for finished measurement in "forced"-mode */
/Zephyr-latest/drivers/sensor/sensirion/scd4x/
Dscd4x.c4 * SPDX-License-Identifier: Apache-2.0
33 const struct scd4x_config *cfg = dev->config; in scd4x_write_command()
39 ret = i2c_write_dt(&cfg->bus, tx_buf, sizeof(tx_buf)); in scd4x_write_command()
50 const struct scd4x_config *cfg = dev->config; in scd4x_read_reg()
53 ret = i2c_read_dt(&cfg->bus, rx_buf, rx_buf_size); in scd4x_read_reg()
63 return -EIO; in scd4x_read_reg()
72 const struct scd4x_config *cfg = dev->config; in scd4x_write_reg()
86 ret = i2c_write_dt(&cfg->bus, tx_buf, sizeof(tx_buf)); in scd4x_write_reg()
117 /* Least significant 11 bits = 0 --> data not ready */ in scd4x_data_ready()
127 struct scd4x_data *data = dev->data; in scd4x_read_sample()
[all …]
/Zephyr-latest/tests/bsim/bluetooth/mesh/src/
Dtest_access.c4 * SPDX-License-Identifier: Apache-2.0
59 uint8_t period; member
80 uint8_t period; member
89 2000 /* period */ + 100 /* margin */,
90 3 /* messages */ * 2000 /* period */
96 3000 /* one period */
106 return -1; in model1_update()
109 model->pub->msg->data[1]++; in model1_update()
110 LOG_DBG("New pub: n: %d t: %d", model->pub->msg->data[1], k_uptime_get_32()); in model1_update()
249 * m5 m3------->mne3 mne5
[all …]
/Zephyr-latest/drivers/counter/
Dcounter_renesas_ra_agt.c4 * SPDX-License-Identifier: Apache-2.0
37 agt_measure_t measurement_mode; /* Measurement mode */
51 uint32_t period; /* Current timer period (counts) */ member
52 uint32_t period_counts; /* Period in raw timer counts */
55 /* Alarm-related data */
59 uint32_t guard_period; /* Absolute counter alarm's guard period */
74 reg->AGTCR = AGT_AGTCR_START_TIMER; in counter_ra_agt_start()
76 while (!(reg->AGTCR & BIT(R_AGTX0_AGT16_CTRL_AGTCR_TCSTF_Pos)) && likely(--timeout)) in counter_ra_agt_start()
79 return timeout > 0 ? 0 : -EIO; in counter_ra_agt_start()
87 reg->AGTCR = AGT_AGTCR_STOP_TIMER; in counter_ra_agt_stop()
[all …]
/Zephyr-latest/include/zephyr/bluetooth/
Duuid.h6 * Copyright (c) 2015-2016 Intel Corporation
8 * SPDX-License-Identifier: Apache-2.0
31 /** UUID type 16-bit. */
33 /** UUID type 32-bit. */
35 /** UUID type 128-bit. */
39 /** Size in octets of a 16-bit UUID */
42 /** Size in octets of a 32-bit UUID */
45 /** Size in octets of a 128-bit UUID */
56 /** UUID value, 16-bit in host endianness. */
63 /** UUID value, 32-bit in host endianness. */
[all …]
Dcs.h8 * SPDX-License-Identifier: Apache-2.0
112 /** Applicable for mode-2 and mode-3 only:
115 * - @ref BT_LE_CS_TEST_OVERRIDE_3_NO_TONE_EXT
116 * - @ref BT_LE_CS_TEST_OVERRIDE_3_INITIATOR_TONE_EXT_ONLY
117 * - @ref BT_LE_CS_TEST_OVERRIDE_3_REFLECTOR_TONE_EXT_ONLY
118 * - @ref BT_LE_CS_TEST_OVERRIDE_3_INITIATOR_AND_REFLECTOR_TONE_EXT
132 * +--------------------------------+------------------------------------------+
134 * +--------------------------------+------------------------------------------+
137 * +--------------------------------+------------------------------------------+
141 * +--------------------------------+------------------------------------------+
[all …]
Dconn.h6 * Copyright (c) 2015-2016 Intel Corporation
8 * SPDX-License-Identifier: Apache-2.0
73 * Connection Interval: 30-50 ms
208 * after a packet containing a Link Layer PDU with a non-zero Length
224 * a packet containing a Link Layer PDU with a non-zero Length
240 * a packet containing a Link Layer PDU with a non-zero Length
265 /** Supported AA-Only RTT precision. */
267 /** AA-Only RTT variant is not supported. */
269 /** 10ns time-of-flight accuracy. */
271 /** 150ns time-of-flight accuracy. */
[all …]
/Zephyr-latest/drivers/sensor/ite/ite_vcmp_it8xxx2/
Dvcmp_ite_it8xxx2.c4 * SPDX-License-Identifier: Apache-2.0
10 #include <zephyr/devicetree/io-channels.h>
14 #include <zephyr/dt-bindings/dt-util.h>
15 #include <zephyr/dt-bindings/sensor/it8xxx2_vcmp.h>
37 /* Voltage comparator scan period register */
51 /* Scan period for "all voltage comparator channel" */
60 /* Pointer of ADC device that will be performing measurement */
89 const struct vcmp_it8xxx2_config *const config = dev->config; in clear_vcmp_status()
90 volatile uint8_t *reg_vcmpsts = config->reg_vcmpsts; in clear_vcmp_status()
91 volatile uint8_t *reg_vcmpsts2 = config->reg_vcmpsts2; in clear_vcmp_status()
[all …]
/Zephyr-latest/doc/security/standards/
Detsi-303645.rst3 ETSI 303-645
22 .. list-table:: ETSI 303645 terminology
25 * - administrator
26 - user who has the highest-privilege level possible for a user of the device,
30 * - associated services
31 - digital services that, together with the device, are part of the overall consumer
35 * - authentication mechanism
36 - method used to prove the authenticity of an entity.
38 * - authentication value
39 - individual value of an attribute used by an authentication mechanism.
[all …]
/Zephyr-latest/tests/benchmarks/thread_metric/
Dthread_metric_readme.txt1 Thread-Metric RTOS Test Suite
4 1. Thread-Metric Test Suite
6 The Thread-Metric test suite consists of 8 distinct RTOS
22 voluntarily release control to each other in a round-robin fashion.
41 highest priority thread - starting the whole process over once again.
75 This test consists of a thread allocating a 128-byte block and
81 A few minor modifications have been made to the Thread-Metric source
84 2.1. tm_main() -> main()
92 than that used by the original Thread-Metric code. These functions
107 The source code to the Thread-Metric test suite is organized into
[all …]
/Zephyr-latest/drivers/sensor/s11059/
Ds11059.c4 * SPDX-License-Identifier: Apache-2.0
7 * https://datasheetspdf.com/pdf/1323325/Hamamatsu/S11059-02DT/1
70 int64_t integration_time; /* integration period (unit: us) */
104 const struct s11059_dev_config *cfg = dev->config; in s11059_samples_read()
108 return -EINVAL; in s11059_samples_read()
111 rc = i2c_burst_read_dt(&cfg->bus, addr, (uint8_t *)val, size); in s11059_samples_read()
125 const struct s11059_dev_config *cfg = dev->config; in s11059_control_write()
128 return i2c_write_dt(&cfg->bus, opcode, sizeof(opcode)); in s11059_control_write()
133 const struct s11059_dev_config *cfg = dev->config; in s11059_manual_timing_write()
137 return i2c_write_dt(&cfg->bus, opcode, sizeof(opcode)); in s11059_manual_timing_write()
[all …]
/Zephyr-latest/drivers/timer/
Dstm32_lptim_timer.c5 * SPDX-License-Identifier: Apache-2.0
54 * - system clock based on an LPTIM instance, clocked by LSI or LSE
55 * - prescaler is set to a 2^value from 1 (division of the LPTIM source clock by 1)
57 * - using LPTIM AutoReload capability to trig the IRQ (timeout irq)
58 * - when timeout irq occurs the counter is already reset
59 * - the maximum timeout duration is reached with the lptim_time_base value
60 * - with prescaler of 1, the max timeout (LPTIM_TIMEBASE) is 2 seconds:
62 * - with prescaler of 128, the max timeout (LPTIM_TIMEBASE) is 256 seconds:
88 (COND_CODE_1(CONFIG_SMP, (arch_curr_cpu()->id), (_current_cpu->id)))
212 if (next->state == PM_STATE_SUSPEND_TO_RAM) { in sys_clock_set_timeout()
[all …]
/Zephyr-latest/kernel/include/
Dksched.h2 * Copyright (c) 2016-2017 Wind River Systems, Inc.
4 * SPDX-License-Identifier: Apache-2.0
37 #define Z_VALID_PRIO(prio, entry_point) ((prio) == -1)
38 #define Z_ASSERT_VALID_PRIO(prio, entry_point) __ASSERT((prio) == -1, "")
146 __ASSERT(arch_current_thread()->base.sched_locked != 1U, ""); in z_sched_lock()
148 --arch_current_thread()->base.sched_locked; in z_sched_lock()
155 __ASSERT_NO_MSG(thread->base.pended_on); in pended_on_thread()
157 return thread->base.pended_on; in pended_on_thread()
163 _priq_wait_remove(&pended_on_thread(thread)->waitq, thread); in unpend_thread_no_timeout()
165 thread->base.pended_on = NULL; in unpend_thread_no_timeout()
[all …]
/Zephyr-latest/drivers/wifi/esp32/
DKconfig.esp3227 Make sure there is a minimal heap available for Wi-Fi driver.
46 bool "Activates the Station/AP co-existence mode."
108 initialized and released when WiFi is de-initialized. The size of each
185 when WiFi is de-initialized. The size of each static RX MGMT buffer is fixed to about 500 Bytes.
282 Select this option to place frequently called Wi-Fi library functions in IRAM.
284 but Wi-Fi throughput will be reduced.
290 Select this option to place frequently called Wi-Fi library RX functions in IRAM.
292 but Wi-Fi performance will be reduced.
307 …during this period, the time will be refreshed. If the time is up, but the station still has packe…
351 Enable feature Fine Timing Measurement for calculating WiFi Round-Trip-Time (RTT).
[all …]
/Zephyr-latest/doc/releases/
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
67 +--------------------------------------------------+
69 +--------------------------------------------------+
71 +--------------------------------------------------+
[all …]
/Zephyr-latest/drivers/ieee802154/
Dieee802154_dw1000_regs.h4 * SPDX-License-Identifier: Apache-2.0
7 * https://github.com/Decawave/mynewt-dw1000-core.git
14 * Copyright (C) 2017-2018, Decawave Limited, All Rights Reserved
24 * http://www.apache.org/licenses/LICENSE-2.0
75 /* Frame Filtering Behave as a Co-ordinator */
117 * Receiver Auto-Re-enable.
118 * This bit is used to cause the receiver to re-enable automatically
126 /* System Time Counter (40-bit) */
180 * of non-standard values
203 /* Bit mask to access Transmit buffer index offset 10-bit field */
[all …]
Dieee802154_rf2xx.c1 /* ieee802154_rf2xx.c - ATMEL RF2XX IEEE 802.15.4 Driver */
6 * Copyright (c) 2019-2020 Gerson Fernando Budke
8 * SPDX-License-Identifier: Apache-2.0
67 .rssi = -40,
84 k_sem_give(&ctx->trx_isr_lock); in trx_isr_handler()
111 * Datasheet: Figure 7-13. Timing Example of an RX_AACK Transaction in rf2xx_trx_set_tx_state()
141 struct rf2xx_context *ctx = dev->data; in rf2xx_set_rssi_base()
144 if (ctx->cc_page == IEEE802154_ATTR_PHY_CHANNEL_PAGE_ZERO_OQPSK_2450_BPSK_868_915) { in rf2xx_set_rssi_base()
148 } else if (ctx->cc_page == IEEE802154_ATTR_PHY_CHANNEL_PAGE_TWO_OQPSK_868_915) { in rf2xx_set_rssi_base()
156 ctx->trx_rssi_base = base; in rf2xx_set_rssi_base()
[all …]
/Zephyr-latest/include/zephyr/arch/
Darch_interface.h4 * SPDX-License-Identifier: Apache-2.0
8 * @defgroup arch-interface Architecture Interface
13 * call architecture-specific API so will have the prototypes for the
14 * architecture-specific APIs here. Architecture APIs that aren't used in this
17 * The set of architecture-specific APIs used internally by public macros and
53 * @defgroup arch-timing Architecture timing APIs
54 * @ingroup arch-interface
82 * through the full 64 bit space, wrapping at 2^64-1. Hardware with
92 * @addtogroup arch-threads
126 * buffer, defined as the area usable for thread stack context and thread-
[all …]
/Zephyr-latest/drivers/ethernet/
Deth_stm32_hal.c5 * SPDX-License-Identifier: Apache-2.0
73 #define IS_ETH_DMATXDESC_OWN(dma_tx_desc) (dma_tx_desc->DESC3 & \
86 #define IS_ETH_DMATXDESC_OWN(dma_tx_desc) (dma_tx_desc->Status & \
161 size_t index = (RxBufferPtr)buff - &dma_rx_buffer[0]; in HAL_ETH_RxLinkCallback()
166 header->size = Length; in HAL_ETH_RxLinkCallback()
175 ((struct eth_stm32_rx_buffer_header *)*pEnd)->next = header; in HAL_ETH_RxLinkCallback()
188 &dma_tx_buffer_header[ctx->first_tx_buffer_index]; in HAL_ETH_TxFreeCallback()
191 buffer_header->used = false; in HAL_ETH_TxFreeCallback()
192 if (buffer_header->tx_buff.next != NULL) { in HAL_ETH_TxFreeCallback()
193 buffer_header = CONTAINER_OF(buffer_header->tx_buff.next, in HAL_ETH_TxFreeCallback()
[all …]

12