Home
last modified time | relevance | path

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

123

/hal_stm32-3.6.0/stm32cube/stm32f2xx/drivers/src/
Dstm32f2xx_ll_spi.c378 assert_param(IS_LL_I2S_AUDIO_FREQ(I2S_InitStruct->AudioFreq)); in LL_I2S_Init()
407 if (I2S_InitStruct->AudioFreq != LL_I2S_AUDIOFREQ_DEFAULT) in LL_I2S_Init()
427 tmp = (((((sourceclock / 256U) * 10U) / I2S_InitStruct->AudioFreq)) + 5U); in LL_I2S_Init()
432 tmp = (((((sourceclock / (32U * packetlength)) * 10U) / I2S_InitStruct->AudioFreq)) + 5U); in LL_I2S_Init()
477 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-3.6.0/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()
Dstm32l1xx_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-3.6.0/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()
Dstm32l0xx_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-3.6.0/stm32cube/stm32f1xx/drivers/src/
Dstm32f1xx_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()
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-3.6.0/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-3.6.0/stm32cube/stm32c0xx/drivers/src/
Dstm32c0xx_ll_spi.c377 assert_param(IS_LL_I2S_AUDIO_FREQ(I2S_InitStruct->AudioFreq)); in LL_I2S_Init()
406 if (I2S_InitStruct->AudioFreq != LL_I2S_AUDIOFREQ_DEFAULT) in LL_I2S_Init()
427 tmp = (((((sourceclock / 256U) * 10U) / I2S_InitStruct->AudioFreq)) + 5U); in LL_I2S_Init()
432 tmp = (((((sourceclock / (32U * packetlength)) * 10U) / I2S_InitStruct->AudioFreq)) + 5U); in LL_I2S_Init()
477 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-3.6.0/stm32cube/stm32g4xx/drivers/src/
Dstm32g4xx_ll_spi.c412 assert_param(IS_LL_I2S_AUDIO_FREQ(I2S_InitStruct->AudioFreq)); in LL_I2S_Init()
441 if (I2S_InitStruct->AudioFreq != LL_I2S_AUDIOFREQ_DEFAULT) in LL_I2S_Init()
461 tmp = (((((sourceclock / 256U) * 10U) / I2S_InitStruct->AudioFreq)) + 5U); in LL_I2S_Init()
466 tmp = (((((sourceclock / (32U * packetlength)) * 10U) / I2S_InitStruct->AudioFreq)) + 5U); in LL_I2S_Init()
511 I2S_InitStruct->AudioFreq = LL_I2S_AUDIOFREQ_DEFAULT; in LL_I2S_StructInit()
Dstm32g4xx_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()
354 tmp = (uint32_t)(((((i2sclk / (packetlength * 4U)) * 10U) / hi2s->Init.AudioFreq)) + 5U); in HAL_I2S_Init()
358 tmp = (uint32_t)(((((i2sclk / (packetlength * 8U)) * 10U) / hi2s->Init.AudioFreq)) + 5U); in HAL_I2S_Init()
364 tmp = (uint32_t)(((((i2sclk / packetlength) * 10U) / hi2s->Init.AudioFreq)) + 5U); in HAL_I2S_Init()
/hal_stm32-3.6.0/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-3.6.0/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-3.6.0/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-3.6.0/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-3.6.0/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-3.6.0/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-3.6.0/stm32cube/stm32h7xx/drivers/src/
Dstm32h7xx_ll_spi.c585 assert_param(IS_LL_I2S_AUDIO_FREQ(I2S_InitStruct->AudioFreq)); in LL_I2S_Init()
619 if (I2S_InitStruct->AudioFreq != LL_I2S_AUDIOFREQ_DEFAULT) in LL_I2S_Init()
655 tmp = (((sourceclock / (256UL >> ispcm)) * 16UL) / I2S_InitStruct->AudioFreq) + 8UL; in LL_I2S_Init()
660 …mp = (((sourceclock / ((32UL >> ispcm) * packetlength)) * 16UL) / I2S_InitStruct->AudioFreq) + 8UL; in LL_I2S_Init()
705 I2S_InitStruct->AudioFreq = LL_I2S_AUDIOFREQ_DEFAULT; in LL_I2S_StructInit()
/hal_stm32-3.6.0/stm32cube/stm32h5xx/drivers/src/
Dstm32h5xx_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()

123