Zephyr API Documentation
2.7.0-rc2
A Scalable Open Source RTOS
|
Macros | |
#define | COUNTER_TOP_CFG_DONT_RESET BIT(0) |
Flag preventing counter reset when top value is changed. More... | |
#define | COUNTER_TOP_CFG_RESET_WHEN_LATE BIT(1) |
Flag instructing counter to reset itself if changing top value results in counter going out of new top value bound. More... | |
#define COUNTER_TOP_CFG_DONT_RESET BIT(0) |
#include <include/drivers/counter.h>
Flag preventing counter reset when top value is changed.
If flags is set then counter is free running while top value is updated, otherwise counter is reset (see counter_set_top_value()).
#define COUNTER_TOP_CFG_RESET_WHEN_LATE BIT(1) |
#include <include/drivers/counter.h>
Flag instructing counter to reset itself if changing top value results in counter going out of new top value bound.