Lines Matching refs:tmpval
422 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()
458 uint32_t tmpval = 0; in LL_ADC_SequenceInit() local
478 tmpval |= (pSequence_InitStruct->ChannelForSeq0) << ADC_SEQ_1_SEQ0_Pos; in LL_ADC_SequenceInit()
479 tmpval |= (pSequence_InitStruct->ChannelForSeq1) << ADC_SEQ_1_SEQ1_Pos; in LL_ADC_SequenceInit()
480 tmpval |= (pSequence_InitStruct->ChannelForSeq2) << ADC_SEQ_1_SEQ2_Pos; in LL_ADC_SequenceInit()
481 tmpval |= (pSequence_InitStruct->ChannelForSeq3) << ADC_SEQ_1_SEQ3_Pos; in LL_ADC_SequenceInit()
482 tmpval |= (pSequence_InitStruct->ChannelForSeq4) << ADC_SEQ_1_SEQ4_Pos; in LL_ADC_SequenceInit()
483 tmpval |= (pSequence_InitStruct->ChannelForSeq5) << ADC_SEQ_1_SEQ5_Pos; in LL_ADC_SequenceInit()
484 tmpval |= (pSequence_InitStruct->ChannelForSeq6) << ADC_SEQ_1_SEQ6_Pos; in LL_ADC_SequenceInit()
485 tmpval |= (pSequence_InitStruct->ChannelForSeq7) << ADC_SEQ_1_SEQ7_Pos; in LL_ADC_SequenceInit()
487 MODIFY_REG(ADCx->SEQ_1, ADC_SEQ_1_SEQ_ALL, tmpval); in LL_ADC_SequenceInit()
489 tmpval = 0; in LL_ADC_SequenceInit()
491 tmpval |= (pSequence_InitStruct->ChannelForSeq8) << ADC_SEQ_2_SEQ8_Pos; in LL_ADC_SequenceInit()
492 tmpval |= (pSequence_InitStruct->ChannelForSeq9) << ADC_SEQ_2_SEQ9_Pos; in LL_ADC_SequenceInit()
493 tmpval |= (pSequence_InitStruct->ChannelForSeq10) << ADC_SEQ_2_SEQ10_Pos; in LL_ADC_SequenceInit()
494 tmpval |= (pSequence_InitStruct->ChannelForSeq11) << ADC_SEQ_2_SEQ11_Pos; in LL_ADC_SequenceInit()
495 tmpval |= (pSequence_InitStruct->ChannelForSeq12) << ADC_SEQ_2_SEQ12_Pos; in LL_ADC_SequenceInit()
496 tmpval |= (pSequence_InitStruct->ChannelForSeq13) << ADC_SEQ_2_SEQ13_Pos; in LL_ADC_SequenceInit()
497 tmpval |= (pSequence_InitStruct->ChannelForSeq14) << ADC_SEQ_2_SEQ14_Pos; in LL_ADC_SequenceInit()
498 tmpval |= (pSequence_InitStruct->ChannelForSeq15) << ADC_SEQ_2_SEQ15_Pos; in LL_ADC_SequenceInit()
500 MODIFY_REG(ADCx->SEQ_2, ADC_SEQ_2_SEQ_ALL, tmpval); in LL_ADC_SequenceInit()