34#define TIMER_CHANNEL_NUMOF (4U)
39#define PERIPH_TIMER_PROVIDES_SET
44#define TIM_CHAN(tim, chan) *(&dev(tim)->CCR1 + chan)
Timer device configuration.
uint8_t irqn
global IRQ channel
uint8_t bus
APBx bus the timer is clock from.
uint32_t rcc_mask
corresponding bit in the RCC register
TC0_t * dev
Pointer to the used as Timer device.
uint32_t max
maximum value to count to (16/32 bit)
uint8_t channel_numof
number of channels per timer