Home
last modified time | relevance | path

Searched refs:gctrl (Results 1 – 2 of 2) sorted by relevance

/hal_infineon-3.6.0/XMCLib/drivers/src/
Dxmc_ccu4.c319 uint32_t gctrl; in XMC_CCU4_Init() local
329 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() local
344 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 …]
Dxmc_ccu8.c307 uint32_t gctrl; in XMC_CCU8_Init() local
317 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() local
332 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 …]