Home
last modified time | relevance | path

Searched refs:i2sodd (Results 1 – 25 of 35) sorted by relevance

12

/hal_stm32-latest/stm32cube/stm32f2xx/drivers/src/
Dstm32f2xx_ll_spi.c367 uint32_t i2sodd = 0U; in LL_I2S_Init() local
440 i2sodd = (tmp & (uint16_t)0x0001U); in LL_I2S_Init()
443 i2sdiv = ((tmp - i2sodd) / 2U); in LL_I2S_Init()
446 i2sodd = (i2sodd << 8U); in LL_I2S_Init()
454 i2sodd = 0U; in LL_I2S_Init()
458 WRITE_REG(SPIx->I2SPR, i2sdiv | i2sodd | I2S_InitStruct->MCLKOutput); in LL_I2S_Init()
Dstm32f2xx_hal_i2s.c264 uint32_t i2sodd; in HAL_I2S_Init() local
409 i2sodd = (uint32_t)(tmp & (uint32_t)1U); in HAL_I2S_Init()
412 i2sdiv = (uint32_t)((tmp - i2sodd) / 2U); in HAL_I2S_Init()
415 i2sodd = (uint32_t)(i2sodd << 8U); in HAL_I2S_Init()
421 i2sodd = 0U; in HAL_I2S_Init()
435 …hi2s->Instance->I2SPR = (uint32_t)((uint32_t)i2sdiv | (uint32_t)(i2sodd | (uint32_t)hi2s->Init.MCL… in HAL_I2S_Init()
/hal_stm32-latest/stm32cube/stm32l0xx/drivers/src/
Dstm32l0xx_ll_spi.c357 uint32_t i2sodd = 0U; in LL_I2S_Init() local
432 i2sodd = (tmp & (uint16_t)0x0001U); in LL_I2S_Init()
435 i2sdiv = ((tmp - i2sodd) / 2U); in LL_I2S_Init()
438 i2sodd = (i2sodd << 8U); in LL_I2S_Init()
446 i2sodd = 0U; in LL_I2S_Init()
450 WRITE_REG(SPIx->I2SPR, i2sdiv | i2sodd | I2S_InitStruct->MCLKOutput); in LL_I2S_Init()
Dstm32l0xx_hal_i2s.c264 uint32_t i2sodd; in HAL_I2S_Init() local
368 i2sodd = (uint32_t)(tmp & (uint32_t)1U); in HAL_I2S_Init()
371 i2sdiv = (uint32_t)((tmp - i2sodd) / 2U); in HAL_I2S_Init()
374 i2sodd = (uint32_t)(i2sodd << 8U); in HAL_I2S_Init()
380 i2sodd = 0U; in HAL_I2S_Init()
394 …hi2s->Instance->I2SPR = (uint32_t)((uint32_t)i2sdiv | (uint32_t)(i2sodd | (uint32_t)hi2s->Init.MCL… in HAL_I2S_Init()
/hal_stm32-latest/stm32cube/stm32f1xx/drivers/src/
Dstm32f1xx_ll_spi.c370 uint32_t i2sodd = 0U; in LL_I2S_Init() local
445 i2sodd = (tmp & (uint16_t)0x0001U); in LL_I2S_Init()
448 i2sdiv = ((tmp - i2sodd) / 2U); in LL_I2S_Init()
451 i2sodd = (i2sodd << 8U); in LL_I2S_Init()
459 i2sodd = 0U; in LL_I2S_Init()
463 WRITE_REG(SPIx->I2SPR, i2sdiv | i2sodd | I2S_InitStruct->MCLKOutput); in LL_I2S_Init()
Dstm32f1xx_hal_i2s.c273 uint32_t i2sodd; in HAL_I2S_Init() local
390 i2sodd = (uint32_t)(tmp & (uint32_t)1U); in HAL_I2S_Init()
393 i2sdiv = (uint32_t)((tmp - i2sodd) / 2U); in HAL_I2S_Init()
396 i2sodd = (uint32_t)(i2sodd << 8U); in HAL_I2S_Init()
402 i2sodd = 0U; in HAL_I2S_Init()
416 …hi2s->Instance->I2SPR = (uint32_t)((uint32_t)i2sdiv | (uint32_t)(i2sodd | (uint32_t)hi2s->Init.MCL… in HAL_I2S_Init()
/hal_stm32-latest/stm32cube/stm32l1xx/drivers/src/
Dstm32l1xx_ll_spi.c369 uint32_t i2sodd = 0U; in LL_I2S_Init() local
444 i2sodd = (tmp & (uint16_t)0x0001U); in LL_I2S_Init()
447 i2sdiv = ((tmp - i2sodd) / 2U); in LL_I2S_Init()
450 i2sodd = (i2sodd << 8U); in LL_I2S_Init()
458 i2sodd = 0U; in LL_I2S_Init()
462 WRITE_REG(SPIx->I2SPR, i2sdiv | i2sodd | I2S_InitStruct->MCLKOutput); in LL_I2S_Init()
Dstm32l1xx_hal_i2s.c264 uint32_t i2sodd; in HAL_I2S_Init() local
368 i2sodd = (uint32_t)(tmp & (uint32_t)1U); in HAL_I2S_Init()
371 i2sdiv = (uint32_t)((tmp - i2sodd) / 2U); in HAL_I2S_Init()
374 i2sodd = (uint32_t)(i2sodd << 8U); in HAL_I2S_Init()
380 i2sodd = 0U; in HAL_I2S_Init()
394 …hi2s->Instance->I2SPR = (uint32_t)((uint32_t)i2sdiv | (uint32_t)(i2sodd | (uint32_t)hi2s->Init.MCL… in HAL_I2S_Init()
/hal_stm32-latest/stm32cube/stm32wlxx/drivers/src/
Dstm32wlxx_ll_spi.c373 uint32_t i2sodd = 0U; in LL_I2S_Init() local
448 i2sodd = (tmp & (uint16_t)0x0001U); in LL_I2S_Init()
451 i2sdiv = ((tmp - i2sodd) / 2U); in LL_I2S_Init()
454 i2sodd = (i2sodd << 8U); in LL_I2S_Init()
462 i2sodd = 0U; in LL_I2S_Init()
466 WRITE_REG(SPIx->I2SPR, i2sdiv | i2sodd | I2S_InitStruct->MCLKOutput); in LL_I2S_Init()
Dstm32wlxx_hal_i2s.c265 uint32_t i2sodd; in HAL_I2S_Init() local
369 i2sodd = (uint32_t)(tmp & (uint32_t)1U); in HAL_I2S_Init()
372 i2sdiv = (uint32_t)((tmp - i2sodd) / 2U); in HAL_I2S_Init()
375 i2sodd = (uint32_t)(i2sodd << 8U); in HAL_I2S_Init()
381 i2sodd = 0U; in HAL_I2S_Init()
395 …hi2s->Instance->I2SPR = (uint32_t)((uint32_t)i2sdiv | (uint32_t)(i2sodd | (uint32_t)hi2s->Init.MCL… in HAL_I2S_Init()
/hal_stm32-latest/stm32cube/stm32c0xx/drivers/src/
Dstm32c0xx_ll_spi.c376 uint32_t i2sodd = 0U; in LL_I2S_Init() local
451 i2sodd = (tmp & (uint16_t)0x0001U); in LL_I2S_Init()
454 i2sdiv = ((tmp - i2sodd) / 2U); in LL_I2S_Init()
457 i2sodd = (i2sodd << 8U); in LL_I2S_Init()
465 i2sodd = 0U; in LL_I2S_Init()
469 WRITE_REG(SPIx->I2SPR, i2sdiv | i2sodd | I2S_InitStruct->MCLKOutput); in LL_I2S_Init()
Dstm32c0xx_hal_i2s.c266 uint32_t i2sodd; in HAL_I2S_Init() local
370 i2sodd = (uint32_t)(tmp & (uint32_t)1U); in HAL_I2S_Init()
373 i2sdiv = (uint32_t)((tmp - i2sodd) / 2U); in HAL_I2S_Init()
376 i2sodd = (uint32_t)(i2sodd << 8U); in HAL_I2S_Init()
382 i2sodd = 0U; in HAL_I2S_Init()
396 …hi2s->Instance->I2SPR = (uint32_t)((uint32_t)i2sdiv | (uint32_t)(i2sodd | (uint32_t)hi2s->Init.MCL… in HAL_I2S_Init()
/hal_stm32-latest/stm32cube/stm32f0xx/drivers/src/
Dstm32f0xx_ll_spi.c376 uint32_t i2sodd = 0U; in LL_I2S_Init() local
451 i2sodd = (tmp & (uint16_t)0x0001U); in LL_I2S_Init()
454 i2sdiv = ((tmp - i2sodd) / 2U); in LL_I2S_Init()
457 i2sodd = (i2sodd << 8U); in LL_I2S_Init()
465 i2sodd = 0U; in LL_I2S_Init()
469 WRITE_REG(SPIx->I2SPR, i2sdiv | i2sodd | I2S_InitStruct->MCLKOutput); in LL_I2S_Init()
Dstm32f0xx_hal_i2s.c264 uint32_t i2sodd; in HAL_I2S_Init() local
368 i2sodd = (uint32_t)(tmp & (uint32_t)1U); in HAL_I2S_Init()
371 i2sdiv = (uint32_t)((tmp - i2sodd) / 2U); in HAL_I2S_Init()
374 i2sodd = (uint32_t)(i2sodd << 8U); in HAL_I2S_Init()
380 i2sodd = 0U; in HAL_I2S_Init()
394 …hi2s->Instance->I2SPR = (uint32_t)((uint32_t)i2sdiv | (uint32_t)(i2sodd | (uint32_t)hi2s->Init.MCL… in HAL_I2S_Init()
/hal_stm32-latest/stm32cube/stm32g4xx/drivers/src/
Dstm32g4xx_ll_spi.c401 uint32_t i2sodd = 0U; in LL_I2S_Init() local
474 i2sodd = (tmp & (uint16_t)0x0001U); in LL_I2S_Init()
477 i2sdiv = ((tmp - i2sodd) / 2U); in LL_I2S_Init()
480 i2sodd = (i2sodd << 8U); in LL_I2S_Init()
488 i2sodd = 0U; in LL_I2S_Init()
492 WRITE_REG(SPIx->I2SPR, i2sdiv | i2sodd | I2S_InitStruct->MCLKOutput); in LL_I2S_Init()
Dstm32g4xx_hal_i2s.c267 uint32_t i2sodd; in HAL_I2S_Init() local
371 i2sodd = (uint32_t)(tmp & (uint32_t)1U); in HAL_I2S_Init()
374 i2sdiv = (uint32_t)((tmp - i2sodd) / 2U); in HAL_I2S_Init()
377 i2sodd = (uint32_t)(i2sodd << 8U); in HAL_I2S_Init()
383 i2sodd = 0U; in HAL_I2S_Init()
397 …hi2s->Instance->I2SPR = (uint32_t)((uint32_t)i2sdiv | (uint32_t)(i2sodd | (uint32_t)hi2s->Init.MCL… in HAL_I2S_Init()
/hal_stm32-latest/stm32cube/stm32g0xx/drivers/src/
Dstm32g0xx_ll_spi.c388 uint32_t i2sodd = 0U; in LL_I2S_Init() local
463 i2sodd = (tmp & (uint16_t)0x0001U); in LL_I2S_Init()
466 i2sdiv = ((tmp - i2sodd) / 2U); in LL_I2S_Init()
469 i2sodd = (i2sodd << 8U); in LL_I2S_Init()
477 i2sodd = 0U; in LL_I2S_Init()
481 WRITE_REG(SPIx->I2SPR, i2sdiv | i2sodd | I2S_InitStruct->MCLKOutput); in LL_I2S_Init()
Dstm32g0xx_hal_i2s.c267 uint32_t i2sodd; in HAL_I2S_Init() local
383 i2sodd = (uint32_t)(tmp & (uint32_t)1U); in HAL_I2S_Init()
386 i2sdiv = (uint32_t)((tmp - i2sodd) / 2U); in HAL_I2S_Init()
389 i2sodd = (uint32_t)(i2sodd << 8U); in HAL_I2S_Init()
395 i2sodd = 0U; in HAL_I2S_Init()
409 …hi2s->Instance->I2SPR = (uint32_t)((uint32_t)i2sdiv | (uint32_t)(i2sodd | (uint32_t)hi2s->Init.MCL… in HAL_I2S_Init()
/hal_stm32-latest/stm32cube/stm32f7xx/drivers/src/
Dstm32f7xx_ll_spi.c421 uint32_t i2sodd = 0U; in LL_I2S_Init() local
494 i2sodd = (tmp & (uint16_t)0x0001U); in LL_I2S_Init()
497 i2sdiv = ((tmp - i2sodd) / 2U); in LL_I2S_Init()
500 i2sodd = (i2sodd << 8U); in LL_I2S_Init()
508 i2sodd = 0U; in LL_I2S_Init()
512 WRITE_REG(SPIx->I2SPR, i2sdiv | i2sodd | I2S_InitStruct->MCLKOutput); in LL_I2S_Init()
Dstm32f7xx_hal_i2s.c265 uint32_t i2sodd; in HAL_I2S_Init() local
380 i2sodd = (uint32_t)(tmp & (uint32_t)1U); in HAL_I2S_Init()
383 i2sdiv = (uint32_t)((tmp - i2sodd) / 2U); in HAL_I2S_Init()
386 i2sodd = (uint32_t)(i2sodd << 8U); in HAL_I2S_Init()
392 i2sodd = 0U; in HAL_I2S_Init()
406 …hi2s->Instance->I2SPR = (uint32_t)((uint32_t)i2sdiv | (uint32_t)(i2sodd | (uint32_t)hi2s->Init.MCL… in HAL_I2S_Init()
/hal_stm32-latest/stm32cube/stm32f4xx/drivers/src/
Dstm32f4xx_ll_spi.c402 uint32_t i2sodd = 0U; in LL_I2S_Init() local
475 i2sodd = (tmp & (uint16_t)0x0001U); in LL_I2S_Init()
478 i2sdiv = ((tmp - i2sodd) / 2U); in LL_I2S_Init()
481 i2sodd = (i2sodd << 8U); in LL_I2S_Init()
489 i2sodd = 0U; in LL_I2S_Init()
493 WRITE_REG(SPIx->I2SPR, i2sdiv | i2sodd | I2S_InitStruct->MCLKOutput); in LL_I2S_Init()
/hal_stm32-latest/stm32cube/stm32wb0x/drivers/src/
Dstm32wb0x_ll_spi.c385 uint32_t i2sodd = 0U; in LL_I2S_Init() local
492 i2sodd = (tmp & (uint16_t)0x0001U); in LL_I2S_Init()
495 i2sdiv = ((tmp - i2sodd) / 2U); in LL_I2S_Init()
498 i2sodd = (i2sodd << 8U); in LL_I2S_Init()
506 i2sodd = 0U; in LL_I2S_Init()
510 WRITE_REG(SPIx->I2SPR, i2sdiv | i2sodd | I2S_InitStruct->MCLKOutput); in LL_I2S_Init()
Dstm32wb0x_hal_i2s.c263 uint32_t i2sodd; in HAL_I2S_Init() local
381 i2sodd = (uint32_t)(tmp & (uint32_t)1U); in HAL_I2S_Init()
384 i2sdiv = (uint32_t)((tmp - i2sodd) / 2U); in HAL_I2S_Init()
387 i2sodd = (uint32_t)(i2sodd << 8U); in HAL_I2S_Init()
393 i2sodd = 0U; in HAL_I2S_Init()
407 …hi2s->Instance->I2SPR = (uint32_t)((uint32_t)i2sdiv | (uint32_t)(i2sodd | (uint32_t)hi2s->Init.MCL… in HAL_I2S_Init()
/hal_stm32-latest/stm32cube/stm32f3xx/drivers/src/
Dstm32f3xx_ll_spi.c400 uint32_t i2sodd = 0U; in LL_I2S_Init() local
490 i2sodd = (tmp & (uint16_t)0x0001U); in LL_I2S_Init()
493 i2sdiv = ((tmp - i2sodd) / 2U); in LL_I2S_Init()
496 i2sodd = (i2sodd << 8U); in LL_I2S_Init()
504 i2sodd = 0U; in LL_I2S_Init()
508 WRITE_REG(SPIx->I2SPR, i2sdiv | i2sodd | I2S_InitStruct->MCLKOutput); in LL_I2S_Init()
/hal_stm32-latest/stm32cube/stm32h7rsxx/drivers/src/
Dstm32h7rsxx_ll_spi.c572 uint32_t i2sodd = 0UL; in LL_I2S_Init() local
668 i2sodd = tmp & 0x1UL; in LL_I2S_Init()
675 if (((i2sodd == 1UL) && (i2sdiv == 1UL)) || (i2sdiv > 0xFFUL)) in LL_I2S_Init()
679 i2sodd = 0UL; in LL_I2S_Init()
685 (i2sodd << SPI_I2SCFGR_ODD_Pos) | (i2sdiv << SPI_I2SCFGR_I2SDIV_Pos)); in LL_I2S_Init()

12