Home
last modified time | relevance | path

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

/hal_infineon-latest/XMCLib/drivers/src/
Dxmc_hrpwm.c142 uint32_t clkc; in XMC_HRPWM_Init() local
191 clkc = 3U; /* Clock frequency range 70MHz+ - 100MHz is considered as 80MHz HRC operation */ in XMC_HRPWM_Init()
195 clkc = 2U; /* Clock frequency range 100MHz+ - 150MHz is considered as 120MHz HRC operation */ in XMC_HRPWM_Init()
199 clkc = 1U; /* Clock frequency range 150MHz+ - 200MHz is considered as 180MHz HRC operation */ in XMC_HRPWM_Init()
203clkc = 0U; /* Invalid frequency for HRC operation: Clock frequency <= 60MHz & Clock frequency > 20… in XMC_HRPWM_Init()
206 if (clkc != 0U) /* Enter the loop only if the clock frequency is valid */ in XMC_HRPWM_Init()
209 hrpwm->HRCCFG |= (clkc << HRPWM0_HRCCFG_CLKC_Pos); in XMC_HRPWM_Init()