Searched +full:adxl362 +full:- +full:trigger (Results 1 – 10 of 10) sorted by relevance
/Zephyr-latest/drivers/sensor/adi/adxl362/ |
D | Kconfig | 1 # ADXL362 Three-Axis Digital Accelerometers 4 # SPDX-License-Identifier: Apache-2.0 6 menuconfig ADXL362 config 7 bool "ADXL362 sensor" 13 Enable driver for ADXL362 Three-Axis Digital Accelerometers. 15 if ADXL362 63 prompt "Trigger mode" 69 bool "No trigger" 74 depends on $(dt_compat_any_has_prop,$(DT_COMPAT_ADI_ADXL362),int1-gpios) 80 depends on $(dt_compat_any_has_prop,$(DT_COMPAT_ADI_ADXL362),int1-gpios) [all …]
|
D | adxl362_trigger.c | 4 * SPDX-License-Identifier: Apache-2.0 15 #include "adxl362.h" 18 LOG_MODULE_DECLARE(ADXL362, CONFIG_SENSOR_LOG_LEVEL); 23 struct adxl362_data *drv_data = dev->data; in adxl362_thread_cb() 32 k_mutex_lock(&drv_data->trigger_mutex, K_FOREVER); in adxl362_thread_cb() 33 if (drv_data->inact_handler != NULL) { in adxl362_thread_cb() 35 drv_data->inact_handler(dev, drv_data->inact_trigger); in adxl362_thread_cb() 39 if (drv_data->act_handler != NULL) { in adxl362_thread_cb() 41 drv_data->act_handler(dev, drv_data->act_trigger); in adxl362_thread_cb() 45 if (drv_data->drdy_handler != NULL && in adxl362_thread_cb() [all …]
|
D | adxl362_stream.c | 4 * SPDX-License-Identifier: Apache-2.0 10 #include "adxl362.h" 12 LOG_MODULE_DECLARE(ADXL362, CONFIG_SENSOR_LOG_LEVEL); 17 const struct adxl362_config *cfg = dev->config; in adxl362_irq_en_cb() 19 gpio_pin_interrupt_configure_dt(&cfg->interrupt, GPIO_INT_EDGE_TO_ACTIVE); in adxl362_irq_en_cb() 24 struct adxl362_data *data = dev->data; in adxl362_fifo_flush_rtio() 27 struct rtio_sqe *write_fifo_addr = rtio_sqe_acquire(data->rtio_ctx); in adxl362_fifo_flush_rtio() 30 rtio_sqe_prep_tiny_write(write_fifo_addr, data->iodev, RTIO_PRIO_NORM, reg_addr_w, 3, NULL); in adxl362_fifo_flush_rtio() 32 fifo_config = ADXL362_FIFO_CTL_FIFO_MODE(data->fifo_mode) | in adxl362_fifo_flush_rtio() 33 (data->en_temp_read * ADXL362_FIFO_CTL_FIFO_TEMP); in adxl362_fifo_flush_rtio() [all …]
|
D | adxl362_decoder.c | 4 * SPDX-License-Identifier: Apache-2.0 7 #include "adxl362.h" 52 *out = ((data_in - ADXL362_TEMP_BIAS_LSB) / ADXL362_TEMP_LSB_PER_C in adxl362_temp_convert_q31() 72 buffer + sizeof(struct adxl362_fifo_data) + enc_data->fifo_byte_count; in adxl362_decode_stream() 85 if (enc_data->has_tmp) { in adxl362_decode_stream() 89 uint64_t period_ns = accel_period_ns[enc_data->accel_odr]; in adxl362_decode_stream() 93 sample_num = ((uint8_t *)*fit - buffer) / sample_set_size; in adxl362_decode_stream() 108 if (enc_data->has_tmp) { in adxl362_decode_stream() 112 data->header.base_timestamp_ns = enc_data->timestamp; in adxl362_decode_stream() 113 data->header.reading_count = 1; in adxl362_decode_stream() [all …]
|
/Zephyr-latest/samples/sensor/accel_trig/ |
D | sample.yaml | 2 name: Accelerometer trigger sample 11 - "^\\s*[0-9A-Za-z_,+-.]*@[0-9A-Fa-f]* \\[m\/s\\^2\\]: \ 12 \\(\\s*-?[0-9\\.]*,\\s*-?[0-9\\.]*,\\s*-?[0-9\\.]*\\)$" 14 - frdm_k64f # fxos8700 16 - sensortile_box 17 - stm32f3_disco 18 - stm32f411e_disco 19 - b_l4s5i_iot01a 20 - disco_l475_iot1 21 - stm32l562e_dk [all …]
|
/Zephyr-latest/drivers/sensor/adi/adxl367/ |
D | adxl367_stream.c | 4 * SPDX-License-Identifier: Apache-2.0 12 LOG_MODULE_DECLARE(ADXL362, CONFIG_SENSOR_LOG_LEVEL); 23 gpio_pin_interrupt_configure_dt(&cfg->interrupt, GPIO_INT_EDGE_TO_ACTIVE); in adxl367_sqe_done() 29 const struct adxl367_dev_config *cfg = dev->config; in adxl367_irq_en_cb() 31 gpio_pin_interrupt_configure_dt(&cfg->interrupt, GPIO_INT_EDGE_TO_ACTIVE); in adxl367_irq_en_cb() 36 struct adxl367_data *data = dev->data; in adxl367_fifo_flush_rtio() 37 uint8_t pow_reg = data->pwr_reg; in adxl367_fifo_flush_rtio() 42 struct rtio_sqe *sqe = rtio_sqe_acquire(data->rtio_ctx); in adxl367_fifo_flush_rtio() 45 rtio_sqe_prep_tiny_write(sqe, data->iodev, RTIO_PRIO_NORM, reg_addr_w, 3, NULL); in adxl367_fifo_flush_rtio() 47 sqe = rtio_sqe_acquire(data->rtio_ctx); in adxl367_fifo_flush_rtio() [all …]
|
/Zephyr-latest/doc/releases/ |
D | release-notes-4.0.rst | 15 is now the standard way to provide device-specific protection to data at rest. (:github:`76222`) 18 :ref:`ZMS <zms_api>` is a new key-value storage subsystem compatible with all non-volatile storage 25 runtime configuration through vendor specific APIs. Initially the :dtcompatible:`nordic,nrf-comp`, 26 :dtcompatible:`nordic,nrf-lpcomp` and :dtcompatible:`nxp,kinetis-acmp` are supported. 31 Initially implemented drivers include a simple :dtcompatible:`zephyr,gpio-steppers` and a complex 32 sensor-less stall-detection capable with integrated ramp-controller :dtcompatible:`adi,tmc5041`. 50 directory for :zephyr:code-sample-category:`code samples <samples>`. 70 * :cve:`2024-8798`: Under embargo until 2024-11-22 71 * :cve:`2024-10395`: Under embargo until 2025-01-23 72 * :cve:`2024-11263` `Zephyr project bug tracker GHSA-jjf3-7x72-pqm9 [all …]
|
D | release-notes-2.7.rst | 17 * Support for M-Profile Vector Extensions (MVE) on ARMv8.1-M 18 * Improved thread safety for Newlib and C++ on SMP-capable systems 20 * New Action-based Power Management API 23 * Linker Support for Tightly-Coupled Memory in RISC-V 25 * Support for extended PCI / PCIe capabilities, improved MIS-X support 33 * The kernel now supports both 32- and 64-bit architectures 36 * We added support for Point-to-Point Protocol (PPP) 37 * We added support for UpdateHub, an end-to-end solution for over-the-air device updates 38 * We added support for ARM Cortex-R Architecture 40 * Expanded support for ARMv6-M architecture [all …]
|
D | release-notes-3.2.rst | 13 * Added support for :ref:`bin-blobs` (also see :ref:`west-blobs`). 15 * Converted all supported boards from ``pinmux`` to :ref:`pinctrl-guide`. 31 * CVE-2022-2993: Under embargo until 2022-11-03 33 * CVE-2022-2741: Under embargo until 2022-10-14 56 This definition can be used by third-party code to compile code conditional 58 Therefore, any third-party code integrated using the Zephyr build system will 91 changed from ``-ENETDOWN`` to ``-ENETUNREACH``. A return value of ``-ENETDOWN`` now indicates 129 * Removed support for configuring the CAN-FD maximum DLC value via Kconfig 156 valid for specific bindings to specify like :dtcompatible:`gpio-leds` and 157 :dtcompatible:`fixed-partitions`. [all …]
|
D | release-notes-2.4.rst | 33 * CVE-2020-10060: UpdateHub Might Dereference An Uninitialized Pointer 34 * CVE-2020-10064: Improper Input Frame Validation in ieee802154 Processing 35 * CVE-2020-10066: Incorrect Error Handling in Bluetooth HCI core 36 * CVE-2020-10072: all threads can access all socket file descriptors 37 * CVE-2020-13598: FS: Buffer Overflow when enabling Long File Names in FAT_FS and calling fs_stat 38 * CVE-2020-13599: Security problem with settings and littlefs 39 * CVE-2020-13601: Under embargo until 2020/11/18 40 * CVE-2020-13602: Remote Denial of Service in LwM2M do_write_op_tlv 50 <https://github.com/zephyrproject-rtos/zephyr/issues?q=is%3Aissue+is%3Aopen+label%3Abug>`_. 62 * The :c:func:`wdt_feed` function will now return ``-EAGAIN`` if [all …]
|