Timer CPU specific definitions for the STM32 family. More...
Timer CPU specific definitions for the STM32 family.
Definition in file cpu_timer.h.
#include <stdint.h>#include "cpu.h"
Include dependency graph for cpu_timer.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Data Structures | |
| struct | timer_conf_t |
| Timer device configuration. More... | |
| #define | TIMER_CHANNEL_NUMOF (4U) |
| All STM timers have at most 4 capture-compare channels. | |
| #define | PERIPH_TIMER_PROVIDES_SET |
| The driver provides a relative set function. | |
| #define | TIM_CHAN(tim, chan) *(&dev(tim)->CCR1 + chan) |
| Define a macro for accessing a timer channel. | |