1 /* 2 * Copyright (c) 2019 ML!PA Consulting GmbH 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #ifdef MCLK_APBAMASK_TC0 8 #define MCLK_TC0 (&MCLK->APBAMASK.reg) 9 #define MCLK_TC0_MASK ((1 << MCLK_APBAMASK_TC0_Pos) | (1 << MCLK_APBAMASK_TC1_Pos)) 10 #endif 11 #ifdef MCLK_APBBMASK_TC0 12 #define MCLK_TC0 (&MCLK->APBBMASK.reg) 13 #define MCLK_TC0_MASK ((1 << MCLK_APBBMASK_TC0_Pos) | (1 << MCLK_APBBMASK_TC1_Pos)) 14 #endif 15 #ifdef MCLK_APBCMASK_TC0 16 #define MCLK_TC0 (&MCLK->APBCMASK.reg) 17 #define MCLK_TC0_MASK ((1 << MCLK_APBCMASK_TC0_Pos) | (1 << MCLK_APBCMASK_TC1_Pos)) 18 #endif 19 #ifdef MCLK_APBDMASK_TC0 20 #define MCLK_TC0 (&MCLK->APBDMASK.reg) 21 #define MCLK_TC0_MASK ((1 << MCLK_APBDMASK_TC0_Pos) | (1 << MCLK_APBDMASK_TC1_Pos)) 22 #endif 23 24 #ifdef MCLK_APBAMASK_TC2 25 #define MCLK_TC2 (&MCLK->APBAMASK.reg) 26 #define MCLK_TC2_MASK ((1 << MCLK_APBAMASK_TC2_Pos) | (1 << MCLK_APBAMASK_TC3_Pos)) 27 #endif 28 #ifdef MCLK_APBBMASK_TC2 29 #define MCLK_TC2 (&MCLK->APBBMASK.reg) 30 #define MCLK_TC2_MASK ((1 << MCLK_APBBMASK_TC2_Pos) | (1 << MCLK_APBBMASK_TC3_Pos)) 31 #endif 32 #ifdef MCLK_APBCMASK_TC2 33 #define MCLK_TC2 (&MCLK->APBCMASK.reg) 34 #define MCLK_TC2_MASK ((1 << MCLK_APBCMASK_TC2_Pos) | (1 << MCLK_APBCMASK_TC3_Pos)) 35 #endif 36 #ifdef MCLK_APBDMASK_TC2 37 #define MCLK_TC2 (&MCLK->APBDMASK.reg) 38 #define MCLK_TC2_MASK ((1 << MCLK_APBDMASK_TC2_Pos) | (1 << MCLK_APBDMASK_TC3_Pos)) 39 #endif 40 41 #ifdef MCLK_APBAMASK_TC4 42 #define MCLK_TC4 (&MCLK->APBAMASK.reg) 43 #define MCLK_TC4_MASK ((1 << MCLK_APBAMASK_TC4_Pos) | (1 << MCLK_APBAMASK_TC5_Pos)) 44 #endif 45 #ifdef MCLK_APBBMASK_TC4 46 #define MCLK_TC4 (&MCLK->APBBMASK.reg) 47 #define MCLK_TC4_MASK ((1 << MCLK_APBBMASK_TC4_Pos) | (1 << MCLK_APBBMASK_TC5_Pos)) 48 #endif 49 #ifdef MCLK_APBCMASK_TC4 50 #define MCLK_TC4 (&MCLK->APBCMASK.reg) 51 #define MCLK_TC4_MASK ((1 << MCLK_APBCMASK_TC4_Pos) | (1 << MCLK_APBCMASK_TC5_Pos)) 52 #endif 53 #ifdef MCLK_APBDMASK_TC4 54 #define MCLK_TC4 (&MCLK->APBDMASK.reg) 55 #define MCLK_TC4_MASK ((1 << MCLK_APBDMASK_TC4_Pos) | (1 << MCLK_APBDMASK_TC5_Pos)) 56 #endif 57 58 #ifdef MCLK_APBAMASK_TC6 59 #define MCLK_TC6 (&MCLK->APBAMASK.reg) 60 #define MCLK_TC6_MASK ((1 << MCLK_APBAMASK_TC6_Pos) | (1 << MCLK_APBAMASK_TC7_Pos)) 61 #endif 62 #ifdef MCLK_APBBMASK_TC6 63 #define MCLK_TC6 (&MCLK->APBBMASK.reg) 64 #define MCLK_TC6_MASK ((1 << MCLK_APBBMASK_TC6_Pos) | (1 << MCLK_APBBMASK_TC7_Pos)) 65 #endif 66 #ifdef MCLK_APBCMASK_TC6 67 #define MCLK_TC6 (&MCLK->APBCMASK.reg) 68 #define MCLK_TC6_MASK ((1 << MCLK_APBCMASK_TC6_Pos) | (1 << MCLK_APBCMASK_TC7_Pos)) 69 #endif 70 #ifdef MCLK_APBDMASK_TC6 71 #define MCLK_TC6 (&MCLK->APBDMASK.reg) 72 #define MCLK_TC6_MASK ((1 << MCLK_APBDMASK_TC6_Pos) | (1 << MCLK_APBDMASK_TC7_Pos)) 73 #endif 74