1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

boards: adapt timer config of board cc2650stk (aka TI SensorTag)

This commit is contained in:
smlng 2017-07-08 21:21:07 +02:00
parent 91412453ae
commit 864e9f5799

View File

@ -39,18 +39,23 @@ extern "C" {
*/
static const timer_conf_t timer_config[] = {
{
.dev = GPT0,
.num = 0
.cfg = GPT_CFG_16T,
.chn = 2,
},
{
.dev = GPT1,
.num = 1
.cfg = GPT_CFG_32T,
.chn = 1,
},
{
.cfg = GPT_CFG_16T,
.chn = 2,
},
{
.cfg = GPT_CFG_32T,
.chn = 1,
}
};
#define TIMER_0_ISR isr_timer0_chan0
#define TIMER_1_ISR isr_timer1_chan0
#define TIMER_NUMOF (sizeof(timer_config) / sizeof(timer_config[0]))
/** @} */