Searched refs:refFreq (Results 1 – 13 of 13) sorted by relevance
| /bsp/efm32/Libraries/emlib/src/ |
| A D | em_usart.c | 122 uint32_t refFreq, in USART_BaudrateAsyncSet() argument 159 if (!refFreq) in USART_BaudrateAsyncSet() 168 EFM_ASSERT(baudrate <= (refFreq / 16)); in USART_BaudrateAsyncSet() 173 EFM_ASSERT(baudrate <= (refFreq / 8)); in USART_BaudrateAsyncSet() 178 EFM_ASSERT(baudrate <= (refFreq / 6)); in USART_BaudrateAsyncSet() 183 EFM_ASSERT(baudrate <= (refFreq / 4)); in USART_BaudrateAsyncSet() 233 uint32_t USART_BaudrateCalc(uint32_t refFreq, in USART_BaudrateCalc() argument 330 quotient = refFreq / divisor; in USART_BaudrateCalc() 331 remainder = refFreq % divisor; in USART_BaudrateCalc() 445 if (!refFreq) in USART_BaudrateSyncSet() [all …]
|
| A D | em_leuart.c | 127 uint32_t LEUART_BaudrateCalc(uint32_t refFreq, uint32_t clkdiv) in LEUART_BaudrateCalc() argument 176 quotient = refFreq / divisor; in LEUART_BaudrateCalc() 177 remainder = refFreq % divisor; in LEUART_BaudrateCalc() 255 uint32_t refFreq, in LEUART_BaudrateSet() argument 292 if (!refFreq) in LEUART_BaudrateSet() 310 refFreq = CMU_ClockFreqGet(clock); in LEUART_BaudrateSet() 314 clkdiv = (32 * refFreq) / baudrate; in LEUART_BaudrateSet() 471 LEUART_BaudrateSet(leuart, init->refFreq, init->baudrate); in LEUART_Init()
|
| A D | em_lesense.c | 225 uint32_t LESENSE_ScanFreqSet(uint32_t refFreq, uint32_t const scanFreq) in LESENSE_ScanFreqSet() argument 236 if (!refFreq) in LESENSE_ScanFreqSet() 238 refFreq = CMU_ClockFreqGet(cmuClock_LESENSE); in LESENSE_ScanFreqSet() 244 EFM_ASSERT(refFreq < ((uint32_t)UINT32_MAX / 128UL)); in LESENSE_ScanFreqSet() 247 EFM_ASSERT((scanFreq > 0U) && (scanFreq <= refFreq)); in LESENSE_ScanFreqSet() 252 while ((refFreq / ((uint32_t)scanFreq * clkDiv) > (pcTop + 1UL)) && in LESENSE_ScanFreqSet() 260 pcTop = ((uint32_t)refFreq / ((uint32_t)scanFreq * clkDiv)) - 1UL; in LESENSE_ScanFreqSet() 275 calcScanFreq = ((uint32_t)refFreq / ((uint32_t)(1UL + pcTop) * clkDiv)); in LESENSE_ScanFreqSet()
|
| A D | em_i2c.c | 210 uint32_t refFreq, in I2C_BusFreqSet() argument 230 if (!refFreq) in I2C_BusFreqSet() 232 refFreq = CMU_ClockFreqGet(cmuClock_HFPER); in I2C_BusFreqSet() 236 div = (refFreq - (4 * freq)) / (n * freq); in I2C_BusFreqSet() 293 I2C_BusFreqSet(i2c, init->refFreq, init->freq, init->clhr); in I2C_Init()
|
| /bsp/efm32/Libraries/emlib/inc/ |
| A D | em_leuart.h | 114 uint32_t refFreq; member 144 uint32_t LEUART_BaudrateCalc(uint32_t refFreq, uint32_t clkdiv); 147 uint32_t refFreq,
|
| A D | em_usart.h | 247 uint32_t refFreq; member 330 uint32_t refFreq; member 485 uint32_t refFreq, 488 uint32_t USART_BaudrateCalc(uint32_t refFreq, 494 uint32_t refFreq,
|
| A D | em_i2c.h | 194 uint32_t refFreq; member 273 uint32_t refFreq,
|
| A D | em_lesense.h | 954 uint32_t LESENSE_ScanFreqSet(uint32_t refFreq, uint32_t const scanFreq);
|
| /bsp/frdm-k64f/device/MK64F12/ |
| A D | fsl_clock.c | 737 uint32_t CLOCK_CalcPllDiv(uint32_t refFreq, uint32_t desireFreq, uint8_t *prdiv, uint8_t *vdiv) in CLOCK_CalcPllDiv() argument 763 if ((refFreq < FSL_FEATURE_MCG_PLL_REF_MIN) || in CLOCK_CalcPllDiv() 764 …(refFreq > (FSL_FEATURE_MCG_PLL_REF_MAX * (FSL_FEATURE_MCG_PLL_PRDIV_MAX + FSL_FEATURE_MCG_PLL_PRD… in CLOCK_CalcPllDiv() 770 prdiv_max = refFreq / FSL_FEATURE_MCG_PLL_REF_MIN; in CLOCK_CalcPllDiv() 771 prdiv_min = (refFreq + FSL_FEATURE_MCG_PLL_REF_MAX - 1U) / FSL_FEATURE_MCG_PLL_REF_MAX; in CLOCK_CalcPllDiv() 777 ref_div = refFreq / prdiv_cur; in CLOCK_CalcPllDiv() 824 ret_freq = (refFreq / ret_prdiv) * ret_vdiv; in CLOCK_CalcPllDiv()
|
| A D | fsl_clock.h | 1079 uint32_t CLOCK_CalcPllDiv(uint32_t refFreq, uint32_t desireFreq, uint8_t *prdiv, uint8_t *vdiv);
|
| /bsp/efm32/EFM32GG_DK3750/ |
| A D | dvk_spi.c | 86 bcinit.refFreq = 48000000; in SPI_BC_Init()
|
| /bsp/efm32/EFM32_Gxxx_DK/ |
| A D | dvk_spi.c | 120 init.refFreq = 32000000; in spiInit()
|
| /bsp/efm32/ |
| A D | drv_usart.c | 1297 init_sync.refFreq = 0; in rt_hw_usart_unit_init() 1339 init_async.refFreq = 0; in rt_hw_usart_unit_init()
|
Completed in 33 milliseconds