Home
last modified time | relevance | path

Searched refs:tmpreg2 (Results 1 – 23 of 23) sorted by relevance

/hal_stm32-3.7.0/stm32cube/stm32g4xx/drivers/src/
Dstm32g4xx_hal_dac.c1149 uint32_t tmpreg2; in HAL_DAC_ConfigChannel() local
1259 tmpreg2 = sConfig->DAC_TrimmingValue; in HAL_DAC_ConfigChannel()
1261 tmpreg1 |= tmpreg2 << (Channel & 0x10UL); in HAL_DAC_ConfigChannel()
1294 tmpreg2 = (sConfig->DAC_SampleAndHold | sConfig->DAC_OutputBuffer | connectOnChip); in HAL_DAC_ConfigChannel()
1298 tmpreg2 |= (sConfig->DAC_DMADoubleDataMode == ENABLE) ? DAC_MCR_DMADOUBLE1 : 0UL; in HAL_DAC_ConfigChannel()
1302 tmpreg2 |= (sConfig->DAC_SignedFormat == ENABLE) ? DAC_MCR_SINFORMAT1 : 0UL; in HAL_DAC_ConfigChannel()
1327 tmpreg1 |= tmpreg2 << (Channel & 0x10UL); in HAL_DAC_ConfigChannel()
1340 tmpreg2 = sConfig->DAC_Trigger; in HAL_DAC_ConfigChannel()
1342 tmpreg1 |= tmpreg2 << (Channel & 0x10UL); in HAL_DAC_ConfigChannel()
1349tmpreg2 = ((sConfig->DAC_Trigger & DAC_CR_TSEL1) >> DAC_CR_TSEL1_Pos) << DAC_STMODR_STRSTTRIGSEL1_… in HAL_DAC_ConfigChannel()
[all …]
/hal_stm32-3.7.0/stm32cube/stm32wbaxx/drivers/src/
Dstm32wbaxx_hal_rcc_ex.c101 uint32_t tmpreg2; in HAL_RCCEx_PeriphCLKConfig() local
311 tmpreg2 = __HAL_RCC_GET_RTC_SOURCE(); in HAL_RCCEx_PeriphCLKConfig()
314 if (tmpreg2 != PeriphClkInit->RTCClockSelection) in HAL_RCCEx_PeriphCLKConfig()
341 if (tmpreg2 != RCC_RTCCLKSOURCE_DISABLE) in HAL_RCCEx_PeriphCLKConfig()
344 tmpreg2 = RCC->BDCR2; in HAL_RCCEx_PeriphCLKConfig()
351 RCC->BDCR2 = tmpreg2; in HAL_RCCEx_PeriphCLKConfig()
358 tmpreg2 = (RCC_BDCR1_LSEON | RCC_BDCR1_LSI1ON); in HAL_RCCEx_PeriphCLKConfig()
360 tmpreg2 |= RCC_BDCR1_LSI2ON; in HAL_RCCEx_PeriphCLKConfig()
364 tmpreg2 &= tmpreg1; in HAL_RCCEx_PeriphCLKConfig()
366 if (tmpreg2 != 0x00u) in HAL_RCCEx_PeriphCLKConfig()
[all …]
Dstm32wbaxx_hal_rcc.c332 uint32_t tmpreg2; in HAL_RCC_OscConfig() local
809 tmpreg2 = RCC->PLL1CFGR; in HAL_RCC_OscConfig()
810tmpreg2 &= ~(RCC_PLL1CFGR_PLL1SRC | RCC_PLL1CFGR_PLL1RGE | RCC_PLL1CFGR_PLL1FRACEN | RCC_PLL1CFGR_… in HAL_RCC_OscConfig()
811 tmpreg2 |= (RCC_OscInitStruct->PLL1.PLLSource | pllsrc | in HAL_RCC_OscConfig()
813 RCC->PLL1CFGR = tmpreg2; in HAL_RCC_OscConfig()
816 tmpreg2 = ((RCC_OscInitStruct->PLL1.PLLN - 1u) | in HAL_RCC_OscConfig()
820 RCC->PLL1DIVR = tmpreg2; in HAL_RCC_OscConfig()
881 tmpreg2 = RCC->PLL1DIVR; in HAL_RCC_OscConfig()
885 …(((tmpreg2 & RCC_PLL1DIVR_PLL1N) >> RCC_PLL1DIVR_PLL1N_Pos) != (RCC_OscInitStruct->PLL1.PLLN - 1u)… in HAL_RCC_OscConfig()
886 …(((tmpreg2 & RCC_PLL1DIVR_PLL1P) >> RCC_PLL1DIVR_PLL1P_Pos) != (RCC_OscInitStruct->PLL1.PLLP - 1u)… in HAL_RCC_OscConfig()
[all …]
/hal_stm32-3.7.0/stm32cube/stm32u5xx/drivers/src/
Dstm32u5xx_hal_dac.c1237 uint32_t tmpreg2; in HAL_DAC_ConfigChannel() local
1350 tmpreg2 = sConfig->DAC_TrimmingValue; in HAL_DAC_ConfigChannel()
1352 tmpreg1 |= tmpreg2 << (Channel & 0x10UL); in HAL_DAC_ConfigChannel()
1385 tmpreg2 = (sConfig->DAC_SampleAndHold | sConfig->DAC_OutputBuffer | connectOnChip); in HAL_DAC_ConfigChannel()
1389 tmpreg2 |= (sConfig->DAC_DMADoubleDataMode == ENABLE) ? DAC_MCR_DMADOUBLE1 : 0UL; in HAL_DAC_ConfigChannel()
1393 tmpreg2 |= (sConfig->DAC_SignedFormat == ENABLE) ? DAC_MCR_SINFORMAT1 : 0UL; in HAL_DAC_ConfigChannel()
1418 tmpreg1 |= tmpreg2 << (Channel & 0x10UL); in HAL_DAC_ConfigChannel()
1431 tmpreg2 = sConfig->DAC_Trigger; in HAL_DAC_ConfigChannel()
1433 tmpreg1 |= tmpreg2 << (Channel & 0x10UL); in HAL_DAC_ConfigChannel()
Dstm32u5xx_hal_dma_ex.c3345 uint32_t tmpreg2; in HAL_DMAEx_ConfigRepeatBlock() local
3372 tmpreg2 = (uint32_t)(- pConfigRepeatBlock->DestAddrOffset); in HAL_DMAEx_ConfigRepeatBlock()
3373 tmpreg2 = tmpreg2 << DMA_CTR3_DAO_Pos; in HAL_DMAEx_ConfigRepeatBlock()
3378 tmpreg2 = ((uint32_t)pConfigRepeatBlock->DestAddrOffset << DMA_CTR3_DAO_Pos); in HAL_DMAEx_ConfigRepeatBlock()
3386 tmpreg2 |= (uint32_t)(- pConfigRepeatBlock->SrcAddrOffset); in HAL_DMAEx_ConfigRepeatBlock()
3391 tmpreg2 |= (uint32_t)pConfigRepeatBlock->SrcAddrOffset; in HAL_DMAEx_ConfigRepeatBlock()
3395 WRITE_REG(hdma->Instance->CTR3, tmpreg2); in HAL_DMAEx_ConfigRepeatBlock()
3402 tmpreg2 = (uint32_t)(- pConfigRepeatBlock->BlkDestAddrOffset); in HAL_DMAEx_ConfigRepeatBlock()
3403 tmpreg2 = tmpreg2 << DMA_CBR2_BRDAO_Pos; in HAL_DMAEx_ConfigRepeatBlock()
3408 tmpreg2 = ((uint32_t)pConfigRepeatBlock->BlkDestAddrOffset << DMA_CBR2_BRDAO_Pos); in HAL_DMAEx_ConfigRepeatBlock()
[all …]
/hal_stm32-3.7.0/stm32cube/stm32h5xx/drivers/src/
Dstm32h5xx_hal_dac.c1225 uint32_t tmpreg2; in HAL_DAC_ConfigChannel() local
1334 tmpreg2 = sConfig->DAC_TrimmingValue; in HAL_DAC_ConfigChannel()
1336 tmpreg1 |= tmpreg2 << (Channel & 0x10UL); in HAL_DAC_ConfigChannel()
1393 tmpreg2 = (sConfig->DAC_SampleAndHold | sConfig->DAC_OutputBuffer | connectOnChip); in HAL_DAC_ConfigChannel()
1397 tmpreg2 |= (sConfig->DAC_DMADoubleDataMode == ENABLE) ? DAC_MCR_DMADOUBLE1 : 0UL; in HAL_DAC_ConfigChannel()
1401 tmpreg2 |= (sConfig->DAC_SignedFormat == ENABLE) ? DAC_MCR_SINFORMAT1 : 0UL; in HAL_DAC_ConfigChannel()
1426 tmpreg1 |= tmpreg2 << (Channel & 0x10UL); in HAL_DAC_ConfigChannel()
1439 tmpreg2 = sConfig->DAC_Trigger; in HAL_DAC_ConfigChannel()
1441 tmpreg1 |= tmpreg2 << (Channel & 0x10UL); in HAL_DAC_ConfigChannel()
Dstm32h5xx_hal_dma_ex.c3344 uint32_t tmpreg2; in HAL_DMAEx_ConfigRepeatBlock() local
3371 tmpreg2 = (uint32_t)(- pConfigRepeatBlock->DestAddrOffset); in HAL_DMAEx_ConfigRepeatBlock()
3372 tmpreg2 = tmpreg2 << DMA_CTR3_DAO_Pos; in HAL_DMAEx_ConfigRepeatBlock()
3377 tmpreg2 = ((uint32_t)pConfigRepeatBlock->DestAddrOffset << DMA_CTR3_DAO_Pos); in HAL_DMAEx_ConfigRepeatBlock()
3385 tmpreg2 |= (uint32_t)(- pConfigRepeatBlock->SrcAddrOffset); in HAL_DMAEx_ConfigRepeatBlock()
3390 tmpreg2 |= (uint32_t)pConfigRepeatBlock->SrcAddrOffset; in HAL_DMAEx_ConfigRepeatBlock()
3394 WRITE_REG(hdma->Instance->CTR3, tmpreg2); in HAL_DMAEx_ConfigRepeatBlock()
3401 tmpreg2 = (uint32_t)(- pConfigRepeatBlock->BlkDestAddrOffset); in HAL_DMAEx_ConfigRepeatBlock()
3402 tmpreg2 = tmpreg2 << DMA_CBR2_BRDAO_Pos; in HAL_DMAEx_ConfigRepeatBlock()
3407 tmpreg2 = ((uint32_t)pConfigRepeatBlock->BlkDestAddrOffset << DMA_CBR2_BRDAO_Pos); in HAL_DMAEx_ConfigRepeatBlock()
[all …]
/hal_stm32-3.7.0/stm32cube/stm32wlxx/drivers/src/
Dstm32wlxx_hal_dac.c864 uint32_t tmpreg2; in HAL_DAC_ConfigChannel() local
934 tmpreg2 = sConfig->DAC_TrimmingValue; in HAL_DAC_ConfigChannel()
936 tmpreg1 |= tmpreg2 << (Channel & 0x10UL); in HAL_DAC_ConfigChannel()
948tmpreg2 = (sConfig->DAC_SampleAndHold | sConfig->DAC_OutputBuffer | sConfig->DAC_ConnectOnChipPeri… in HAL_DAC_ConfigChannel()
950 tmpreg1 |= tmpreg2 << (Channel & 0x10UL); in HAL_DAC_ConfigChannel()
963 tmpreg2 = sConfig->DAC_Trigger; in HAL_DAC_ConfigChannel()
965 tmpreg1 |= tmpreg2 << (Channel & 0x10UL); in HAL_DAC_ConfigChannel()
/hal_stm32-3.7.0/stm32cube/stm32h7xx/drivers/src/
Dstm32h7xx_hal_dac.c1042 uint32_t tmpreg2; in HAL_DAC_ConfigChannel() local
1147 tmpreg2 = sConfig->DAC_TrimmingValue; in HAL_DAC_ConfigChannel()
1149 tmpreg1 |= tmpreg2 << (Channel & 0x10UL); in HAL_DAC_ConfigChannel()
1182 tmpreg2 = (sConfig->DAC_SampleAndHold | sConfig->DAC_OutputBuffer | connectOnChip); in HAL_DAC_ConfigChannel()
1184 tmpreg1 |= tmpreg2 << (Channel & 0x10UL); in HAL_DAC_ConfigChannel()
1197 tmpreg2 = sConfig->DAC_Trigger; in HAL_DAC_ConfigChannel()
1199 tmpreg1 |= tmpreg2 << (Channel & 0x10UL); in HAL_DAC_ConfigChannel()
/hal_stm32-3.7.0/stm32cube/stm32mp1xx/drivers/src/
Dstm32mp1xx_hal_dac.c1036 uint32_t tmpreg1, tmpreg2; in HAL_DAC_ConfigChannel() local
1128 tmpreg2 = sConfig->DAC_TrimmingValue; in HAL_DAC_ConfigChannel()
1130 tmpreg1 |= tmpreg2 << Channel; in HAL_DAC_ConfigChannel()
1142tmpreg2 = (sConfig->DAC_SampleAndHold | sConfig->DAC_OutputBuffer | sConfig->DAC_ConnectOnChipPeri… in HAL_DAC_ConfigChannel()
1144 tmpreg1 |= tmpreg2 << Channel; in HAL_DAC_ConfigChannel()
1157 tmpreg2 = (sConfig->DAC_Trigger); in HAL_DAC_ConfigChannel()
1159 tmpreg1 |= tmpreg2 << Channel; in HAL_DAC_ConfigChannel()
/hal_stm32-3.7.0/stm32cube/stm32g0xx/drivers/src/
Dstm32g0xx_hal_dac.c1036 uint32_t tmpreg2; in HAL_DAC_ConfigChannel() local
1140 tmpreg2 = sConfig->DAC_TrimmingValue; in HAL_DAC_ConfigChannel()
1142 tmpreg1 |= tmpreg2 << (Channel & 0x10UL); in HAL_DAC_ConfigChannel()
1154tmpreg2 = (sConfig->DAC_SampleAndHold | sConfig->DAC_OutputBuffer | sConfig->DAC_ConnectOnChipPeri… in HAL_DAC_ConfigChannel()
1156 tmpreg1 |= tmpreg2 << (Channel & 0x10UL); in HAL_DAC_ConfigChannel()
1169 tmpreg2 = sConfig->DAC_Trigger; in HAL_DAC_ConfigChannel()
1171 tmpreg1 |= tmpreg2 << (Channel & 0x10UL); in HAL_DAC_ConfigChannel()
/hal_stm32-3.7.0/stm32cube/stm32l5xx/drivers/src/
Dstm32l5xx_hal_dac.c1054 uint32_t tmpreg2; in HAL_DAC_ConfigChannel() local
1160 tmpreg2 = sConfig->DAC_TrimmingValue; in HAL_DAC_ConfigChannel()
1162 tmpreg1 |= tmpreg2 << (Channel & 0x10UL); in HAL_DAC_ConfigChannel()
1174tmpreg2 = (sConfig->DAC_SampleAndHold | sConfig->DAC_OutputBuffer | sConfig->DAC_ConnectOnChipPeri… in HAL_DAC_ConfigChannel()
1176 tmpreg1 |= tmpreg2 << (Channel & 0x10UL); in HAL_DAC_ConfigChannel()
1189 tmpreg2 = sConfig->DAC_Trigger; in HAL_DAC_ConfigChannel()
1191 tmpreg1 |= tmpreg2 << (Channel & 0x10UL); in HAL_DAC_ConfigChannel()
/hal_stm32-3.7.0/stm32cube/stm32f0xx/drivers/src/
Dstm32f0xx_hal_dac_ex.c112 uint32_t tmpreg1 = 0U, tmpreg2 = 0U; in HAL_DAC_ConfigChannel() local
133 tmpreg2 = (sConfig->DAC_Trigger | sConfig->DAC_OutputBuffer); in HAL_DAC_ConfigChannel()
135 tmpreg1 |= tmpreg2 << Channel; in HAL_DAC_ConfigChannel()
166 uint32_t tmpreg1 = 0U, tmpreg2 = 0U; in HAL_DAC_ConfigChannel() local
187 tmpreg2 = (sConfig->DAC_Trigger | sConfig->DAC_OutputBuffer); in HAL_DAC_ConfigChannel()
189 tmpreg1 |= tmpreg2 << Channel; in HAL_DAC_ConfigChannel()
/hal_stm32-3.7.0/stm32cube/stm32l4xx/drivers/src/
Dstm32l4xx_hal_dac.c1204 uint32_t tmpreg2; in HAL_DAC_ConfigChannel() local
1310 tmpreg2 = sConfig->DAC_TrimmingValue; in HAL_DAC_ConfigChannel()
1312 tmpreg1 |= tmpreg2 << (Channel & 0x10UL); in HAL_DAC_ConfigChannel()
1324tmpreg2 = (sConfig->DAC_SampleAndHold | sConfig->DAC_OutputBuffer | sConfig->DAC_ConnectOnChipPeri… in HAL_DAC_ConfigChannel()
1326 tmpreg1 |= tmpreg2 << (Channel & 0x10UL); in HAL_DAC_ConfigChannel()
1339 tmpreg2 = sConfig->DAC_Trigger; in HAL_DAC_ConfigChannel()
1341 tmpreg1 |= tmpreg2 << (Channel & 0x10UL); in HAL_DAC_ConfigChannel()
/hal_stm32-3.7.0/stm32cube/stm32h7rsxx/drivers/src/
Dstm32h7rsxx_hal_dma_ex.c3324 uint32_t tmpreg2; in HAL_DMAEx_ConfigRepeatBlock() local
3351 tmpreg2 = (uint32_t)(- pConfigRepeatBlock->DestAddrOffset); in HAL_DMAEx_ConfigRepeatBlock()
3352 tmpreg2 = tmpreg2 << DMA_CTR3_DAO_Pos; in HAL_DMAEx_ConfigRepeatBlock()
3357 tmpreg2 = ((uint32_t)pConfigRepeatBlock->DestAddrOffset << DMA_CTR3_DAO_Pos); in HAL_DMAEx_ConfigRepeatBlock()
3365 tmpreg2 |= (uint32_t)(- pConfigRepeatBlock->SrcAddrOffset); in HAL_DMAEx_ConfigRepeatBlock()
3370 tmpreg2 |= (uint32_t)pConfigRepeatBlock->SrcAddrOffset; in HAL_DMAEx_ConfigRepeatBlock()
3374 WRITE_REG(hdma->Instance->CTR3, tmpreg2); in HAL_DMAEx_ConfigRepeatBlock()
3381 tmpreg2 = (uint32_t)(- pConfigRepeatBlock->BlkDestAddrOffset); in HAL_DMAEx_ConfigRepeatBlock()
3382 tmpreg2 = tmpreg2 << DMA_CBR2_BRDAO_Pos; in HAL_DMAEx_ConfigRepeatBlock()
3387 tmpreg2 = ((uint32_t)pConfigRepeatBlock->BlkDestAddrOffset << DMA_CBR2_BRDAO_Pos); in HAL_DMAEx_ConfigRepeatBlock()
[all …]
Dstm32h7rsxx_hal_rcc.c2096 uint32_t tmpreg2; in RCC_PLL1_GetVCOOutputFreq() local
2104 tmpreg2 = RCC->PLL1DIVR1; in RCC_PLL1_GetVCOOutputFreq()
2108 plln = (tmpreg2 & RCC_PLL1DIVR1_DIVN) + 1U; in RCC_PLL1_GetVCOOutputFreq()
2168 uint32_t tmpreg2; in RCC_PLL2_GetVCOOutputFreq() local
2176 tmpreg2 = RCC->PLL2DIVR1; in RCC_PLL2_GetVCOOutputFreq()
2180 plln = (tmpreg2 & RCC_PLL2DIVR1_DIVN) + 1U; in RCC_PLL2_GetVCOOutputFreq()
2240 uint32_t tmpreg2; in RCC_PLL3_GetVCOOutputFreq() local
2248 tmpreg2 = RCC->PLL3DIVR1; in RCC_PLL3_GetVCOOutputFreq()
2252 plln = (tmpreg2 & RCC_PLL3DIVR1_DIVN) + 1U; in RCC_PLL3_GetVCOOutputFreq()
/hal_stm32-3.7.0/stm32cube/stm32f3xx/drivers/src/
Dstm32f3xx_hal_dac_ex.c773 uint32_t tmpreg1 = 0U, tmpreg2 = 0U; in HAL_DAC_ConfigChannel() local
814 tmpreg2 = (sConfig->DAC_Trigger | sConfig->DAC_OutputBuffer); in HAL_DAC_ConfigChannel()
820 tmpreg2 = (sConfig->DAC_Trigger | sConfig->DAC_OutputSwitch); in HAL_DAC_ConfigChannel()
824 tmpreg2 = (sConfig->DAC_Trigger | sConfig->DAC_OutputBuffer); in HAL_DAC_ConfigChannel()
828 tmpreg1 |= tmpreg2 << Channel; in HAL_DAC_ConfigChannel()
/hal_stm32-3.7.0/stm32cube/stm32l0xx/drivers/src/
Dstm32l0xx_hal_dac.c672 uint32_t tmpreg1 = 0U, tmpreg2 = 0U; in HAL_DAC_ConfigChannel() local
692 tmpreg2 = (sConfig->DAC_Trigger | sConfig->DAC_OutputBuffer); in HAL_DAC_ConfigChannel()
694 tmpreg1 |= tmpreg2 << Channel; in HAL_DAC_ConfigChannel()
/hal_stm32-3.7.0/stm32cube/stm32f1xx/drivers/src/
Dstm32f1xx_hal_dac.c1000 uint32_t tmpreg2; in HAL_DAC_ConfigChannel() local
1027 tmpreg2 = (sConfig->DAC_Trigger | sConfig->DAC_OutputBuffer); in HAL_DAC_ConfigChannel()
1029 tmpreg1 |= tmpreg2 << (Channel & 0x10UL); in HAL_DAC_ConfigChannel()
/hal_stm32-3.7.0/stm32cube/stm32f2xx/drivers/src/
Dstm32f2xx_hal_dac.c979 uint32_t tmpreg2; in HAL_DAC_ConfigChannel() local
1006 tmpreg2 = (sConfig->DAC_Trigger | sConfig->DAC_OutputBuffer); in HAL_DAC_ConfigChannel()
1008 tmpreg1 |= tmpreg2 << (Channel & 0x10UL); in HAL_DAC_ConfigChannel()
/hal_stm32-3.7.0/stm32cube/stm32f7xx/drivers/src/
Dstm32f7xx_hal_dac.c961 uint32_t tmpreg2; in HAL_DAC_ConfigChannel() local
988 tmpreg2 = (sConfig->DAC_Trigger | sConfig->DAC_OutputBuffer); in HAL_DAC_ConfigChannel()
990 tmpreg1 |= tmpreg2 << (Channel & 0x10UL); in HAL_DAC_ConfigChannel()
/hal_stm32-3.7.0/stm32cube/stm32f4xx/drivers/src/
Dstm32f4xx_hal_dac.c963 uint32_t tmpreg2; in HAL_DAC_ConfigChannel() local
990 tmpreg2 = (sConfig->DAC_Trigger | sConfig->DAC_OutputBuffer); in HAL_DAC_ConfigChannel()
992 tmpreg1 |= tmpreg2 << (Channel & 0x10UL); in HAL_DAC_ConfigChannel()
/hal_stm32-3.7.0/stm32cube/stm32l1xx/drivers/src/
Dstm32l1xx_hal_dac.c977 uint32_t tmpreg2; in HAL_DAC_ConfigChannel() local
1004 tmpreg2 = (sConfig->DAC_Trigger | sConfig->DAC_OutputBuffer); in HAL_DAC_ConfigChannel()
1006 tmpreg1 |= tmpreg2 << (Channel & 0x10UL); in HAL_DAC_ConfigChannel()