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

Merge pull request #20856 from dylad/pr/cpu/saml1x/compat_headers

boards/saml1x: convert bitfields to new masks name
This commit is contained in:
benpicco 2024-09-13 16:15:30 +00:00 committed by GitHub
commit 0cea359db6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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,