diff --git a/boards/common/saml1x/include/periph_conf.h b/boards/common/saml1x/include/periph_conf.h index b8e3e0f0b6..d416c0f633 100644 --- a/boards/common/saml1x/include/periph_conf.h +++ b/boards/common/saml1x/include/periph_conf.h @@ -46,7 +46,7 @@ static const tc32_conf_t timer_config[] = { .dev = TC0, .irq = TC0_IRQn, .mclk = &MCLK->APBCMASK.reg, - .mclk_mask = MCLK_APBCMASK_TC0 | MCLK_APBCMASK_TC1, + .mclk_mask = MCLK_APBCMASK_TC0_Msk | MCLK_APBCMASK_TC1_Msk, .gclk_id = TC0_GCLK_ID, .gclk_src = SAM0_GCLK_MAIN, .flags = TC_CTRLA_MODE_COUNT32, @@ -55,7 +55,7 @@ static const tc32_conf_t timer_config[] = { .dev = TC2, .irq = TC2_IRQn, .mclk = &MCLK->APBCMASK.reg, - .mclk_mask = MCLK_APBCMASK_TC2, + .mclk_mask = MCLK_APBCMASK_TC2_Msk, .gclk_id = TC2_GCLK_ID, .gclk_src = SAM0_GCLK_MAIN, .flags = TC_CTRLA_MODE_COUNT16,