#include <hal.h>
Data Fields | |
| uint16_t | value |
| All bitmap flags. More... | |
| struct { | |
| uint16_t periodic:1 | |
| uint16_t resolution:2 | |
| timer_resolution_t More... | |
| uint16_t up:1 | |
| Timer supports upcounting. More... | |
| uint16_t comp1:1 | |
| Timer supports compare interrupt 0. More... | |
| uint16_t comp2:1 | |
| Timer supports compare interrupt 1. More... | |
| uint16_t comp3:1 | |
| Timer supports compare interrupt 2. More... | |
| uint16_t ext_clk:1 | |
| External clock supported. More... | |
| uint16_t encoder:1 | |
| Encoder mode supported. More... | |
| uint16_t unused:7 | |
| }; | |
| struct { ... } |
| uint16_t comp1 |
Timer supports compare interrupt 0.
| uint16_t comp2 |
Timer supports compare interrupt 1.
| uint16_t comp3 |
Timer supports compare interrupt 2.
| uint16_t encoder |
Encoder mode supported.
| uint16_t ext_clk |
External clock supported.
| uint16_t periodic |
| uint16_t resolution |
timer_resolution_t
| uint16_t unused |
| uint16_t up |
Timer supports upcounting.
| uint16_t value |
All bitmap flags.