/Zephyr-latest/drivers/serial/ |
D | Kconfig.sifive | 3 # Copyright (c) 2017 Jean-Paul Etienne <fractalclone@gmail.com> 4 # SPDX-License-Identifier: Apache-2.0 16 # ---------- Port 0 ---------- 26 int "Port 0 RX Interrupt Threshold Count" 30 Port 0 RX Threshold at which the RX FIFO interrupt triggers. 33 int "Port 0 TX Interrupt Threshold Count" 37 Port 0 TX Threshold at which the TX FIFO interrupt triggers. 39 # ---------- Port 1 ---------- 49 int "Port 0 RX Interrupt Threshold Count" 53 Port 1 RX Threshold at which the RX FIFO interrupt triggers. [all …]
|
/Zephyr-latest/dts/bindings/sensor/ |
D | ams,tmd2620.yaml | 2 # SPDX-License-Identifier: Apache-2.0 8 include: [sensor-device.yaml, i2c-device.yaml] 11 int-gpios: 12 type: phandle-array 15 The interrupt pin of TMD2620 is open-drain, active low. 17 as pull-up, active low. 19 proximity-gain: 24 - 1 25 - 2 26 - 4 [all …]
|
D | vishay,vcnl36825t.yaml | 2 # 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: 34 - [10, 80] ms only if low power mode is inactive 35 - [80, 320] ms only in low power mode 37 Defaults to 40 ms which is supported in both normal and low-power mode. [all …]
|
/Zephyr-latest/dts/bindings/adc/ |
D | nuvoton,npcx-adc.yaml | 2 # SPDX-License-Identifier: Apache-2.0 4 description: Nuvoton, NPCX-ADC node 6 compatible: "nuvoton,npcx-adc" 8 include: [adc-controller.yaml, pinctrl-device.yaml] 15 pinctrl-0: 17 pinctrl-names: 19 vref-mv: 23 channel-count: 27 threshold-count: 30 description: the number of threshold detectors adc supports [all …]
|
/Zephyr-latest/samples/sensor/proximity_polling/boards/ |
D | nrf52840dk_nrf52840.overlay | 3 prox-sensor0 = &tmd2620; 13 int-gpios = <&gpio1 3 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; 14 proximity-gain = <4>; 15 proximity-pulse-length = <16>; 16 proximity-pulse-count = <15>; 17 proximity-high-threshold = <255>; 18 proximity-low-threshold = <0>; 19 proximity-led-drive-strength = <4>; 20 proximity-interrupt-filter = <0>; 21 wait-time-factor = <0>;
|
/Zephyr-latest/doc/connectivity/bluetooth/api/mesh/ |
D | sar_cfg.rst | 21 sent as a single-segment segmented message when acknowledgment by the lower transport layer is 23 transmission and acknowledge single-segment segmented messages. 75 …unicast~retransmissions~interval~step + unicast~retransmissions~interval~increment \times (TTL - 1) 103 … counts (see `SAR Unicast Retransmissions Count`_ state and `SAR Unicast Retransmissions Without P… 104 * Multicast retransmissions count (see `SAR Multicast Retransmissions Count`_ state) 105 * Acknowledgment retransmissions count (see `SAR Acknowledgment Retransmissions Count`_ state) 108 `SAR Segments Threshold`_ state, Segment Acknowledgment messages are retransmitted using the value 109 of the `SAR Acknowledgment Retransmissions Count`_ state. 125 * SAR Unicast Retransmissions Count 126 * SAR Unicast Retransmissions Without Progress Count [all …]
|
/Zephyr-latest/include/zephyr/bluetooth/mesh/ |
D | sar_cfg.h | 4 * SPDX-License-Identifier: Apache-2.0 27 /** SAR Unicast Retransmissions Count state */ 30 /** SAR Unicast Retransmissions Without Progress Count state */ 39 /** SAR Multicast Retransmissions Count state */ 48 /** SAR Segments Threshold state */ 60 /** SAR Acknowledgment Retransmissions Count state */
|
/Zephyr-latest/drivers/ieee802154/ |
D | Kconfig.cc13xx_cc26xx | 4 # SPDX-License-Identifier: Apache-2.0 35 The maximum number of backoffs the CSMA-CA algorithm will attempt 44 The minimum value of the backoff exponent (BE) in the CSMA-CA 53 The maximum value of the backoff exponent (BE) in the CSMA-CA 66 int "TI CC13xx / CC26xx IEEE 802.15.4g receive buffer count" 73 int "TI CC13xx / CC26xx IEEE 802.15.4g Carrier Sense ED Threshold in dBm" 74 default -80 # Based on SUN FSK, 200 kHz bit rate, no FEC, see IEEE 802.15.4-2020, section 19.6.7 76 This option sets the energy detection (ED) threshold for 78 algorithm. Except for the SUN O-QPSK PHY, the ED threshold 81 or in accordance with local regulations (see IEEE 802.15.4-2020, [all …]
|
/Zephyr-latest/samples/kernel/condition_variables/condvar/ |
D | README.rst | 1 .. zephyr:code-sample:: kernel-condvar 3 :relevant-api: condvar_apis 25 .. zephyr-app-commands:: 26 :zephyr-app: samples/kernel/condition_variables/condvar 27 :host-os: unix 37 .. code-block:: console 40 watch_count: thread 1 Count= 0. Going into wait... 41 inc_count: thread 2, count = 1, unlocking mutex 42 inc_count: thread 3, count = 2, unlocking mutex 43 inc_count: thread 2, count = 3, unlocking mutex [all …]
|
/Zephyr-latest/samples/kernel/condition_variables/condvar/src/ |
D | main.c | 4 * SPDX-License-Identifier: Apache-2.0 13 static int count; variable 31 count++; in inc_count() 34 * Check the value of count and signal waiting thread when in inc_count() 39 if (count == COUNT_LIMIT) { in inc_count() 40 printk("%s: thread %ld, count = %d Threshold reached.", in inc_count() 41 __func__, my_id, count); in inc_count() 45 printk("%s: thread %ld, count = %d, unlocking mutex\n", in inc_count() 46 __func__, my_id, count); in inc_count() 61 while (count < COUNT_LIMIT) { in watch_count() [all …]
|
/Zephyr-latest/include/zephyr/drivers/sensor/ |
D | veml7700.h | 5 * SPDX-License-Identifier: Apache-2.0 25 * @brief Bit mask to check for the low threshold interrupt flag. 32 * @brief Bit mask to check for the high threshold interrupt flag. 75 * For high and low threshold window settings (ALS_WH and ALS_WL) 77 * <tt>SENSOR_ATTR_LOWER_THRESH</tt> with 16-bit unsigned integer 78 * values. Both threshold settings are in lux and converted by the 82 * threshold window settings. To get the correct threshold values 83 * into the sensor update the thresholds -after- a change of gain 129 * threshold window attributes for the sensors interrupt handling. 134 * enumerator as an argument will result in a <tt>-ENOTSUP</tt>. [all …]
|
D | tdk_apex.h | 4 * SPDX-License-Identifier: Apache-2.0 34 * ** Pedometer: Tracks step count. 37 * a programmable threshold. This motion event can be used to enable device
|
/Zephyr-latest/drivers/sensor/adi/adxl362/ |
D | adxl362.c | 1 /* adxl362.c - ADXL362 Three-Axis Digital Accelerometers */ 6 * SPDX-License-Identifier: Apache-2.0 29 const struct adxl362_config *cfg = dev->config; in adxl362_reg_access() 48 .count = 2 in adxl362_reg_access() 51 tx.count = 1; in adxl362_reg_access() 53 return spi_transceive_dt(&cfg->bus, &tx, &rx); in adxl362_reg_access() 56 tx.count = 2; in adxl362_reg_access() 58 return spi_write_dt(&cfg->bus, &tx); in adxl362_reg_access() 63 uint8_t register_address, uint8_t count) in adxl362_set_reg() argument 66 register_address, ®ister_value, count); in adxl362_set_reg() [all …]
|
/Zephyr-latest/drivers/timer/ |
D | cc13xx_cc26xx_rtc_timer.c | 4 * SPDX-License-Identifier: Apache-2.0 10 * TI SimpleLink CC13X2/CC26X2 RTC-based system timer 13 * RTC counts continually in 64-bit mode and timeouts are 54 * a safe threshold for the comparator. 58 /* RTC count of the last announce call, rounded down to tick boundary. */ 75 /* get the current RTC count corresponding to compare window */ in setThreshold() 79 /* assume next never be more than half the maximum 32 bit count value */ in setThreshold() 80 if ((next - now) > (uint32_t)0x80000000) { in setThreshold() 83 } else if ((now + COMPARE_MARGIN - next) < (uint32_t)0x80000000) { in setThreshold() 89 /* set next compare threshold in RTC */ in setThreshold() [all …]
|
D | sam0_rtc_timer.c | 4 * SPDX-License-Identifier: Apache-2.0 11 * @brief Atmel SAM0 series RTC-based system timer 14 * In tickless mode, RTC counts continually in 32-bit mode and timeouts are 42 #define MAX_TICKS (UINT32_MAX / CYCLES_PER_TICK - 2) 49 * a safe threshold for the comparator. 73 /* Tick/cycle count of the last announce call. */ 78 /* Current tick count. */ 96 while (RTC0->STATUS.reg & RTC_STATUS_SYNCBUSY) { in rtc_sync() 99 while (RTC0->SYNCBUSY.reg) { in rtc_sync() 105 * Reads RTC COUNT register. First a read request must be written to READREQ, [all …]
|
/Zephyr-latest/lib/heap/ |
D | heap_info.c | 4 * SPDX-License-Identifier: Apache-2.0 16 int i, nb_buckets = bucket_idx(h, h->end_chunk) + 1; in heap_print_info() 20 chunk_buf(h), h->end_chunk, nb_buckets); in heap_print_info() 23 " threshold chunks (units) (bytes)\n" in heap_print_info() 24 " -----------------------------------------------------------\n"); in heap_print_info() 26 chunkid_t first = h->buckets[i].next; in heap_print_info() 28 int count = 0; in heap_print_info() local 34 count++; in heap_print_info() 39 if (count) { in heap_print_info() 41 i, (1 << i) - 1 + min_chunk_size(h), count, in heap_print_info() [all …]
|
/Zephyr-latest/tests/drivers/regulator/voltage/boards/ |
D | rpi_pico.overlay | 3 * SPDX-License-Identifier: Apache-2.0 16 compatible = "test-regulator-voltage"; 18 io-channels = <&adc 0>; 19 tolerance-microvolt = <50000>; 20 set-read-delay-ms = <10>; 21 adc-avg-count = <10>; 22 min-microvolt = <850000>; 27 raspberrypi,brown-out-threshold = <473000>; 31 #address-cells = <1>; 32 #size-cells = <0>; [all …]
|
/Zephyr-latest/samples/sensor/tdk_apex/ |
D | README.rst | 1 .. zephyr:code-sample:: tdk_apex 3 :relevant-api: sensor_interface 12 ** Pedometer: Tracks step count, and provide details such as the cadence 17 ** Wake on Motion (WoM): Detects motion per axis exceeding 195 mg threshold. 25 …- https://invensense.tdk.com/download-pdf/an-000271-icm-42607x-and-icm-42670x-apex-motion-function… 44 to be aliased as ``tdk-apex-sensorN`` where ``N`` goes from ``0`` to ``9``. For example: 46 .. code-block:: devicetree 50 tdk-apex-sensor0 = &icm42670p; 56 .. code-block:: devicetree 64 .. zephyr-app-commands:: [all …]
|
/Zephyr-latest/drivers/dai/intel/ssp/ |
D | dai-params-intel-ipc4.h | 4 * SPDX-License-Identifier: Apache-2.0 19 /**< HD/A host output (-> DSP). */ 21 /**< HD/A host input (<- DSP). */ 26 /**< HD/A link output (DSP ->). */ 28 /**< HD/A link input (DSP <-). */ 33 /**< DMIC link input (DSP <-). */ 36 /**< I2S link output (DSP ->). */ 38 /**< I2S link input (DSP <-). */ 41 /**< ALH link output, legacy for SNDW (DSP ->). */ 43 /**< ALH link input, legacy for SNDW (DSP <-). */ [all …]
|
/Zephyr-latest/drivers/input/ |
D | input_xpt2046.c | 4 * SPDX-License-Identifier: Apache-2.0 23 uint16_t threshold; member 64 /* Read all Z1, X, Y, Z2 channels using 16 Clocks-per-Conversion mode. 65 * See the manual https://www.waveshare.com/w/upload/9/98/XPT2046-EN.pdf for details. 66 * Each follow-up command interleaves with previous conversion. 79 const struct xpt2046_config *config = data->dev->config; in xpt2046_isr_handler() 81 gpio_remove_callback(config->int_gpio.port, &data->int_gpio_cb); in xpt2046_isr_handler() 82 k_work_submit(&data->work); in xpt2046_isr_handler() 95 uint8_t *buf = rx->buffers->buf; in xpt2046_read_and_cumulate() 97 meas->z += CONVERT_U16(buf, 1) + 4096 - CONVERT_U16(buf, 3); in xpt2046_read_and_cumulate() [all …]
|
/Zephyr-latest/soc/intel/intel_adsp/cavs/include/cavs25/ |
D | dmic_regs.h | 1 /* SPDX-License-Identifier: Apache-2.0 */ 65 /* Common FIFO channels register (primary & secondary) (0000 - 0FFF) 79 * (crossed out) 0010h LOCAL_TSC0 64-bit Wall Clock timestamp 80 * (crossed out) 0018h LOCAL_SAMPLE0 64-bit Sample Count 81 * 001Ch - 00FFh Reserved space for extensions 151 /* Threshold Interrupt Enable */ 163 /* Burst FIFO Threshold */ 188 /* FIFO Trigger Threshold */ 315 /* Port Count */ 318 /* FIR Count */
|
/Zephyr-latest/drivers/sensor/maxim/max31865/ |
D | max31865.c | 2 * Copyright (c) 2022 HAW Hamburg FTZ-DIWIP 4 * SPDX-License-Identifier: Apache-2.0 10 const struct max31865_config *cfg = dev->config; in max31865_spi_write() 18 const struct spi_buf_set tx = {.buffers = bufs, .count = 2}; in max31865_spi_write() 20 return spi_write_dt(&cfg->spi, &tx); in max31865_spi_write() 25 const struct max31865_config *cfg = dev->config; in max31865_spi_read() 29 const struct spi_buf_set tx = {.buffers = &tx_buf, .count = 1}; in max31865_spi_read() 35 const struct spi_buf_set rx = {.buffers = rx_buf, .count = 2}; in max31865_spi_read() 37 return spi_transceive_dt(&cfg->spi, &tx, &rx); in max31865_spi_read() 48 struct max31865_data *data = dev->data; in configure_device() [all …]
|
/Zephyr-latest/soc/intel/intel_adsp/ace/include/ |
D | dmic_regs.h | 1 /* 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 154 /* Threshold Interrupt Enable */ 166 /* Burst FIFO Threshold */ 191 /* FIFO Trigger Threshold */ 333 /* Port Count */ [all …]
|
/Zephyr-latest/dts/bindings/input/ |
D | espressif,esp32-touch-sensor.yaml | 2 # SPDX-License-Identifier: Apache-2.0 8 sensor is defined in a child node of the touch-sensor node and defines a specific key 13 #include <zephyr/dt-bindings/input/input-event-codes.h> 14 #include <zephyr/dt-bindings/input/esp32-touch-sensor-input.h> 17 compatible = "espressif,esp32-touch"; 20 debounce-interval-ms = <30>; 21 href-microvolt = <27000000>; 22 lref-microvolt = <500000>; 23 href-atten-microvolt = <1000000>; 24 filter-mode = <ESP32_TOUCH_FILTER_MODE_IIR_16>; [all …]
|
/Zephyr-latest/subsys/settings/ |
D | Kconfig | 2 # SPDX-License-Identifier: Apache-2.0 8 deserialize state in memory into and from non-volatile memory. 9 It supports several back-ends to store and load serialized data from 15 module-str = settings 19 bool "runtime storage back-end" 21 Enables runtime storage back-end. 34 prompt "Storage back-end" 40 Storage back-end to be used by the settings subsystem. 46 Use FCB as a settings storage back-end. 53 Use a file (on mounted file system) as a settings storage back-end. [all …]
|