Zephyr API Documentation
2.7.0-rc2
A Scalable Open Source RTOS
|
Used in alarm configuration structure (counter_alarm_cfg). More...
Macros | |
#define | COUNTER_ALARM_CFG_ABSOLUTE BIT(0) |
Counter alarm absolute value flag. More... | |
#define | COUNTER_ALARM_CFG_EXPIRE_WHEN_LATE BIT(1) |
Alarm flag enabling immediate expiration when driver detects that absolute alarm was set too late. More... | |
Used in alarm configuration structure (counter_alarm_cfg).
#define COUNTER_ALARM_CFG_ABSOLUTE BIT(0) |
#include <include/drivers/counter.h>
Counter alarm absolute value flag.
Ticks relation to counter value. If set ticks are treated as absolute value, else it is relative to the counter reading performed during the call.
#define COUNTER_ALARM_CFG_EXPIRE_WHEN_LATE BIT(1) |
#include <include/drivers/counter.h>
Alarm flag enabling immediate expiration when driver detects that absolute alarm was set too late.
Alarm callback must be called from the same context as if it was set on time.