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>
15 lines
305 B
C
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_ */
|