Home
last modified time | relevance | path

Searched refs:tmp1 (Results 1 – 25 of 62) sorted by relevance

123

/hal_stm32-2.7.6/stm32cube/stm32l1xx/drivers/src/
Dstm32l1xx_hal_flash_ex.c645 uint16_t tmp1 = 0U; in HAL_FLASHEx_OB_SelectPCROP() local
659 tmp1 = (uint16_t)(~(optiontmp2 )); in HAL_FLASHEx_OB_SelectPCROP()
660 tmp2 = (uint32_t)(((uint32_t)((uint32_t)(tmp1) << 16U)) | ((uint32_t)optiontmp2)); in HAL_FLASHEx_OB_SelectPCROP()
688 uint16_t tmp1 = 0U; in HAL_FLASHEx_OB_DeSelectPCROP() local
702 tmp1 = (uint16_t)(~(optiontmp2 )); in HAL_FLASHEx_OB_DeSelectPCROP()
703 tmp2 = (uint32_t)(((uint32_t)((uint32_t)(tmp1) << 16U)) | ((uint32_t)optiontmp2)); in HAL_FLASHEx_OB_DeSelectPCROP()
961 uint32_t tmp1 = 0U, tmp2 = 0U, tmp3 = 0U; in FLASH_OB_RDPConfig() local
966 tmp1 = (uint32_t)(OB->RDP & FLASH_OBR_RDPRT); in FLASH_OB_RDPConfig()
973 if ((tmp1 == OB_RDP_LEVEL_0) && (OB_RDP == OB_RDP_LEVEL_0)) in FLASH_OB_RDPConfig()
986 tmp1 = (~((uint32_t)(OB_RDP | tmp3))); in FLASH_OB_RDPConfig()
[all …]
/hal_stm32-2.7.6/stm32cube/stm32l0xx/drivers/src/
Dstm32l0xx_hal_flash_ex.c529 uint16_t tmp1 = 0; in HAL_FLASHEx_OB_SelectPCROP() local
543 tmp1 = (uint16_t)(~(optiontmp2 )); in HAL_FLASHEx_OB_SelectPCROP()
544 tmp2 = (uint32_t)(((uint32_t)((uint32_t)(tmp1) << 16U)) | ((uint32_t)optiontmp2)); in HAL_FLASHEx_OB_SelectPCROP()
571 uint16_t tmp1 = 0; in HAL_FLASHEx_OB_DeSelectPCROP() local
585 tmp1 = (uint16_t)(~(optiontmp2 )); in HAL_FLASHEx_OB_DeSelectPCROP()
586 tmp2 = (uint32_t)(((uint32_t)((uint32_t)(tmp1) << 16U)) | ((uint32_t)optiontmp2)); in HAL_FLASHEx_OB_DeSelectPCROP()
828 uint32_t tmp1 = 0U, tmp2 = 0U, tmp3 = 0U; in FLASH_OB_RDPConfig() local
833 tmp1 = (uint32_t)(OB->RDP & FLASH_OPTR_RDPROT); in FLASH_OB_RDPConfig()
841 tmp1 = (~((uint32_t)(OB_RDP | tmp3))); in FLASH_OB_RDPConfig()
842 tmp2 = (uint32_t)(((uint32_t)((uint32_t)(tmp1) << 16U)) | ((uint32_t)(OB_RDP | tmp3))); in FLASH_OB_RDPConfig()
[all …]
Dstm32l0xx_hal_dac_ex.c326 uint32_t tmp1 = 0U, tmp2 = 0U; in HAL_DAC_Start() local
342 tmp1 = hdac->Instance->CR & DAC_CR_TEN1; in HAL_DAC_Start()
345 if((tmp1 == DAC_CR_TEN1) && (tmp2 == DAC_CR_TSEL1)) in HAL_DAC_Start()
353 tmp1 = hdac->Instance->CR & DAC_CR_TEN2; in HAL_DAC_Start()
356 if((tmp1 == DAC_CR_TEN2) && (tmp2 == DAC_CR_TSEL2)) in HAL_DAC_Start()
686 uint32_t tmp1 = 0U, tmp2 = 0U; in HAL_DAC_Start() local
700 tmp1 = hdac->Instance->CR & DAC_CR_TEN1; in HAL_DAC_Start()
703 if((tmp1 == DAC_CR_TEN1) && (tmp2 == DAC_CR_TSEL1)) in HAL_DAC_Start()
/hal_stm32-2.7.6/stm32cube/stm32f4xx/drivers/src/
Dstm32f4xx_hal_i2s_ex.c214 uint32_t tmp1 = 0U; in HAL_I2SEx_TransmitReceive() local
231 tmp1 = hi2s->Instance->I2SCFGR & (SPI_I2SCFGR_DATLEN | SPI_I2SCFGR_CHLEN); in HAL_I2SEx_TransmitReceive()
236 if ((tmp1 == I2S_DATAFORMAT_24B) || (tmp1 == I2S_DATAFORMAT_32B)) in HAL_I2SEx_TransmitReceive()
255 tmp1 = hi2s->Instance->I2SCFGR & SPI_I2SCFGR_I2SCFG; in HAL_I2SEx_TransmitReceive()
257 if ((tmp1 == I2S_MODE_MASTER_TX) || (tmp1 == I2S_MODE_SLAVE_TX)) in HAL_I2SEx_TransmitReceive()
294 if ((__HAL_I2S_GET_FLAG(hi2s, I2S_FLAG_UDR) == SET) && (tmp1 == I2S_MODE_SLAVE_TX)) in HAL_I2SEx_TransmitReceive()
367 if ((__HAL_I2SEXT_GET_FLAG(hi2s, I2S_FLAG_UDR) == SET) && (tmp1 == I2S_MODE_SLAVE_RX)) in HAL_I2SEx_TransmitReceive()
434 uint32_t tmp1 = 0U; in HAL_I2SEx_TransmitReceive_IT() local
454 tmp1 = hi2s->Instance->I2SCFGR & (SPI_I2SCFGR_DATLEN | SPI_I2SCFGR_CHLEN); in HAL_I2SEx_TransmitReceive_IT()
459 if ((tmp1 == I2S_DATAFORMAT_24B) || (tmp1 == I2S_DATAFORMAT_32B)) in HAL_I2SEx_TransmitReceive_IT()
[all …]
Dstm32f4xx_hal_adc_ex.c150 uint32_t tmp1 = 0U, tmp2 = 0U; in HAL_ADCEx_InjectedStart() local
211 tmp1 = HAL_IS_BIT_CLR(hadc->Instance->CR2, ADC_CR2_JEXTEN); in HAL_ADCEx_InjectedStart()
213 if(tmp1 && tmp2) in HAL_ADCEx_InjectedStart()
221 tmp1 = HAL_IS_BIT_CLR(hadc->Instance->CR2, ADC_CR2_JEXTEN); in HAL_ADCEx_InjectedStart()
223 if((hadc->Instance == ADC1) && tmp1 && tmp2) in HAL_ADCEx_InjectedStart()
253 uint32_t tmp1 = 0U, tmp2 = 0U; in HAL_ADCEx_InjectedStart_IT() local
317 tmp1 = HAL_IS_BIT_CLR(hadc->Instance->CR2, ADC_CR2_JEXTEN); in HAL_ADCEx_InjectedStart_IT()
319 if(tmp1 && tmp2) in HAL_ADCEx_InjectedStart_IT()
327 tmp1 = HAL_IS_BIT_CLR(hadc->Instance->CR2, ADC_CR2_JEXTEN); in HAL_ADCEx_InjectedStart_IT()
329 if((hadc->Instance == ADC1) && tmp1 && tmp2) in HAL_ADCEx_InjectedStart_IT()
Dstm32f4xx_hal_adc.c1202 uint32_t tmp1 = 0U, tmp2 = 0U; in HAL_ADC_IRQHandler() local
1209 tmp1 = __HAL_ADC_GET_FLAG(hadc, ADC_FLAG_EOC); in HAL_ADC_IRQHandler()
1212 if(tmp1 && tmp2) in HAL_ADC_IRQHandler()
1258 tmp1 = __HAL_ADC_GET_FLAG(hadc, ADC_FLAG_JEOC); in HAL_ADC_IRQHandler()
1261 if(tmp1 && tmp2) in HAL_ADC_IRQHandler()
1305 tmp1 = __HAL_ADC_GET_FLAG(hadc, ADC_FLAG_AWD); in HAL_ADC_IRQHandler()
1308 if(tmp1 && tmp2) in HAL_ADC_IRQHandler()
1327 tmp1 = __HAL_ADC_GET_FLAG(hadc, ADC_FLAG_OVR); in HAL_ADC_IRQHandler()
1330 if(tmp1 && tmp2) in HAL_ADC_IRQHandler()
Dstm32f4xx_hal_dma2d.c2053 uint32_t tmp1; in DMA2D_SetConfig() local
2067 tmp1 = pdata & DMA2D_OCOLR_ALPHA_1; in DMA2D_SetConfig()
2075 tmp = (tmp3 | tmp2 | tmp1 | tmp4); in DMA2D_SetConfig()
2090 tmp1 = (tmp1 >> 31U); in DMA2D_SetConfig()
2094 tmp = ((tmp3 << 5U) | (tmp2 << 10U) | (tmp1 << 15U) | tmp4); in DMA2D_SetConfig()
2098 tmp1 = (tmp1 >> 28U); in DMA2D_SetConfig()
2102 tmp = ((tmp3 << 4U) | (tmp2 << 8U) | (tmp1 << 12U) | tmp4); in DMA2D_SetConfig()
Dstm32f4xx_hal_ltdc.c214 uint32_t tmp, tmp1; in HAL_LTDC_Init() local
295 tmp1 = ((uint32_t)(hltdc->Init.Backcolor.Red) << 16U); in HAL_LTDC_Init()
297 hltdc->Instance->BCCR |= (tmp1 | tmp | hltdc->Init.Backcolor.Blue); in HAL_LTDC_Init()
2079 uint32_t tmp1; in LTDC_SetConfig() local
2098 tmp1 = ((uint32_t)(pLayerCfg->Backcolor.Red) << 16U); in LTDC_SetConfig()
2101 LTDC_LAYER(hltdc, LayerIdx)->DCCR = (pLayerCfg->Backcolor.Blue | tmp | tmp1 | tmp2); in LTDC_SetConfig()
Dstm32f4xx_hal_smbus.c1395 uint32_t tickstart = 0U, tmp1 = 0U, tmp2 = 0U, tmp3 = 0U, SMBUS_Trials = 1U; in HAL_SMBUS_IsDeviceReady() local
1443 tmp1 = __HAL_SMBUS_GET_FLAG(hsmbus, SMBUS_FLAG_ADDR); in HAL_SMBUS_IsDeviceReady()
1446 while ((tmp1 == RESET) && (tmp2 == RESET) && (tmp3 != HAL_SMBUS_STATE_TIMEOUT)) in HAL_SMBUS_IsDeviceReady()
1452 tmp1 = __HAL_SMBUS_GET_FLAG(hsmbus, SMBUS_FLAG_ADDR); in HAL_SMBUS_IsDeviceReady()
1624 uint32_t tmp1 = 0U, tmp2 = 0U, tmp3 = 0U, tmp4 = 0U; in HAL_SMBUS_ER_IRQHandler() local
1659 tmp1 = hsmbus->Mode; in HAL_SMBUS_ER_IRQHandler()
1664 if ((tmp1 == HAL_SMBUS_MODE_SLAVE) && (tmp2 == 0U) && \ in HAL_SMBUS_ER_IRQHandler()
/hal_stm32-2.7.6/stm32cube/stm32f3xx/drivers/src/
Dstm32f3xx_hal_i2s_ex.c214 uint32_t tmp1 = 0U; in HAL_I2SEx_TransmitReceive() local
231 tmp1 = hi2s->Instance->I2SCFGR & (SPI_I2SCFGR_DATLEN | SPI_I2SCFGR_CHLEN); in HAL_I2SEx_TransmitReceive()
236 if ((tmp1 == I2S_DATAFORMAT_24B) || (tmp1 == I2S_DATAFORMAT_32B)) in HAL_I2SEx_TransmitReceive()
255 tmp1 = hi2s->Instance->I2SCFGR & SPI_I2SCFGR_I2SCFG; in HAL_I2SEx_TransmitReceive()
257 if ((tmp1 == I2S_MODE_MASTER_TX) || (tmp1 == I2S_MODE_SLAVE_TX)) in HAL_I2SEx_TransmitReceive()
294 if ((__HAL_I2S_GET_FLAG(hi2s, I2S_FLAG_UDR) == SET) && (tmp1 == I2S_MODE_SLAVE_TX)) in HAL_I2SEx_TransmitReceive()
367 if ((__HAL_I2SEXT_GET_FLAG(hi2s, I2S_FLAG_UDR) == SET) && (tmp1 == I2S_MODE_SLAVE_RX)) in HAL_I2SEx_TransmitReceive()
434 uint32_t tmp1 = 0U; in HAL_I2SEx_TransmitReceive_IT() local
454 tmp1 = hi2s->Instance->I2SCFGR & (SPI_I2SCFGR_DATLEN | SPI_I2SCFGR_CHLEN); in HAL_I2SEx_TransmitReceive_IT()
459 if ((tmp1 == I2S_DATAFORMAT_24B) || (tmp1 == I2S_DATAFORMAT_32B)) in HAL_I2SEx_TransmitReceive_IT()
[all …]
/hal_stm32-2.7.6/stm32cube/stm32f4xx/drivers/src/Legacy/
Dstm32f4xx_hal_can.c1237 uint32_t tmp1 = 0U, tmp2 = 0U, tmp3 = 0U; in HAL_CAN_IRQHandler() local
1241 tmp1 = __HAL_CAN_GET_FLAG(hcan, CAN_FLAG_FOV0); in HAL_CAN_IRQHandler()
1243 if(tmp1 && tmp2) in HAL_CAN_IRQHandler()
1252 tmp1 = __HAL_CAN_GET_FLAG(hcan, CAN_FLAG_FOV1); in HAL_CAN_IRQHandler()
1255 if(tmp1 && tmp2) in HAL_CAN_IRQHandler()
1267 tmp1 = __HAL_CAN_TRANSMIT_STATUS(hcan, CAN_TXMAILBOX_0); in HAL_CAN_IRQHandler()
1270 if(tmp1 || tmp2 || tmp3) in HAL_CAN_IRQHandler()
1272 tmp1 = __HAL_CAN_GET_FLAG(hcan, CAN_FLAG_TXOK0); in HAL_CAN_IRQHandler()
1276 if(tmp1 || tmp2 || tmp3) in HAL_CAN_IRQHandler()
1293 tmp1 = __HAL_CAN_MSG_PENDING(hcan, CAN_FIFO0); in HAL_CAN_IRQHandler()
[all …]
/hal_stm32-2.7.6/stm32cube/stm32f1xx/drivers/src/Legacy/
Dstm32f1xx_hal_can.c1235 uint32_t tmp1 = 0U, tmp2 = 0U, tmp3 = 0U; in HAL_CAN_IRQHandler() local
1239 tmp1 = __HAL_CAN_GET_FLAG(hcan, CAN_FLAG_FOV0); in HAL_CAN_IRQHandler()
1241 if((tmp1 != 0U) && tmp2) in HAL_CAN_IRQHandler()
1251 tmp1 = __HAL_CAN_GET_FLAG(hcan, CAN_FLAG_FOV1); in HAL_CAN_IRQHandler()
1253 if((tmp1 != 0U) && tmp2) in HAL_CAN_IRQHandler()
1266 tmp1 = __HAL_CAN_TRANSMIT_STATUS(hcan, CAN_TXMAILBOX_0); in HAL_CAN_IRQHandler()
1269 if(tmp1 || tmp2 || tmp3) in HAL_CAN_IRQHandler()
1271 tmp1 = __HAL_CAN_GET_FLAG(hcan, CAN_FLAG_TXOK0); in HAL_CAN_IRQHandler()
1275 if((tmp1) || (tmp2) || (tmp3)) in HAL_CAN_IRQHandler()
1292 tmp1 = __HAL_CAN_MSG_PENDING(hcan, CAN_FIFO0); in HAL_CAN_IRQHandler()
[all …]
/hal_stm32-2.7.6/stm32cube/stm32f2xx/drivers/src/Legacy/
Dstm32f2xx_hal_can.c1194 uint32_t tmp1 = 0U, tmp2 = 0U, tmp3 = 0U; in HAL_CAN_IRQHandler() local
1198 tmp1 = __HAL_CAN_GET_FLAG(hcan, CAN_FLAG_FOV0); in HAL_CAN_IRQHandler()
1200 if(tmp1 && tmp2) in HAL_CAN_IRQHandler()
1209 tmp1 = __HAL_CAN_GET_FLAG(hcan, CAN_FLAG_FOV1); in HAL_CAN_IRQHandler()
1212 if(tmp1 && tmp2) in HAL_CAN_IRQHandler()
1224 tmp1 = __HAL_CAN_TRANSMIT_STATUS(hcan, CAN_TXMAILBOX_0); in HAL_CAN_IRQHandler()
1227 if(tmp1 || tmp2 || tmp3) in HAL_CAN_IRQHandler()
1229 tmp1 = __HAL_CAN_GET_FLAG(hcan, CAN_FLAG_TXOK0); in HAL_CAN_IRQHandler()
1233 if(tmp1 || tmp2 || tmp3) in HAL_CAN_IRQHandler()
1250 tmp1 = __HAL_CAN_MSG_PENDING(hcan, CAN_FIFO0); in HAL_CAN_IRQHandler()
[all …]
/hal_stm32-2.7.6/stm32cube/stm32f7xx/drivers/src/
Dstm32f7xx_hal_adc_ex.c150 uint32_t tmp1 = 0, tmp2 = 0; in HAL_ADCEx_InjectedStart() local
205 tmp1 = HAL_IS_BIT_CLR(hadc->Instance->CR2, ADC_CR2_JEXTEN); in HAL_ADCEx_InjectedStart()
207 if(tmp1 && tmp2) in HAL_ADCEx_InjectedStart()
215 tmp1 = HAL_IS_BIT_CLR(hadc->Instance->CR2, ADC_CR2_JEXTEN); in HAL_ADCEx_InjectedStart()
217 if((hadc->Instance == ADC1) && tmp1 && tmp2) in HAL_ADCEx_InjectedStart()
247 uint32_t tmp1 = 0, tmp2 = 0; in HAL_ADCEx_InjectedStart_IT() local
305 tmp1 = HAL_IS_BIT_CLR(hadc->Instance->CR2, ADC_CR2_JEXTEN); in HAL_ADCEx_InjectedStart_IT()
307 if(tmp1 && tmp2) in HAL_ADCEx_InjectedStart_IT()
315 tmp1 = HAL_IS_BIT_CLR(hadc->Instance->CR2, ADC_CR2_JEXTEN); in HAL_ADCEx_InjectedStart_IT()
317 if((hadc->Instance == ADC1) && tmp1 && tmp2) in HAL_ADCEx_InjectedStart_IT()
Dstm32f7xx_hal_adc.c1211 uint32_t tmp1 = 0, tmp2 = 0; in HAL_ADC_IRQHandler() local
1218 tmp1 = __HAL_ADC_GET_FLAG(hadc, ADC_FLAG_EOC); in HAL_ADC_IRQHandler()
1221 if(tmp1 && tmp2) in HAL_ADC_IRQHandler()
1267 tmp1 = __HAL_ADC_GET_FLAG(hadc, ADC_FLAG_JEOC); in HAL_ADC_IRQHandler()
1270 if(tmp1 && tmp2) in HAL_ADC_IRQHandler()
1313 tmp1 = __HAL_ADC_GET_FLAG(hadc, ADC_FLAG_AWD); in HAL_ADC_IRQHandler()
1316 if(tmp1 && tmp2) in HAL_ADC_IRQHandler()
1336 tmp1 = __HAL_ADC_GET_FLAG(hadc, ADC_FLAG_OVR); in HAL_ADC_IRQHandler()
1339 if(tmp1 && tmp2) in HAL_ADC_IRQHandler()
Dstm32f7xx_hal_dma2d.c2073 uint32_t tmp1; in DMA2D_SetConfig() local
2087 tmp1 = pdata & DMA2D_OCOLR_ALPHA_1; in DMA2D_SetConfig()
2095 tmp = (tmp3 | tmp2 | tmp1 | tmp4); in DMA2D_SetConfig()
2110 tmp1 = (tmp1 >> 31U); in DMA2D_SetConfig()
2114 tmp = ((tmp3 << 5U) | (tmp2 << 10U) | (tmp1 << 15U) | tmp4); in DMA2D_SetConfig()
2118 tmp1 = (tmp1 >> 28U); in DMA2D_SetConfig()
2122 tmp = ((tmp3 << 4U) | (tmp2 << 8U) | (tmp1 << 12U) | tmp4); in DMA2D_SetConfig()
Dstm32f7xx_hal_ltdc.c193 uint32_t tmp, tmp1; in HAL_LTDC_Init() local
274 tmp1 = ((uint32_t)(hltdc->Init.Backcolor.Red) << 16U); in HAL_LTDC_Init()
276 hltdc->Instance->BCCR |= (tmp1 | tmp | hltdc->Init.Backcolor.Blue); in HAL_LTDC_Init()
2058 uint32_t tmp1; in LTDC_SetConfig() local
2077 tmp1 = ((uint32_t)(pLayerCfg->Backcolor.Red) << 16U); in LTDC_SetConfig()
2080 LTDC_LAYER(hltdc, LayerIdx)->DCCR = (pLayerCfg->Backcolor.Blue | tmp | tmp1 | tmp2); in LTDC_SetConfig()
/hal_stm32-2.7.6/stm32cube/stm32f2xx/drivers/src/
Dstm32f2xx_hal_adc_ex.c151 uint32_t tmp1 = 0U, tmp2 = 0U; in HAL_ADCEx_InjectedStart() local
206 tmp1 = HAL_IS_BIT_CLR(hadc->Instance->CR2, ADC_CR2_JEXTEN); in HAL_ADCEx_InjectedStart()
208 if(tmp1 && tmp2) in HAL_ADCEx_InjectedStart()
216 tmp1 = HAL_IS_BIT_CLR(hadc->Instance->CR2, ADC_CR2_JEXTEN); in HAL_ADCEx_InjectedStart()
218 if((hadc->Instance == ADC1) && tmp1 && tmp2) in HAL_ADCEx_InjectedStart()
248 uint32_t tmp1 = 0U, tmp2 = 0U; in HAL_ADCEx_InjectedStart_IT() local
306 tmp1 = HAL_IS_BIT_CLR(hadc->Instance->CR2, ADC_CR2_JEXTEN); in HAL_ADCEx_InjectedStart_IT()
308 if(tmp1 && tmp2) in HAL_ADCEx_InjectedStart_IT()
316 tmp1 = HAL_IS_BIT_CLR(hadc->Instance->CR2, ADC_CR2_JEXTEN); in HAL_ADCEx_InjectedStart_IT()
318 if((hadc->Instance == ADC1) && tmp1 && tmp2) in HAL_ADCEx_InjectedStart_IT()
Dstm32f2xx_hal_adc.c1168 uint32_t tmp1 = 0U, tmp2 = 0U; in HAL_ADC_IRQHandler() local
1175 tmp1 = __HAL_ADC_GET_FLAG(hadc, ADC_FLAG_EOC); in HAL_ADC_IRQHandler()
1178 if(tmp1 && tmp2) in HAL_ADC_IRQHandler()
1224 tmp1 = __HAL_ADC_GET_FLAG(hadc, ADC_FLAG_JEOC); in HAL_ADC_IRQHandler()
1227 if(tmp1 && tmp2) in HAL_ADC_IRQHandler()
1270 tmp1 = __HAL_ADC_GET_FLAG(hadc, ADC_FLAG_AWD); in HAL_ADC_IRQHandler()
1273 if(tmp1 && tmp2) in HAL_ADC_IRQHandler()
1292 tmp1 = __HAL_ADC_GET_FLAG(hadc, ADC_FLAG_OVR); in HAL_ADC_IRQHandler()
1295 if(tmp1 && tmp2) in HAL_ADC_IRQHandler()
/hal_stm32-2.7.6/stm32cube/stm32u5xx/drivers/src/
Dstm32u5xx_hal_dcmi.c384 uint32_t tmp1; in HAL_DCMI_Start_DMA() local
501 tmp1 = (uint32_t)hdcmi->DMA_Handle->LinkedListQueue->Head ; in HAL_DCMI_Start_DMA()
506 ((DMA_NodeTypeDef *)((tmp1 & DMA_CLBAR_LBA) + \ in HAL_DCMI_Start_DMA()
510 ((DMA_NodeTypeDef *)((tmp1 & DMA_CLBAR_LBA) + \ in HAL_DCMI_Start_DMA()
515 ((DMA_NodeTypeDef *)((tmp1 & DMA_CLBAR_LBA) + \ in HAL_DCMI_Start_DMA()
1267 uint32_t tmp1; in DCMI_DMAXferCplt() local
1283 tmp1 = hdcmi->DMA_Handle->Instance->CLLR & DMA_CLLR_LA; in DCMI_DMAXferCplt()
1285 pnode = (DMA_NodeTypeDef *)(uint32_t)(tmp1 | tmp2); in DCMI_DMAXferCplt()
Dstm32u5xx_hal_dma2d.c2098 uint32_t tmp1; in DMA2D_SetConfig() local
2112 tmp1 = pdata & DMA2D_OCOLR_ALPHA_1; in DMA2D_SetConfig()
2120 tmp = (tmp3 | tmp2 | tmp1 | tmp4); in DMA2D_SetConfig()
2135 tmp1 = (tmp1 >> 31U); in DMA2D_SetConfig()
2139 tmp = ((tmp3 << 5U) | (tmp2 << 10U) | (tmp1 << 15U) | tmp4); in DMA2D_SetConfig()
2143 tmp1 = (tmp1 >> 28U); in DMA2D_SetConfig()
2147 tmp = ((tmp3 << 4U) | (tmp2 << 8U) | (tmp1 << 12U) | tmp4); in DMA2D_SetConfig()
/hal_stm32-2.7.6/stm32cube/stm32h7xx/drivers/src/
Dstm32h7xx_hal_dma2d.c2108 uint32_t tmp1; in DMA2D_SetConfig() local
2122 tmp1 = pdata & DMA2D_OCOLR_ALPHA_1; in DMA2D_SetConfig()
2130 tmp = (tmp3 | tmp2 | tmp1 | tmp4); in DMA2D_SetConfig()
2145 tmp1 = (tmp1 >> 31U); in DMA2D_SetConfig()
2149 tmp = ((tmp3 << 5U) | (tmp2 << 10U) | (tmp1 << 15U) | tmp4); in DMA2D_SetConfig()
2153 tmp1 = (tmp1 >> 28U); in DMA2D_SetConfig()
2157 tmp = ((tmp3 << 4U) | (tmp2 << 8U) | (tmp1 << 12U) | tmp4); in DMA2D_SetConfig()
Dstm32h7xx_hal_ltdc.c214 uint32_t tmp, tmp1; in HAL_LTDC_Init() local
295 tmp1 = ((uint32_t)(hltdc->Init.Backcolor.Red) << 16U); in HAL_LTDC_Init()
297 hltdc->Instance->BCCR |= (tmp1 | tmp | hltdc->Init.Backcolor.Blue); in HAL_LTDC_Init()
2079 uint32_t tmp1; in LTDC_SetConfig() local
2098 tmp1 = ((uint32_t)(pLayerCfg->Backcolor.Red) << 16U); in LTDC_SetConfig()
2101 LTDC_LAYER(hltdc, LayerIdx)->DCCR = (pLayerCfg->Backcolor.Blue | tmp | tmp1 | tmp2); in LTDC_SetConfig()
/hal_stm32-2.7.6/stm32cube/stm32l4xx/drivers/src/
Dstm32l4xx_hal_dma2d.c2108 uint32_t tmp1; in DMA2D_SetConfig() local
2122 tmp1 = pdata & DMA2D_OCOLR_ALPHA_1; in DMA2D_SetConfig()
2130 tmp = (tmp3 | tmp2 | tmp1| tmp4); in DMA2D_SetConfig()
2145 tmp1 = (tmp1 >> 31U); in DMA2D_SetConfig()
2149 tmp = ((tmp3 << 5U) | (tmp2 << 10U) | (tmp1 << 15U) | tmp4); in DMA2D_SetConfig()
2153 tmp1 = (tmp1 >> 28U); in DMA2D_SetConfig()
2157 tmp = ((tmp3 << 4U) | (tmp2 << 8U) | (tmp1 << 12U) | tmp4); in DMA2D_SetConfig()
Dstm32l4xx_hal_ltdc.c214 uint32_t tmp, tmp1; in HAL_LTDC_Init() local
295 tmp1 = ((uint32_t)(hltdc->Init.Backcolor.Red) << 16U); in HAL_LTDC_Init()
297 hltdc->Instance->BCCR |= (tmp1 | tmp | hltdc->Init.Backcolor.Blue); in HAL_LTDC_Init()
2079 uint32_t tmp1; in LTDC_SetConfig() local
2098 tmp1 = ((uint32_t)(pLayerCfg->Backcolor.Red) << 16U); in LTDC_SetConfig()
2101 LTDC_LAYER(hltdc, LayerIdx)->DCCR = (pLayerCfg->Backcolor.Blue | tmp | tmp1 | tmp2); in LTDC_SetConfig()

123