Hi,
I am currently developing a driver for a sensor that connects over UART. I created ScheduledWorkItem
with wq_config_t
pointing to the selected serial port.
As I can schedule a task on selected intervals or given delays, I was wondering if there is an option to wake up a task after the serial port has received some data to read.
Also, I can’t fully understand the delay_us
part on ScheduleOnInterval()
. Is this the maximum allowed delay that can occur during scheduling given task?
Thanks in advance for any help!