diff --git a/boards/cc2650stk/include/periph_conf.h b/boards/cc2650stk/include/periph_conf.h index a3a76a83d3..4c7825f49e 100644 --- a/boards/cc2650stk/include/periph_conf.h +++ b/boards/cc2650stk/include/periph_conf.h @@ -35,6 +35,10 @@ extern "C" { /** * @name Timer configuration + * + * General purpose timers (GPT[0-3]) are configured consecutively and in order + * (without gaps) starting from GPT0, i.e. if multiple timers are enabled. + * * @{ */ static const timer_conf_t timer_config[] = { diff --git a/cpu/cc26x0/include/periph_cpu.h b/cpu/cc26x0/include/periph_cpu.h index 20835b039c..7bd8e4e0a0 100644 --- a/cpu/cc26x0/include/periph_cpu.h +++ b/cpu/cc26x0/include/periph_cpu.h @@ -57,19 +57,20 @@ typedef enum { GPIO_RISING = IOCFG_EDGEDET_RISING, GPIO_BOTH = IOCFG_EDGEDET_BOTH } gpio_flank_t; -#endif /* ndef DOXYGEN */ /** * @brief Configuration of low-level general purpose timers * - * @note Timers *must* be configured consecutively and in order (without gaps) - * starting from GPT0, specifically if multiple timers are enabled. + * General purpose timers (GPT[0-3]) are configured consecutively and in order + * (without gaps) starting from GPT0, i.e. if multiple timers are enabled. */ typedef struct { uint8_t cfg; /**< timer config [16,32 Bit] */ uint8_t chn; /**< number of channels [1,2] */ } timer_conf_t; +#endif /* ifndef DOXYGEN */ + #ifdef __cplusplus } #endif