Home
last modified time | relevance | path

Searched refs:tmpval (Results 1 – 13 of 13) sorted by relevance

/hal_stm32-latest/stm32cube/stm32wb0x/drivers/src/
Dstm32wb0x_ll_adc.c422 uint32_t tmpval = 0; in LL_ADC_VoltageRangeInit() local
434 tmpval |= (pVoltRange_InitStruct->InputVinm0_Vinp0Vinm0); in LL_ADC_VoltageRangeInit()
435 tmpval |= (pVoltRange_InitStruct->InputVinm1_Vinp1Vinm1) << ADC_SWITCH_SE_VIN_1_Pos; in LL_ADC_VoltageRangeInit()
436 tmpval |= (pVoltRange_InitStruct->InputVinm2_Vinp2Vinm2) << ADC_SWITCH_SE_VIN_2_Pos; in LL_ADC_VoltageRangeInit()
437 tmpval |= (pVoltRange_InitStruct->InputVinm3_Vinp3Vinm3) << ADC_SWITCH_SE_VIN_3_Pos; in LL_ADC_VoltageRangeInit()
438 tmpval |= (pVoltRange_InitStruct->InputVinp0) << ADC_SWITCH_SE_VIN_4_Pos; in LL_ADC_VoltageRangeInit()
439 tmpval |= (pVoltRange_InitStruct->InputVinp1) << ADC_SWITCH_SE_VIN_5_Pos; in LL_ADC_VoltageRangeInit()
440 tmpval |= (pVoltRange_InitStruct->InputVinp2) << ADC_SWITCH_SE_VIN_6_Pos; in LL_ADC_VoltageRangeInit()
441 tmpval |= (pVoltRange_InitStruct->InputVinp3) << ADC_SWITCH_SE_VIN_7_Pos; in LL_ADC_VoltageRangeInit()
443 MODIFY_REG(ADCx->SWITCH, ADC_SWITCH_SE_VIN_ALL, tmpval); in LL_ADC_VoltageRangeInit()
[all …]
/hal_stm32-latest/stm32cube/stm32l4xx/drivers/src/
Dstm32l4xx_hal_sai.c531 uint32_t tmpval; in HAL_SAI_Init() local
587 tmpval = (freq * 10U) / (hsai->Init.AudioFrequency * tmpframelength); in HAL_SAI_Init()
595 tmpval = (freq * 10U) / (hsai->Init.AudioFrequency * tmposr * 256U); in HAL_SAI_Init()
597 hsai->Init.Mckdiv = tmpval / 10U; in HAL_SAI_Init()
600 if ((tmpval % 10U) > 8U) in HAL_SAI_Init()
610 tmpval = (freq * 10U) / (hsai->Init.AudioFrequency * 2U * 256U); in HAL_SAI_Init()
611 hsai->Init.Mckdiv = tmpval / 10U; in HAL_SAI_Init()
614 if ((tmpval % 10U) > 8U) in HAL_SAI_Init()
/hal_stm32-latest/stm32cube/stm32wbxx/drivers/src/
Dstm32wbxx_hal_sai.c485 uint32_t tmpval; in HAL_SAI_Init() local
517 tmpval = (freq * 10U) / (hsai->Init.AudioFrequency * tmpframelength); in HAL_SAI_Init()
525 tmpval = (freq * 10U) / (hsai->Init.AudioFrequency * tmposr * 256U); in HAL_SAI_Init()
527 hsai->Init.Mckdiv = tmpval / 10U; in HAL_SAI_Init()
530 if ((tmpval % 10U) > 8U) in HAL_SAI_Init()
/hal_stm32-latest/stm32cube/stm32l5xx/drivers/src/
Dstm32l5xx_hal_sai.c512 uint32_t tmpval; in HAL_SAI_Init() local
551 tmpval = (freq * 10U) / (hsai->Init.AudioFrequency * tmpframelength); in HAL_SAI_Init()
559 tmpval = (freq * 10U) / (hsai->Init.AudioFrequency * tmposr * 256U); in HAL_SAI_Init()
561 hsai->Init.Mckdiv = tmpval / 10U; in HAL_SAI_Init()
564 if ((tmpval % 10U) > 8U) in HAL_SAI_Init()
/hal_stm32-latest/stm32cube/stm32u5xx/drivers/src/
Dstm32u5xx_hal_sai.c524 uint32_t tmpval; in HAL_SAI_Init() local
567 tmpval = (freq * 10U) / (hsai->Init.AudioFrequency * tmpframelength); in HAL_SAI_Init()
575 tmpval = (freq * 10U) / (hsai->Init.AudioFrequency * tmposr * 256U); in HAL_SAI_Init()
577 hsai->Init.Mckdiv = tmpval / 10U; in HAL_SAI_Init()
580 if ((tmpval % 10U) > 8U) in HAL_SAI_Init()
/hal_stm32-latest/stm32cube/stm32n6xx/drivers/src/
Dstm32n6xx_hal_sai.c514 uint32_t tmpval; in HAL_SAI_Init() local
553 tmpval = (freq * 10U) / (hsai->Init.AudioFrequency * tmpframelength); in HAL_SAI_Init()
561 tmpval = (freq * 10U) / (hsai->Init.AudioFrequency * tmposr * 256U); in HAL_SAI_Init()
563 hsai->Init.Mckdiv = tmpval / 10U; in HAL_SAI_Init()
566 if ((tmpval % 10U) > 8U) in HAL_SAI_Init()
/hal_stm32-latest/stm32cube/stm32h5xx/drivers/src/
Dstm32h5xx_hal_sai.c516 uint32_t tmpval; in HAL_SAI_Init() local
555 tmpval = (freq * 10U) / (hsai->Init.AudioFrequency * tmpframelength); in HAL_SAI_Init()
563 tmpval = (freq * 10U) / (hsai->Init.AudioFrequency * tmposr * 256U); in HAL_SAI_Init()
565 hsai->Init.Mckdiv = tmpval / 10U; in HAL_SAI_Init()
568 if ((tmpval % 10U) > 8U) in HAL_SAI_Init()
/hal_stm32-latest/stm32cube/stm32mp1xx/drivers/src/
Dstm32mp1xx_hal_sai.c555 uint32_t tmpval; in HAL_SAI_Init() local
606 tmpval = (freq * 10U) / (hsai->Init.AudioFrequency * tmpframelength); in HAL_SAI_Init()
614 tmpval = (freq * 10U) / (hsai->Init.AudioFrequency * tmposr * 256U); in HAL_SAI_Init()
616 hsai->Init.Mckdiv = tmpval / 10U; in HAL_SAI_Init()
619 if ((tmpval % 10U) > 8U) in HAL_SAI_Init()
/hal_stm32-latest/stm32cube/stm32wbaxx/drivers/src/
Dstm32wbaxx_hal_sai.c485 uint32_t tmpval; in HAL_SAI_Init() local
517 tmpval = (freq * 10U) / (hsai->Init.AudioFrequency * tmpframelength); in HAL_SAI_Init()
525 tmpval = (freq * 10U) / (hsai->Init.AudioFrequency * tmposr * 256U); in HAL_SAI_Init()
527 hsai->Init.Mckdiv = tmpval / 10U; in HAL_SAI_Init()
530 if ((tmpval % 10U) > 8U) in HAL_SAI_Init()
/hal_stm32-latest/stm32cube/stm32h7rsxx/drivers/src/
Dstm32h7rsxx_hal_sai.c514 uint32_t tmpval; in HAL_SAI_Init() local
553 tmpval = (freq * 10U) / (hsai->Init.AudioFrequency * tmpframelength); in HAL_SAI_Init()
561 tmpval = (freq * 10U) / (hsai->Init.AudioFrequency * tmposr * 256U); in HAL_SAI_Init()
563 hsai->Init.Mckdiv = tmpval / 10U; in HAL_SAI_Init()
566 if ((tmpval % 10U) > 8U) in HAL_SAI_Init()
/hal_stm32-latest/stm32cube/stm32g4xx/drivers/src/
Dstm32g4xx_hal_sai.c481 uint32_t tmpval; in HAL_SAI_Init() local
516 tmpval = (freq * 10U) / (hsai->Init.AudioFrequency * tmpframelength); in HAL_SAI_Init()
524 tmpval = (freq * 10U) / (hsai->Init.AudioFrequency * tmposr * 256U); in HAL_SAI_Init()
526 hsai->Init.Mckdiv = tmpval / 10U; in HAL_SAI_Init()
529 if ((tmpval % 10U) > 8U) in HAL_SAI_Init()
/hal_stm32-latest/stm32cube/stm32h7xx/drivers/src/
Dstm32h7xx_hal_sai.c569 uint32_t tmpval; in HAL_SAI_Init() local
639 tmpval = (freq * 10U) / (hsai->Init.AudioFrequency * tmpframelength); in HAL_SAI_Init()
647 tmpval = (freq * 10U) / (hsai->Init.AudioFrequency * tmposr * 256U); in HAL_SAI_Init()
649 hsai->Init.Mckdiv = tmpval / 10U; in HAL_SAI_Init()
652 if ((tmpval % 10U) > 8U) in HAL_SAI_Init()
/hal_stm32-latest/stm32cube/stm32f7xx/drivers/src/
Dstm32f7xx_hal_sai.c492 uint32_t tmpval; in HAL_SAI_Init() local
508 tmpval = (freq * 10) / (hsai->Init.AudioFrequency * 2 * 256); in HAL_SAI_Init()
509 hsai->Init.Mckdiv = tmpval / 10; in HAL_SAI_Init()
512 if ((tmpval % 10) > 8) in HAL_SAI_Init()