Timer configuration.
Timer configuration data.
Timer configuration options.
Override resolution options.
General purpose timers (GPT[0-3]) are configured consecutively and in order (without gaps) starting from GPT0, i.e. if multiple timers are enabled.
Define timer configuration values
Definition at line 288 of file periph_cpu.h.
#include <periph_cpu.h>
Data Fields | |
| uint_fast8_t | chn |
| number of channels | |
| uint_fast8_t | cfg |
| timer config word | |
| timer_dev_t | prescaler |
| the lower neighboring timer (not initialized for LETIMER) | |
| timer_dev_t | timer |
| the higher numbered timer | |
| IRQn_Type | irq |
| number of the higher timer IRQ channel | |
| uint8_t | channel_numof |
| number of channels per timer | |
| uint32_t | dev |
| Address of timer base. | |
| uint32_t | max |
| Max tick value of timer. More... | |
| int | irqn |
| Number of the higher timer IRQ channel. More... | |
| uint32_t | sysctl |
| Address of timer system control. | |
| uint32_t | intbase |
| Interrupt base of timer. | |
| int | channels |
| Number of channels for the timer. | |
| NRF_TIMER_Type * | dev |
| timer device | |
| uint8_t | channels |
| number of channels available | |
| uint8_t | bitmode |
| counter width | |
| uint8_t | irqn |
| IRQ number of the timer device. More... | |
| Tc * | dev |
| timer device | |
| uint8_t | id_ch0 |
| ID of the timer's first channel. | |
| TIM_TypeDef * | dev |
| timer device | |
| uint32_t | rcc_mask |
| corresponding bit in the RCC register | |
| uint8_t | bus |
| APBx bus the timer is clock from. | |
| uint8_t timer_conf_t::irqn |
Number of the higher timer IRQ channel.
global IRQ channel
Definition at line 114 of file periph_cpu.h.
| uint8_t timer_conf_t::irqn |
IRQ number of the timer device.
global IRQ channel
Definition at line 138 of file periph_cpu_common.h.
| uint32_t timer_conf_t::max |
Max tick value of timer.
maximum value to count to (16/32 bit)
Definition at line 113 of file periph_cpu.h.