mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
boards/saml1x: convert bitfields to new masks name
Signed-off-by: Dylan Laduranty <dylan.laduranty@mesotic.com>
This commit is contained in:
parent
ed9faa9f06
commit
82ce32ee10
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user