|
Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
|
Counter capture flags for use in devicetree. More...
Go to the source code of this file.
Macros | |
Counter capture flags | |
The COUNTER_CAPTURE_* flags are used to configure capture edge selection with counter_capture_configure(). The flags are on the lower 8bits of the counter_capture_flags_t. | |
| #define | COUNTER_CAPTURE_RISING_EDGE (1U << 0) |
| Capture on rising edge. | |
| #define | COUNTER_CAPTURE_FALLING_EDGE (1U << 1) |
| Capture on falling edge. | |
| #define | COUNTER_CAPTURE_BOTH_EDGES (COUNTER_CAPTURE_RISING_EDGE | COUNTER_CAPTURE_FALLING_EDGE) |
| Capture on both rising and falling edges. | |
Counter capture flags for use in devicetree.