Home
last modified time | relevance | path

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

/hal_stm32-latest/stm32cube/stm32wb0x/drivers/src/
Dstm32wb0x_ll_spi.c388 uint32_t sourceclock, rcc_clock; in LL_I2S_Init() local
447 sourceclock = 16000000; in LL_I2S_Init()
451 sourceclock = 32000000; in LL_I2S_Init()
455 sourceclock = 64000000; in LL_I2S_Init()
467 sourceclock = 16000000; in LL_I2S_Init()
471 sourceclock = 32000000; in LL_I2S_Init()
480 tmp = (((((sourceclock / 256U) * 10U) / I2S_InitStruct->AudioFreq)) + 5U); in LL_I2S_Init()
485 tmp = (((((sourceclock / (32U * packetlength)) * 10U) / I2S_InitStruct->AudioFreq)) + 5U); in LL_I2S_Init()
/hal_stm32-latest/stm32cube/stm32n6xx/drivers/src/
Dstm32n6xx_ll_spi.c576 uint32_t sourceclock = 0UL; in LL_I2S_Init() local
581 UNUSED(sourceclock); in LL_I2S_Init()
644 sourceclock = LL_RCC_GetSPIClockFreq(LL_RCC_SPI1_CLKSOURCE); in LL_I2S_Init()
648 sourceclock = LL_RCC_GetSPIClockFreq(LL_RCC_SPI2_CLKSOURCE); in LL_I2S_Init()
652 sourceclock = LL_RCC_GetSPIClockFreq(LL_RCC_SPI3_CLKSOURCE); in LL_I2S_Init()
656 sourceclock = LL_RCC_GetSPIClockFreq(LL_RCC_SPI6_CLKSOURCE); in LL_I2S_Init()
663 tmp = (((sourceclock / (256UL >> ispcm)) * 16UL) / I2S_InitStruct->AudioFreq) + 8UL; in LL_I2S_Init()
668 …tmp = (((sourceclock / ((32UL >> ispcm) * packetlength)) * 16UL) / I2S_InitStruct->AudioFreq) + 8U… in LL_I2S_Init()
/hal_stm32-latest/stm32cube/stm32h7xx/drivers/src/
Dstm32h7xx_ll_spi.c575 uint32_t sourceclock = 0UL; in LL_I2S_Init() local
580 UNUSED(sourceclock); in LL_I2S_Init()
644 sourceclock = LL_RCC_GetSPIClockFreq(LL_RCC_SPI6_CLKSOURCE); in LL_I2S_Init()
648 sourceclock = LL_RCC_GetSPIClockFreq(LL_RCC_SPI123_CLKSOURCE); in LL_I2S_Init()
651 sourceclock = LL_RCC_GetSPIClockFreq(LL_RCC_SPI123_CLKSOURCE); in LL_I2S_Init()
658 tmp = (((sourceclock / (256UL >> ispcm)) * 16UL) / I2S_InitStruct->AudioFreq) + 8UL; in LL_I2S_Init()
663 …tmp = (((sourceclock / ((32UL >> ispcm) * packetlength)) * 16UL) / I2S_InitStruct->AudioFreq) + 8U… in LL_I2S_Init()
/hal_stm32-latest/stm32cube/stm32h5xx/drivers/src/
Dstm32h5xx_ll_spi.c576 uint32_t sourceclock = 0UL; in LL_I2S_Init() local
581 UNUSED(sourceclock); in LL_I2S_Init()
644 sourceclock = LL_RCC_GetSPIClockFreq(LL_RCC_SPI1_CLKSOURCE); in LL_I2S_Init()
648 sourceclock = LL_RCC_GetSPIClockFreq(LL_RCC_SPI2_CLKSOURCE); in LL_I2S_Init()
652 sourceclock = LL_RCC_GetSPIClockFreq(LL_RCC_SPI3_CLKSOURCE); in LL_I2S_Init()
659 tmp = (((sourceclock / (256UL >> ispcm)) * 16UL) / I2S_InitStruct->AudioFreq) + 8UL; in LL_I2S_Init()
664 …tmp = (((sourceclock / ((32UL >> ispcm) * packetlength)) * 16UL) / I2S_InitStruct->AudioFreq) + 8U… in LL_I2S_Init()
/hal_stm32-latest/stm32cube/stm32f3xx/drivers/src/
Dstm32f3xx_ll_spi.c406 uint32_t sourceclock; in LL_I2S_Init() local
459 sourceclock = LL_RCC_GetI2SClockFreq(LL_RCC_I2S_CLKSOURCE); in LL_I2S_Init()
465 sourceclock = rcc_clocks.PCLK2_Frequency; in LL_I2S_Init()
469 sourceclock = rcc_clocks.PCLK1_Frequency; in LL_I2S_Init()
478 tmp = (((((sourceclock / 256U) * 10U) / I2S_InitStruct->AudioFreq)) + 5U); in LL_I2S_Init()
483 tmp = (((((sourceclock / (32U * packetlength)) * 10U) / I2S_InitStruct->AudioFreq)) + 5U); in LL_I2S_Init()
/hal_stm32-latest/stm32cube/stm32h7rsxx/drivers/src/
Dstm32h7rsxx_ll_spi.c576 uint32_t sourceclock; in LL_I2S_Init() local
641 sourceclock = LL_RCC_GetSPIClockFreq(LL_RCC_SPI1_CLKSOURCE); in LL_I2S_Init()
645 sourceclock = LL_RCC_GetSPIClockFreq(LL_RCC_SPI23_CLKSOURCE); in LL_I2S_Init()
649 sourceclock = LL_RCC_GetSPIClockFreq(LL_RCC_SPI6_CLKSOURCE); in LL_I2S_Init()
656 tmp = (((sourceclock / (256UL >> ispcm)) * 16UL) / I2S_InitStruct->AudioFreq) + 8UL; in LL_I2S_Init()
661 …tmp = (((sourceclock / ((32UL >> ispcm) * packetlength)) * 16UL) / I2S_InitStruct->AudioFreq) + 8U… in LL_I2S_Init()
/hal_stm32-latest/stm32cube/stm32mp1xx/drivers/src/
Dstm32mp1xx_ll_spi.c578 uint32_t sourceclock = 0UL; in LL_I2S_Init() local
644 sourceclock = LL_RCC_GetSPIClockFreq(LL_RCC_SPI1_CLKSOURCE); in LL_I2S_Init()
650 sourceclock = LL_RCC_GetSPIClockFreq(LL_RCC_SPI23_CLKSOURCE); in LL_I2S_Init()
656 sourceclock = LL_RCC_GetSPIClockFreq(LL_RCC_SPI23_CLKSOURCE); in LL_I2S_Init()
664 tmp = (((sourceclock / (256UL >> ispcm)) * 16UL) / I2S_InitStruct->AudioFreq) + 8UL; in LL_I2S_Init()
669 …tmp = (((sourceclock / ((32UL >> ispcm) * packetlength)) * 16UL) / I2S_InitStruct->AudioFreq) + 8U… in LL_I2S_Init()
/hal_stm32-latest/stm32cube/stm32f2xx/drivers/src/
Dstm32f2xx_ll_spi.c370 uint32_t sourceclock; in LL_I2S_Init() local
422 sourceclock = LL_RCC_GetI2SClockFreq(LL_RCC_I2S1_CLKSOURCE); in LL_I2S_Init()
428 tmp = (((((sourceclock / 256U) * 10U) / I2S_InitStruct->AudioFreq)) + 5U); in LL_I2S_Init()
433 tmp = (((((sourceclock / (32U * packetlength)) * 10U) / I2S_InitStruct->AudioFreq)) + 5U); in LL_I2S_Init()
/hal_stm32-latest/stm32cube/stm32l0xx/drivers/src/
Dstm32l0xx_ll_spi.c361 uint32_t sourceclock; in LL_I2S_Init() local
414 sourceclock = rcc_clocks.SYSCLK_Frequency; in LL_I2S_Init()
420 tmp = (((((sourceclock / 256U) * 10U) / I2S_InitStruct->AudioFreq)) + 5U); in LL_I2S_Init()
425 tmp = (((((sourceclock / (32U * packetlength)) * 10U) / I2S_InitStruct->AudioFreq)) + 5U); in LL_I2S_Init()
/hal_stm32-latest/stm32cube/stm32f1xx/drivers/src/
Dstm32f1xx_ll_spi.c374 uint32_t sourceclock; in LL_I2S_Init() local
427 sourceclock = rcc_clocks.SYSCLK_Frequency; in LL_I2S_Init()
433 tmp = (((((sourceclock / 256U) * 10U) / I2S_InitStruct->AudioFreq)) + 5U); in LL_I2S_Init()
438 tmp = (((((sourceclock / (32U * packetlength)) * 10U) / I2S_InitStruct->AudioFreq)) + 5U); in LL_I2S_Init()
/hal_stm32-latest/stm32cube/stm32l1xx/drivers/src/
Dstm32l1xx_ll_spi.c373 uint32_t sourceclock; in LL_I2S_Init() local
426 sourceclock = rcc_clocks.SYSCLK_Frequency; in LL_I2S_Init()
432 tmp = (((((sourceclock / 256U) * 10U) / I2S_InitStruct->AudioFreq)) + 5U); in LL_I2S_Init()
437 tmp = (((((sourceclock / (32U * packetlength)) * 10U) / I2S_InitStruct->AudioFreq)) + 5U); in LL_I2S_Init()
/hal_stm32-latest/stm32cube/stm32wlxx/drivers/src/
Dstm32wlxx_ll_spi.c377 uint32_t sourceclock; in LL_I2S_Init() local
430 sourceclock = rcc_clocks.SYSCLK_Frequency; in LL_I2S_Init()
436 tmp = (((((sourceclock / 256U) * 10U) / I2S_InitStruct->AudioFreq)) + 5U); in LL_I2S_Init()
441 tmp = (((((sourceclock / (32U * packetlength)) * 10U) / I2S_InitStruct->AudioFreq)) + 5U); in LL_I2S_Init()
/hal_stm32-latest/stm32cube/stm32c0xx/drivers/src/
Dstm32c0xx_ll_spi.c380 uint32_t sourceclock; in LL_I2S_Init() local
433 sourceclock = rcc_clocks.SYSCLK_Frequency; in LL_I2S_Init()
439 tmp = (((((sourceclock / 256U) * 10U) / I2S_InitStruct->AudioFreq)) + 5U); in LL_I2S_Init()
444 tmp = (((((sourceclock / (32U * packetlength)) * 10U) / I2S_InitStruct->AudioFreq)) + 5U); in LL_I2S_Init()
/hal_stm32-latest/stm32cube/stm32f0xx/drivers/src/
Dstm32f0xx_ll_spi.c380 uint32_t sourceclock; in LL_I2S_Init() local
433 sourceclock = rcc_clocks.SYSCLK_Frequency; in LL_I2S_Init()
439 tmp = (((((sourceclock / 256U) * 10U) / I2S_InitStruct->AudioFreq)) + 5U); in LL_I2S_Init()
444 tmp = (((((sourceclock / (32U * packetlength)) * 10U) / I2S_InitStruct->AudioFreq)) + 5U); in LL_I2S_Init()
/hal_stm32-latest/stm32cube/stm32g4xx/drivers/src/
Dstm32g4xx_ll_spi.c404 uint32_t sourceclock; in LL_I2S_Init() local
456 sourceclock = LL_RCC_GetI2SClockFreq(LL_RCC_I2S_CLKSOURCE); in LL_I2S_Init()
462 tmp = (((((sourceclock / 256U) * 10U) / I2S_InitStruct->AudioFreq)) + 5U); in LL_I2S_Init()
467 tmp = (((((sourceclock / (32U * packetlength)) * 10U) / I2S_InitStruct->AudioFreq)) + 5U); in LL_I2S_Init()
/hal_stm32-latest/stm32cube/stm32g0xx/drivers/src/
Dstm32g0xx_ll_spi.c392 uint32_t sourceclock; in LL_I2S_Init() local
445 sourceclock = rcc_clocks.SYSCLK_Frequency; in LL_I2S_Init()
451 tmp = (((((sourceclock / 256U) * 10U) / I2S_InitStruct->AudioFreq)) + 5U); in LL_I2S_Init()
456 tmp = (((((sourceclock / (32U * packetlength)) * 10U) / I2S_InitStruct->AudioFreq)) + 5U); in LL_I2S_Init()
/hal_stm32-latest/stm32cube/stm32f7xx/drivers/src/
Dstm32f7xx_ll_spi.c424 uint32_t sourceclock; in LL_I2S_Init() local
476 sourceclock = LL_RCC_GetI2SClockFreq(LL_RCC_I2S1_CLKSOURCE); in LL_I2S_Init()
482 tmp = (((((sourceclock / 256U) * 10U) / I2S_InitStruct->AudioFreq)) + 5U); in LL_I2S_Init()
487 tmp = (((((sourceclock / (32U * packetlength)) * 10U) / I2S_InitStruct->AudioFreq)) + 5U); in LL_I2S_Init()
/hal_stm32-latest/stm32cube/stm32f4xx/drivers/src/
Dstm32f4xx_ll_spi.c405 uint32_t sourceclock; in LL_I2S_Init() local
457 sourceclock = LL_RCC_GetI2SClockFreq(LL_RCC_I2S1_CLKSOURCE); in LL_I2S_Init()
463 tmp = (((((sourceclock / 256U) * 10U) / I2S_InitStruct->AudioFreq)) + 5U); in LL_I2S_Init()
468 tmp = (((((sourceclock / (32U * packetlength)) * 10U) / I2S_InitStruct->AudioFreq)) + 5U); in LL_I2S_Init()