Home
last modified time | relevance | path

Searched refs:AudioFreq (Results 1 – 25 of 70) sorted by relevance

123

/hal_stm32-latest/stm32cube/stm32f2xx/drivers/src/
Dstm32f2xx_ll_spi.c379 assert_param(IS_LL_I2S_AUDIO_FREQ(I2S_InitStruct->AudioFreq)); in LL_I2S_Init()
408 if (I2S_InitStruct->AudioFreq != LL_I2S_AUDIOFREQ_DEFAULT) 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()
478 I2S_InitStruct->AudioFreq = LL_I2S_AUDIOFREQ_DEFAULT; in LL_I2S_StructInit()
Dstm32f2xx_hal_i2s.c281 assert_param(IS_I2S_AUDIO_FREQ(hi2s->Init.AudioFreq)); in HAL_I2S_Init()
322 if (hi2s->Init.AudioFreq != I2S_AUDIOFREQ_DEFAULT) in HAL_I2S_Init()
392 tmp = (uint32_t)(((((i2sclk / (packetlength * 4U)) * 10U) / hi2s->Init.AudioFreq)) + 5U); in HAL_I2S_Init()
396 tmp = (uint32_t)(((((i2sclk / (packetlength * 8U)) * 10U) / hi2s->Init.AudioFreq)) + 5U); in HAL_I2S_Init()
402 tmp = (uint32_t)(((((i2sclk / packetlength) * 10U) / hi2s->Init.AudioFreq)) + 5U); in HAL_I2S_Init()
/hal_stm32-latest/stm32cube/stm32l0xx/drivers/src/
Dstm32l0xx_ll_spi.c370 assert_param(IS_LL_I2S_AUDIO_FREQ(I2S_InitStruct->AudioFreq)); in LL_I2S_Init()
399 if (I2S_InitStruct->AudioFreq != LL_I2S_AUDIOFREQ_DEFAULT) 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()
470 I2S_InitStruct->AudioFreq = LL_I2S_AUDIOFREQ_DEFAULT; in LL_I2S_StructInit()
/hal_stm32-latest/stm32cube/stm32f1xx/drivers/src/
Dstm32f1xx_ll_spi.c383 assert_param(IS_LL_I2S_AUDIO_FREQ(I2S_InitStruct->AudioFreq)); in LL_I2S_Init()
412 if (I2S_InitStruct->AudioFreq != LL_I2S_AUDIOFREQ_DEFAULT) 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()
483 I2S_InitStruct->AudioFreq = LL_I2S_AUDIOFREQ_DEFAULT; in LL_I2S_StructInit()
Dstm32f1xx_hal_i2s.c290 assert_param(IS_I2S_AUDIO_FREQ(hi2s->Init.AudioFreq)); in HAL_I2S_Init()
330 if (hi2s->Init.AudioFreq != I2S_AUDIOFREQ_DEFAULT) in HAL_I2S_Init()
373 tmp = (uint32_t)(((((i2sclk / (packetlength * 4U)) * 10U) / hi2s->Init.AudioFreq)) + 5U); in HAL_I2S_Init()
377 tmp = (uint32_t)(((((i2sclk / (packetlength * 8U)) * 10U) / hi2s->Init.AudioFreq)) + 5U); in HAL_I2S_Init()
383 tmp = (uint32_t)(((((i2sclk / packetlength) * 10U) / hi2s->Init.AudioFreq)) + 5U); in HAL_I2S_Init()
/hal_stm32-latest/stm32cube/stm32l1xx/drivers/src/
Dstm32l1xx_ll_spi.c382 assert_param(IS_LL_I2S_AUDIO_FREQ(I2S_InitStruct->AudioFreq)); in LL_I2S_Init()
411 if (I2S_InitStruct->AudioFreq != LL_I2S_AUDIOFREQ_DEFAULT) 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()
482 I2S_InitStruct->AudioFreq = LL_I2S_AUDIOFREQ_DEFAULT; in LL_I2S_StructInit()
/hal_stm32-latest/stm32cube/stm32wlxx/drivers/src/
Dstm32wlxx_ll_spi.c386 assert_param(IS_LL_I2S_AUDIO_FREQ(I2S_InitStruct->AudioFreq)); in LL_I2S_Init()
415 if (I2S_InitStruct->AudioFreq != LL_I2S_AUDIOFREQ_DEFAULT) 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()
486 I2S_InitStruct->AudioFreq = LL_I2S_AUDIOFREQ_DEFAULT; in LL_I2S_StructInit()
Dstm32wlxx_hal_i2s.c282 assert_param(IS_I2S_AUDIO_FREQ(hi2s->Init.AudioFreq)); in HAL_I2S_Init()
322 if (hi2s->Init.AudioFreq != I2S_AUDIOFREQ_DEFAULT) in HAL_I2S_Init()
352 tmp = (uint32_t)(((((i2sclk / (packetlength * 4U)) * 10U) / hi2s->Init.AudioFreq)) + 5U); in HAL_I2S_Init()
356 tmp = (uint32_t)(((((i2sclk / (packetlength * 8U)) * 10U) / hi2s->Init.AudioFreq)) + 5U); in HAL_I2S_Init()
362 tmp = (uint32_t)(((((i2sclk / packetlength) * 10U) / hi2s->Init.AudioFreq)) + 5U); in HAL_I2S_Init()
/hal_stm32-latest/stm32cube/stm32c0xx/drivers/src/
Dstm32c0xx_ll_spi.c389 assert_param(IS_LL_I2S_AUDIO_FREQ(I2S_InitStruct->AudioFreq)); in LL_I2S_Init()
418 if (I2S_InitStruct->AudioFreq != LL_I2S_AUDIOFREQ_DEFAULT) 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()
489 I2S_InitStruct->AudioFreq = LL_I2S_AUDIOFREQ_DEFAULT; in LL_I2S_StructInit()
Dstm32c0xx_hal_i2s.c283 assert_param(IS_I2S_AUDIO_FREQ(hi2s->Init.AudioFreq)); in HAL_I2S_Init()
323 if (hi2s->Init.AudioFreq != I2S_AUDIOFREQ_DEFAULT) in HAL_I2S_Init()
353 tmp = (uint32_t)(((((i2sclk / (packetlength * 4U)) * 10U) / hi2s->Init.AudioFreq)) + 5U); in HAL_I2S_Init()
357 tmp = (uint32_t)(((((i2sclk / (packetlength * 8U)) * 10U) / hi2s->Init.AudioFreq)) + 5U); in HAL_I2S_Init()
363 tmp = (uint32_t)(((((i2sclk / packetlength) * 10U) / hi2s->Init.AudioFreq)) + 5U); in HAL_I2S_Init()
/hal_stm32-latest/stm32cube/stm32f0xx/drivers/src/
Dstm32f0xx_ll_spi.c389 assert_param(IS_LL_I2S_AUDIO_FREQ(I2S_InitStruct->AudioFreq)); in LL_I2S_Init()
418 if (I2S_InitStruct->AudioFreq != LL_I2S_AUDIOFREQ_DEFAULT) 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()
489 I2S_InitStruct->AudioFreq = LL_I2S_AUDIOFREQ_DEFAULT; in LL_I2S_StructInit()
Dstm32f0xx_hal_i2s.c281 assert_param(IS_I2S_AUDIO_FREQ(hi2s->Init.AudioFreq)); in HAL_I2S_Init()
321 if (hi2s->Init.AudioFreq != I2S_AUDIOFREQ_DEFAULT) in HAL_I2S_Init()
351 tmp = (uint32_t)(((((i2sclk / (packetlength * 4U)) * 10U) / hi2s->Init.AudioFreq)) + 5U); in HAL_I2S_Init()
355 tmp = (uint32_t)(((((i2sclk / (packetlength * 8U)) * 10U) / hi2s->Init.AudioFreq)) + 5U); in HAL_I2S_Init()
361 tmp = (uint32_t)(((((i2sclk / packetlength) * 10U) / hi2s->Init.AudioFreq)) + 5U); in HAL_I2S_Init()
/hal_stm32-latest/stm32cube/stm32g4xx/drivers/src/
Dstm32g4xx_ll_spi.c413 assert_param(IS_LL_I2S_AUDIO_FREQ(I2S_InitStruct->AudioFreq)); in LL_I2S_Init()
442 if (I2S_InitStruct->AudioFreq != LL_I2S_AUDIOFREQ_DEFAULT) 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()
512 I2S_InitStruct->AudioFreq = LL_I2S_AUDIOFREQ_DEFAULT; in LL_I2S_StructInit()
/hal_stm32-latest/stm32cube/stm32g0xx/drivers/src/
Dstm32g0xx_ll_spi.c401 assert_param(IS_LL_I2S_AUDIO_FREQ(I2S_InitStruct->AudioFreq)); in LL_I2S_Init()
430 if (I2S_InitStruct->AudioFreq != LL_I2S_AUDIOFREQ_DEFAULT) 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()
501 I2S_InitStruct->AudioFreq = LL_I2S_AUDIOFREQ_DEFAULT; in LL_I2S_StructInit()
Dstm32g0xx_hal_i2s.c284 assert_param(IS_I2S_AUDIO_FREQ(hi2s->Init.AudioFreq)); in HAL_I2S_Init()
324 if (hi2s->Init.AudioFreq != I2S_AUDIOFREQ_DEFAULT) in HAL_I2S_Init()
366 tmp = (uint32_t)(((((i2sclk / (packetlength * 4U)) * 10U) / hi2s->Init.AudioFreq)) + 5U); in HAL_I2S_Init()
370 tmp = (uint32_t)(((((i2sclk / (packetlength * 8U)) * 10U) / hi2s->Init.AudioFreq)) + 5U); in HAL_I2S_Init()
376 tmp = (uint32_t)(((((i2sclk / packetlength) * 10U) / hi2s->Init.AudioFreq)) + 5U); in HAL_I2S_Init()
/hal_stm32-latest/stm32cube/stm32f7xx/drivers/src/
Dstm32f7xx_ll_spi.c433 assert_param(IS_LL_I2S_AUDIO_FREQ(I2S_InitStruct->AudioFreq)); in LL_I2S_Init()
462 if (I2S_InitStruct->AudioFreq != LL_I2S_AUDIOFREQ_DEFAULT) 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()
532 I2S_InitStruct->AudioFreq = LL_I2S_AUDIOFREQ_DEFAULT; in LL_I2S_StructInit()
Dstm32f7xx_hal_i2s.c282 assert_param(IS_I2S_AUDIO_FREQ(hi2s->Init.AudioFreq)); in HAL_I2S_Init()
323 if (hi2s->Init.AudioFreq != I2S_AUDIOFREQ_DEFAULT) in HAL_I2S_Init()
363 tmp = (uint32_t)(((((i2sclk / (packetlength * 4U)) * 10U) / hi2s->Init.AudioFreq)) + 5U); in HAL_I2S_Init()
367 tmp = (uint32_t)(((((i2sclk / (packetlength * 8U)) * 10U) / hi2s->Init.AudioFreq)) + 5U); in HAL_I2S_Init()
373 tmp = (uint32_t)(((((i2sclk / packetlength) * 10U) / hi2s->Init.AudioFreq)) + 5U); in HAL_I2S_Init()
/hal_stm32-latest/stm32cube/stm32f4xx/drivers/src/
Dstm32f4xx_ll_spi.c414 assert_param(IS_LL_I2S_AUDIO_FREQ(I2S_InitStruct->AudioFreq)); in LL_I2S_Init()
443 if (I2S_InitStruct->AudioFreq != LL_I2S_AUDIOFREQ_DEFAULT) 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()
513 I2S_InitStruct->AudioFreq = LL_I2S_AUDIOFREQ_DEFAULT; in LL_I2S_StructInit()
/hal_stm32-latest/stm32cube/stm32wb0x/drivers/src/
Dstm32wb0x_ll_spi.c397 assert_param(IS_LL_I2S_AUDIO_FREQ(I2S_InitStruct->AudioFreq)); in LL_I2S_Init()
426 if (I2S_InitStruct->AudioFreq != LL_I2S_AUDIOFREQ_DEFAULT) 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()
530 I2S_InitStruct->AudioFreq = LL_I2S_AUDIOFREQ_DEFAULT; in LL_I2S_StructInit()
/hal_stm32-latest/stm32cube/stm32f3xx/drivers/src/
Dstm32f3xx_ll_spi.c415 assert_param(IS_LL_I2S_AUDIO_FREQ(I2S_InitStruct->AudioFreq)); in LL_I2S_Init()
444 if (I2S_InitStruct->AudioFreq != LL_I2S_AUDIOFREQ_DEFAULT) 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()
528 I2S_InitStruct->AudioFreq = LL_I2S_AUDIOFREQ_DEFAULT; in LL_I2S_StructInit()
/hal_stm32-latest/stm32cube/stm32h7rsxx/drivers/src/
Dstm32h7rsxx_ll_spi.c586 assert_param(IS_LL_I2S_AUDIO_FREQ(I2S_InitStruct->AudioFreq)); in LL_I2S_Init()
620 if (I2S_InitStruct->AudioFreq != LL_I2S_AUDIOFREQ_DEFAULT) in LL_I2S_Init()
656 tmp = (((sourceclock / (256UL >> ispcm)) * 16UL) / I2S_InitStruct->AudioFreq) + 8UL; in LL_I2S_Init()
661 …mp = (((sourceclock / ((32UL >> ispcm) * packetlength)) * 16UL) / I2S_InitStruct->AudioFreq) + 8UL; in LL_I2S_Init()
706 I2S_InitStruct->AudioFreq = LL_I2S_AUDIOFREQ_DEFAULT; in LL_I2S_StructInit()
/hal_stm32-latest/stm32cube/stm32mp1xx/drivers/src/
Dstm32mp1xx_ll_spi.c588 assert_param(IS_LL_I2S_AUDIO_FREQ(I2S_InitStruct->AudioFreq)); in LL_I2S_Init()
622 if (I2S_InitStruct->AudioFreq != LL_I2S_AUDIOFREQ_DEFAULT) in LL_I2S_Init()
664 tmp = (((sourceclock / (256UL >> ispcm)) * 16UL) / I2S_InitStruct->AudioFreq) + 8UL; in LL_I2S_Init()
669 …mp = (((sourceclock / ((32UL >> ispcm) * packetlength)) * 16UL) / I2S_InitStruct->AudioFreq) + 8UL; in LL_I2S_Init()
714 I2S_InitStruct->AudioFreq = LL_I2S_AUDIOFREQ_DEFAULT; in LL_I2S_StructInit()
/hal_stm32-latest/stm32cube/stm32n6xx/drivers/src/
Dstm32n6xx_ll_spi.c589 assert_param(IS_LL_I2S_AUDIO_FREQ(I2S_InitStruct->AudioFreq)); in LL_I2S_Init()
623 if (I2S_InitStruct->AudioFreq != LL_I2S_AUDIOFREQ_DEFAULT) in LL_I2S_Init()
663 tmp = (((sourceclock / (256UL >> ispcm)) * 16UL) / I2S_InitStruct->AudioFreq) + 8UL; in LL_I2S_Init()
668 …mp = (((sourceclock / ((32UL >> ispcm) * packetlength)) * 16UL) / I2S_InitStruct->AudioFreq) + 8UL; in LL_I2S_Init()
713 I2S_InitStruct->AudioFreq = LL_I2S_AUDIOFREQ_DEFAULT; in LL_I2S_StructInit()
/hal_stm32-latest/stm32cube/stm32h7xx/drivers/src/
Dstm32h7xx_ll_spi.c588 assert_param(IS_LL_I2S_AUDIO_FREQ(I2S_InitStruct->AudioFreq)); in LL_I2S_Init()
622 if (I2S_InitStruct->AudioFreq != LL_I2S_AUDIOFREQ_DEFAULT) in LL_I2S_Init()
658 tmp = (((sourceclock / (256UL >> ispcm)) * 16UL) / I2S_InitStruct->AudioFreq) + 8UL; in LL_I2S_Init()
663 …mp = (((sourceclock / ((32UL >> ispcm) * packetlength)) * 16UL) / I2S_InitStruct->AudioFreq) + 8UL; in LL_I2S_Init()
708 I2S_InitStruct->AudioFreq = LL_I2S_AUDIOFREQ_DEFAULT; in LL_I2S_StructInit()
/hal_stm32-latest/stm32cube/stm32h5xx/drivers/src/
Dstm32h5xx_ll_spi.c589 assert_param(IS_LL_I2S_AUDIO_FREQ(I2S_InitStruct->AudioFreq)); in LL_I2S_Init()
623 if (I2S_InitStruct->AudioFreq != LL_I2S_AUDIOFREQ_DEFAULT) in LL_I2S_Init()
659 tmp = (((sourceclock / (256UL >> ispcm)) * 16UL) / I2S_InitStruct->AudioFreq) + 8UL; in LL_I2S_Init()
664 …mp = (((sourceclock / ((32UL >> ispcm) * packetlength)) * 16UL) / I2S_InitStruct->AudioFreq) + 8UL; in LL_I2S_Init()
709 I2S_InitStruct->AudioFreq = LL_I2S_AUDIOFREQ_DEFAULT; in LL_I2S_StructInit()

123