/lk-master/external/platform/stm32f7xx/STM32F7xx_HAL_Driver/Src/ |
A D | stm32f7xx_hal_dma2d.c | 608 uint32_t tmp, tmp1; in HAL_DMA2D_PollForTransfer() local 932 uint32_t tmp = 0, tmp1 = 0; in HAL_DMA2D_ConfigCLUT() local 960 tmp1 = CLUTCfg.Size << 16; in HAL_DMA2D_ConfigCLUT() 963 tmp |= (CLUTCfg.CLUTColorMode | tmp1); in HAL_DMA2D_ConfigCLUT() 989 tmp1 = CLUTCfg.Size << 8; in HAL_DMA2D_ConfigCLUT() 992 tmp |= (CLUTCfg.CLUTColorMode | tmp1); in HAL_DMA2D_ConfigCLUT() 1142 uint32_t tmp1 = 0; in DMA2D_SetConfig() local 1157 tmp1 = pdata & DMA2D_OCOLR_ALPHA_1; in DMA2D_SetConfig() 1164 tmp = (tmp3 | tmp2 | tmp1| tmp4); in DMA2D_SetConfig() 1173 tmp1 = (tmp1 >> 31); in DMA2D_SetConfig() [all …]
|
A D | stm32f7xx_hal_adc_ex.c | 180 uint32_t tmp1 = 0, tmp2 = 0; in HAL_ADCEx_InjectedStart() local 210 tmp1 = HAL_IS_BIT_CLR(hadc->Instance->CR2, ADC_CR2_JEXTEN); in HAL_ADCEx_InjectedStart() 212 if (tmp1 && tmp2) { in HAL_ADCEx_InjectedStart() 217 tmp1 = HAL_IS_BIT_CLR(hadc->Instance->CR2, ADC_CR2_JEXTEN); in HAL_ADCEx_InjectedStart() 219 if ((hadc->Instance == ADC1) && tmp1 && tmp2) { in HAL_ADCEx_InjectedStart() 242 uint32_t tmp1 = 0, tmp2 =0; in HAL_ADCEx_InjectedStart_IT() local 281 tmp1 = HAL_IS_BIT_CLR(hadc->Instance->CR2, ADC_CR2_JEXTEN); in HAL_ADCEx_InjectedStart_IT() 283 if (tmp1 && tmp2) { in HAL_ADCEx_InjectedStart_IT() 288 tmp1 = HAL_IS_BIT_CLR(hadc->Instance->CR2, ADC_CR2_JEXTEN); in HAL_ADCEx_InjectedStart_IT() 290 if ((hadc->Instance == ADC1) && tmp1 && tmp2) { in HAL_ADCEx_InjectedStart_IT()
|
A D | stm32f7xx_hal_can.c | 971 uint32_t tmp1 = 0, tmp2 = 0, tmp3 = 0; in HAL_CAN_IRQHandler() local 978 if (tmp1 || tmp2 || tmp3) { in HAL_CAN_IRQHandler() 984 tmp1 = __HAL_CAN_MSG_PENDING(hcan, CAN_FIFO0); in HAL_CAN_IRQHandler() 987 if ((tmp1 != 0) && tmp2) { in HAL_CAN_IRQHandler() 992 tmp1 = __HAL_CAN_MSG_PENDING(hcan, CAN_FIFO1); in HAL_CAN_IRQHandler() 995 if ((tmp1 != 0) && tmp2) { in HAL_CAN_IRQHandler() 1004 if (tmp1 && tmp2 && tmp3) { in HAL_CAN_IRQHandler() 1015 if (tmp1 && tmp2 && tmp3) { in HAL_CAN_IRQHandler() 1026 if (tmp1 && tmp2 && tmp3) { in HAL_CAN_IRQHandler() 1037 if ((!tmp1) && tmp2 && tmp3) { in HAL_CAN_IRQHandler() [all …]
|
A D | stm32f7xx_hal_adc.c | 692 uint32_t tmp1 = 0, tmp2 = 0; in HAL_ADC_IRQHandler() local 699 tmp1 = __HAL_ADC_GET_FLAG(hadc, ADC_FLAG_EOC); in HAL_ADC_IRQHandler() 702 if (tmp1 && tmp2) { in HAL_ADC_IRQHandler() 745 tmp1 = __HAL_ADC_GET_FLAG(hadc, ADC_FLAG_JEOC); in HAL_ADC_IRQHandler() 748 if (tmp1 && tmp2) { in HAL_ADC_IRQHandler() 758 tmp1 = HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO); in HAL_ADC_IRQHandler() 760 if (((hadc->Init.ContinuousConvMode == DISABLE) || tmp1) && tmp2) { in HAL_ADC_IRQHandler() 772 tmp1 = __HAL_ADC_GET_FLAG(hadc, ADC_FLAG_AWD); in HAL_ADC_IRQHandler() 775 if (tmp1 && tmp2) { in HAL_ADC_IRQHandler() 786 tmp1 = __HAL_ADC_GET_FLAG(hadc, ADC_FLAG_OVR); in HAL_ADC_IRQHandler() [all …]
|
A D | stm32f7xx_hal_dac.c | 354 uint32_t tmp1 = 0, tmp2 = 0; in HAL_DAC_Start() local 369 tmp1 = hdac->Instance->CR & DAC_CR_TEN1; in HAL_DAC_Start() 372 if ((tmp1 == DAC_CR_TEN1) && (tmp2 == DAC_CR_TSEL1)) { in HAL_DAC_Start() 377 tmp1 = hdac->Instance->CR & DAC_CR_TEN2; in HAL_DAC_Start() 380 if ((tmp1 == DAC_CR_TEN2) && (tmp2 == DAC_CR_TSEL2)) { in HAL_DAC_Start()
|
A D | stm32f7xx_hal_ltdc.c | 150 uint32_t tmp = 0, tmp1 = 0; in HAL_LTDC_Init() local 209 tmp1 = ((uint32_t)(hltdc->Init.Backcolor.Red) << 16); in HAL_LTDC_Init() 211 hltdc->Instance->BCCR |= (tmp1 | tmp | hltdc->Init.Backcolor.Blue); in HAL_LTDC_Init() 1098 uint32_t tmp1 = 0; in LTDC_SetConfig() local 1117 tmp1 = ((uint32_t)(pLayerCfg->Backcolor.Red) << 16); in LTDC_SetConfig() 1120 LTDC_LAYER(hltdc, LayerIdx)->DCCR = (pLayerCfg->Backcolor.Blue | tmp | tmp1 | tmp2); in LTDC_SetConfig()
|
A D | stm32f7xx_hal_dma.c | 513 uint32_t temp, tmp, tmp1, tmp2; in HAL_DMA_PollForTransfer() local 530 tmp1 = __HAL_DMA_GET_FLAG(hdma, __HAL_DMA_GET_FE_FLAG_INDEX(hdma)); in HAL_DMA_PollForTransfer() 532 if ((tmp != RESET) || (tmp1 != RESET) || (tmp2 != RESET)) { in HAL_DMA_PollForTransfer() 540 if (tmp1 != RESET) { in HAL_DMA_PollForTransfer()
|
A D | stm32f7xx_hal_sd.c | 996 uint32_t tmp1, tmp2; in HAL_SD_CheckReadOperation() local 1000 tmp1 = hsd->DmaTransferCplt; in HAL_SD_CheckReadOperation() 1004 while (((tmp1 & tmp2) == 0) && (tmp3 == SD_OK) && (timeout > 0)) { in HAL_SD_CheckReadOperation() 1005 tmp1 = hsd->DmaTransferCplt; in HAL_SD_CheckReadOperation() 1051 uint32_t tmp1, tmp2; in HAL_SD_CheckWriteOperation() local 1055 tmp1 = hsd->DmaTransferCplt; in HAL_SD_CheckWriteOperation() 1059 while (((tmp1 & tmp2) == 0) && (tmp3 == SD_OK) && (timeout > 0)) { in HAL_SD_CheckWriteOperation() 1060 tmp1 = hsd->DmaTransferCplt; in HAL_SD_CheckWriteOperation()
|
/lk-master/external/platform/stm32f1xx/STM32F10x_StdPeriph_Driver/src/ |
A D | stm32f10x_gpio.c | 548 uint32_t tmp = 0x00, tmp1 = 0x00, tmpreg = 0x00, tmpmask = 0x00; in GPIO_PinRemapConfig() local 573 tmp1 = ((uint32_t)0x03) << tmpmask; in GPIO_PinRemapConfig() 574 tmpreg &= ~tmp1; in GPIO_PinRemapConfig()
|
A D | stm32f10x_tim.c | 2046 uint16_t tmp1 = 0; in TIM_SelectOCxM() local 2056 tmp1 = CCER_CCE_Set << (uint16_t)TIM_Channel; in TIM_SelectOCxM() 2059 TIMx->CCER &= (uint16_t) ~tmp1; in TIM_SelectOCxM()
|
/lk-master/external/platform/stm32f0xx/STM32F0xx_HAL_Driver/ |
A D | stm32f0xx_hal_spi.c | 939 uint32_t tmp = 0U, tmp1 = 0U; in HAL_SPI_TransmitReceive() local 966 tmp1 = hspi->Init.Mode; in HAL_SPI_TransmitReceive() 969 …((tmp1 == SPI_MODE_MASTER) && (hspi->Init.Direction == SPI_DIRECTION_2LINES) && (tmp == HAL_SPI_ST… in HAL_SPI_TransmitReceive() 1438 uint32_t tmp = 0U, tmp1 = 0U; in HAL_SPI_TransmitReceive_IT() local 1456 tmp1 = hspi->Init.Mode; in HAL_SPI_TransmitReceive_IT() 1459 …((tmp1 == SPI_MODE_MASTER) && (hspi->Init.Direction == SPI_DIRECTION_2LINES) && (tmp == HAL_SPI_ST… in HAL_SPI_TransmitReceive_IT() 1811 uint32_t tmp = 0U, tmp1 = 0U; in HAL_SPI_TransmitReceive_DMA() local 1825 tmp1 = hspi->Init.Mode; in HAL_SPI_TransmitReceive_DMA() 1827 …((tmp1 == SPI_MODE_MASTER) && (hspi->Init.Direction == SPI_DIRECTION_2LINES) && (tmp == HAL_SPI_ST… in HAL_SPI_TransmitReceive_DMA()
|
/lk-master/external/platform/stm32f2xx/STM32F2xx_StdPeriph_Driver/src/ |
A D | stm32f2xx_tim.c | 1015 uint16_t tmp1 = 0; in TIM_SelectOCxM() local 1025 tmp1 = CCER_CCE_SET << (uint16_t)TIM_Channel; in TIM_SelectOCxM() 1028 TIMx->CCER &= (uint16_t) ~tmp1; in TIM_SelectOCxM()
|
/lk-master/external/platform/stm32f4xx/STM32F4xx_StdPeriph_Driver/src/ |
A D | stm32f4xx_tim.c | 1017 uint16_t tmp1 = 0; in TIM_SelectOCxM() local 1027 tmp1 = CCER_CCE_SET << (uint16_t)TIM_Channel; in TIM_SelectOCxM() 1030 TIMx->CCER &= (uint16_t) ~tmp1; in TIM_SelectOCxM()
|