Home
last modified time | relevance | path

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

/hal_infineon-2.7.6/XMCLib/drivers/src/
Dxmc_dac.c134 const uint32_t frequency) in XMC_DAC_CH_SetFrequency() argument
139 XMC_ASSERT("XMC_DAC_CH_SetFrequency: frequency must be greater than zero", frequency > 0U); in XMC_DAC_CH_SetFrequency()
141 divider = XMC_SCU_CLOCK_GetPeripheralClockFrequency() / frequency; in XMC_DAC_CH_SetFrequency()
163 const uint32_t frequency) in XMC_DAC_CH_SetRampFrequency() argument
171 return XMC_DAC_CH_SetFrequency(dac, channel, frequency * ((stop - start) + 1U)); in XMC_DAC_CH_SetRampFrequency()
190 const uint32_t frequency) in XMC_DAC_CH_StartDataMode() argument
202 status = XMC_DAC_CH_SetFrequency(dac, channel, frequency); in XMC_DAC_CH_StartDataMode()
220 const uint32_t frequency) in XMC_DAC_CH_StartRampMode() argument
236 status = XMC_DAC_CH_SetRampFrequency(dac, channel, frequency); in XMC_DAC_CH_StartRampMode()
253 const uint32_t frequency) in XMC_DAC_CH_StartPatternMode() argument
[all …]
Dxmc4_scu.c758 uint32_t frequency = 0UL; in XMC_SCU_CLOCK_GetCcuClockFrequency() local
759 frequency = XMC_SCU_CLOCK_GetSystemClockFrequency(); in XMC_SCU_CLOCK_GetCcuClockFrequency()
761 return (uint32_t)(frequency >> ((uint32_t)((SCU_CLK->CCUCLKCR & SCU_CLK_CCUCLKCR_CCUDIV_Msk) >> in XMC_SCU_CLOCK_GetCcuClockFrequency()
770 uint32_t frequency = 0UL; in XMC_SCU_CLOCK_GetUsbClockFrequency() local
777 frequency = XMC_SCU_CLOCK_GetSystemPllClockFrequency(); in XMC_SCU_CLOCK_GetUsbClockFrequency()
781 frequency = XMC_SCU_CLOCK_GetUsbPllClockFrequency(); in XMC_SCU_CLOCK_GetUsbClockFrequency()
787 return (uint32_t)(frequency / (((SCU_CLK->USBCLKCR & SCU_CLK_USBCLKCR_USBDIV_Msk) >> in XMC_SCU_CLOCK_GetUsbClockFrequency()
797 uint32_t frequency = XMC_SCU_CLOCK_GetSystemPllClockFrequency(); in XMC_SCU_CLOCK_GetEbuClockFrequency() local
799 return (uint32_t)((frequency /(((SCU_CLK->EBUCLKCR & SCU_CLK_EBUCLKCR_EBUDIV_Msk) >> in XMC_SCU_CLOCK_GetEbuClockFrequency()
810 uint32_t frequency; in XMC_SCU_CLOCK_GetECATClockFrequency() local
[all …]
Dxmc_can.c469 uint32_t frequency; in XMC_CAN_GetBaudrateClockFrequency() local
476 frequency = XMC_SCU_CLOCK_GetPeripheralClockFrequency(); in XMC_CAN_GetBaudrateClockFrequency()
480 frequency = XMC_SCU_CLOCK_GetPeripheralClockFrequency(); in XMC_CAN_GetBaudrateClockFrequency()
484 frequency = OSCHP_GetFrequency(); in XMC_CAN_GetBaudrateClockFrequency()
488 frequency = 0; in XMC_CAN_GetBaudrateClockFrequency()
493 frequency = XMC_SCU_CLOCK_GetPeripheralClockFrequency(); in XMC_CAN_GetBaudrateClockFrequency()
496 return frequency; in XMC_CAN_GetBaudrateClockFrequency()
/hal_infineon-2.7.6/XMCLib/drivers/inc/
Dxmc_dac.h650 const uint32_t frequency);
679 const uint32_t frequency);
704 const uint32_t frequency);
725 const uint32_t frequency);
957 …S_t XMC_DAC_CH_SetFrequency(XMC_DAC_t *const dac, const uint8_t channel, const uint32_t frequency);
980 …XMC_DAC_CH_SetRampFrequency(XMC_DAC_t *const dac, const uint8_t channel, const uint32_t frequency);
1005 const uint32_t frequency) in XMC_DAC_CH_SetPatternFrequency() argument
1010 return XMC_DAC_CH_SetFrequency(dac, channel, frequency * XMC_DAC_SAMPLES_PER_PERIOD); in XMC_DAC_CH_SetPatternFrequency()
Dxmc_dsd.h399 …uint32_t frequency: 4; /**< Frequency divider value of PWM signal. This parameter can take… member