Skip to content
Commit 44a67ea4 authored by Armando Visconti's avatar Armando Visconti Committed by Benjamin Cabé
Browse files

samples/sensor: Add sample to read RTIO stream using drdy

Add sample to read from up to 10 streaming devices, using the
sensor_stream() API and the RTIO framework:
    https://docs.zephyrproject.org/latest/services/rtio/index.html



The devices has to be aliased as streamN (0 <= N <= 9) in DT, and
will be instantiated using SENSOR_DT_STREAM_IODEV() macro.

Currently the sample gets/prints data on SENSOR_TRIG_DATA_READY
trigger basis for the following sensor channels:

        - SENSOR_CHAN_ACCEL_XYZ

Signed-off-by: default avatarArmando Visconti <armando.visconti@st.com>
parent afe0abea
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment