Searched refs:gctrl (Results 1 – 2 of 2) sorted by relevance
319 uint32_t gctrl; in XMC_CCU4_Init() local329 gctrl = module->GCTRL; in XMC_CCU4_Init()330 gctrl &= ~((uint32_t) CCU4_GCTRL_MSDE_Msk); in XMC_CCU4_Init()331 gctrl |= ((uint32_t) mcs_action) << CCU4_GCTRL_MSDE_Pos; in XMC_CCU4_Init()333 module->GCTRL = gctrl; in XMC_CCU4_Init()339 uint32_t gctrl; in XMC_CCU4_SetModuleClock() local344 gctrl = module->GCTRL; in XMC_CCU4_SetModuleClock()345 gctrl &= ~((uint32_t) CCU4_GCTRL_PCIS_Msk); in XMC_CCU4_SetModuleClock()346 gctrl |= ((uint32_t) clock) << CCU4_GCTRL_PCIS_Pos; in XMC_CCU4_SetModuleClock()348 module->GCTRL = gctrl; in XMC_CCU4_SetModuleClock()[all …]
307 uint32_t gctrl; in XMC_CCU8_Init() local317 gctrl = module->GCTRL; in XMC_CCU8_Init()318 gctrl &= ~((uint32_t) CCU8_GCTRL_MSDE_Msk); in XMC_CCU8_Init()319 gctrl |= (uint32_t)mcs_action << CCU8_GCTRL_MSDE_Pos; in XMC_CCU8_Init()321 module->GCTRL = gctrl; in XMC_CCU8_Init()327 uint32_t gctrl; in XMC_CCU8_SetModuleClock() local332 gctrl = module->GCTRL; in XMC_CCU8_SetModuleClock()333 gctrl &= ~((uint32_t) CCU8_GCTRL_PCIS_Msk); in XMC_CCU8_SetModuleClock()334 gctrl |= ((uint32_t) clock) << CCU8_GCTRL_PCIS_Pos; in XMC_CCU8_SetModuleClock()336 module->GCTRL = gctrl; in XMC_CCU8_SetModuleClock()[all …]