zephyr/subsys/rtio/rtio_sched.h
Luis Ubieda 3d4bd5de86 rtio: Introduce OP_DELAY as a valid SQE operation
SQE items with this OP will take the specified amount of time
(asynchronously) before completing. This allows to serve as an
asynchronous delay in between SQE items (e.g: A sensor measurement
requested, which requires 50-ms before having the result available).

Signed-off-by: Luis Ubieda <luisf@croxel.com>
2025-04-30 09:48:16 +02:00

15 lines
305 B
C

/*
* Copyright (c) 2025 Croxel Inc.
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <zephyr/kernel.h>
#ifndef ZEPHYR_SUBSYS_RTIO_SCHED_H_
#define ZEPHYR_SUBSYS_RTIO_SCHED_H_
void rtio_sched_alarm(struct rtio_iodev_sqe *iodev_sqe, k_timeout_t timeout);
#endif /* ZEPHYR_SUBSYS_RTIO_SCHED_H_ */