Home
last modified time | relevance | path

Searched refs:tmp (Results 1 – 25 of 460) sorted by relevance

12345678910>>...19

/hal_stm32-3.5.0/stm32cube/stm32u5xx/drivers/src/
Dstm32u5xx_hal_gpio.c202 uint32_t tmp; in HAL_GPIO_Init() local
232 tmp = GPIOx->MODER; in HAL_GPIO_Init()
233 tmp &= ~(LPGPIO_MODER_MOD0 << position); in HAL_GPIO_Init()
234 tmp |= ((pGPIO_Init->Mode & GPIO_MODE_OUTPUT_PP) << position); in HAL_GPIO_Init()
235 GPIOx->MODER = tmp; in HAL_GPIO_Init()
242 tmp = p_gpio->AFR[(pin_position) >> 3U]; in HAL_GPIO_Init()
243 tmp &= ~(0x0FUL << (((pin_position) & 0x07U) * 4U)); in HAL_GPIO_Init()
244 tmp |= ((GPIO_AF11_LPGPIO1 & 0x0FUL) << (((pin_position) & 0x07U) * 4U)); in HAL_GPIO_Init()
245 p_gpio->AFR[(pin_position) >> 3U] = tmp; in HAL_GPIO_Init()
248 tmp = p_gpio->MODER; in HAL_GPIO_Init()
[all …]
Dstm32u5xx_hal_ltdc.c221 uint32_t tmp; in HAL_LTDC_Init() local
283 tmp = (hltdc->Init.HorizontalSync << 16U); in HAL_LTDC_Init()
284 hltdc->Instance->SSCR |= (tmp | hltdc->Init.VerticalSync); in HAL_LTDC_Init()
288 tmp = (hltdc->Init.AccumulatedHBP << 16U); in HAL_LTDC_Init()
289 hltdc->Instance->BPCR |= (tmp | hltdc->Init.AccumulatedVBP); in HAL_LTDC_Init()
293 tmp = (hltdc->Init.AccumulatedActiveW << 16U); in HAL_LTDC_Init()
294 hltdc->Instance->AWCR |= (tmp | hltdc->Init.AccumulatedActiveH); in HAL_LTDC_Init()
298 tmp = (hltdc->Init.TotalWidth << 16U); in HAL_LTDC_Init()
299 hltdc->Instance->TWCR |= (tmp | hltdc->Init.TotalHeigh); in HAL_LTDC_Init()
302 tmp = ((uint32_t)(hltdc->Init.Backcolor.Green) << 8U); in HAL_LTDC_Init()
[all …]
Dstm32u5xx_hal_rtc_ex.c2173 uint32_t tmp = READ_REG(TAMP->SMISR); in HAL_RTCEx_TamperIRQHandler() local
2175 uint32_t tmp = READ_REG(TAMP->MISR); in HAL_RTCEx_TamperIRQHandler()
2179 if ((tmp & RTC_TAMPER_1) == RTC_TAMPER_1) in HAL_RTCEx_TamperIRQHandler()
2191 if ((tmp & RTC_TAMPER_2) == RTC_TAMPER_2) in HAL_RTCEx_TamperIRQHandler()
2203 if ((tmp & RTC_TAMPER_3) == RTC_TAMPER_3) in HAL_RTCEx_TamperIRQHandler()
2215 if ((tmp & RTC_TAMPER_4) == RTC_TAMPER_4) in HAL_RTCEx_TamperIRQHandler()
2227 if ((tmp & RTC_TAMPER_5) == RTC_TAMPER_5) in HAL_RTCEx_TamperIRQHandler()
2239 if ((tmp & RTC_TAMPER_6) == RTC_TAMPER_6) in HAL_RTCEx_TamperIRQHandler()
2251 if ((tmp & RTC_TAMPER_7) == RTC_TAMPER_7) in HAL_RTCEx_TamperIRQHandler()
2263 if ((tmp & RTC_TAMPER_8) == RTC_TAMPER_8) in HAL_RTCEx_TamperIRQHandler()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32h5xx/drivers/src/
Dstm32h5xx_hal_gpio.c180 uint32_t tmp; in HAL_GPIO_Init() local
208 tmp = GPIOx->AFR[position >> 3U]; in HAL_GPIO_Init()
209 tmp &= ~(0x0FUL << ((position & 0x07U) * 4U)); in HAL_GPIO_Init()
210 tmp |= ((pGPIO_Init->Alternate & 0x0FUL) << ((position & 0x07U) * 4U)); in HAL_GPIO_Init()
211 GPIOx->AFR[position >> 3U] = tmp; in HAL_GPIO_Init()
215 tmp = GPIOx->MODER; in HAL_GPIO_Init()
216 tmp &= ~(GPIO_MODER_MODE0 << (position * 2U)); in HAL_GPIO_Init()
217 tmp |= ((pGPIO_Init->Mode & GPIO_MODE) << (position * 2U)); in HAL_GPIO_Init()
218 GPIOx->MODER = tmp; in HAL_GPIO_Init()
228 tmp = GPIOx->OSPEEDR; in HAL_GPIO_Init()
[all …]
Dstm32h5xx_hal_rtc_ex.c2311 uint32_t tmp = READ_REG(TAMP->SMISR); in HAL_RTCEx_TamperIRQHandler() local
2314 if ((tmp & RTC_TAMPER_1) == RTC_TAMPER_1) in HAL_RTCEx_TamperIRQHandler()
2326 if ((tmp & RTC_TAMPER_2) == RTC_TAMPER_2) in HAL_RTCEx_TamperIRQHandler()
2340 if ((tmp & RTC_TAMPER_3) == RTC_TAMPER_3) in HAL_RTCEx_TamperIRQHandler()
2352 if ((tmp & RTC_TAMPER_4) == RTC_TAMPER_4) in HAL_RTCEx_TamperIRQHandler()
2364 if ((tmp & RTC_TAMPER_5) == RTC_TAMPER_5) in HAL_RTCEx_TamperIRQHandler()
2376 if ((tmp & RTC_TAMPER_6) == RTC_TAMPER_6) in HAL_RTCEx_TamperIRQHandler()
2391 if ((tmp & RTC_TAMPER_7) == RTC_TAMPER_7) in HAL_RTCEx_TamperIRQHandler()
2403 if ((tmp & RTC_TAMPER_8) == RTC_TAMPER_8) in HAL_RTCEx_TamperIRQHandler()
2417 if ((tmp & RTC_INT_TAMPER_1) == RTC_INT_TAMPER_1) in HAL_RTCEx_TamperIRQHandler()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32c0xx/drivers/src/
Dstm32c0xx_hal_gpio.c175 uint32_t tmp; in HAL_GPIO_Init() local
201 tmp = GPIOx->AFR[position >> 3U]; in HAL_GPIO_Init()
202 tmp &= ~(0xFUL << ((position & 0x07U) * 4U)) ; in HAL_GPIO_Init()
203 tmp |= ((pGPIO_Init->Alternate & 0x0FUL) << ((position & 0x07U) * 4U)); in HAL_GPIO_Init()
204 GPIOx->AFR[position >> 3U] = tmp; in HAL_GPIO_Init()
208 tmp = GPIOx->MODER; in HAL_GPIO_Init()
209 tmp &= ~(GPIO_MODER_MODE0 << (position * 2U)); in HAL_GPIO_Init()
210 tmp |= ((pGPIO_Init->Mode & GPIO_MODE) << (position * 2U)); in HAL_GPIO_Init()
211 GPIOx->MODER = tmp; in HAL_GPIO_Init()
221 tmp = GPIOx->OSPEEDR; in HAL_GPIO_Init()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32f4xx/drivers/src/
Dstm32f4xx_hal_dfsdm.c3719 uint32_t tmp = 0; in HAL_DFSDM_BitstreamClock_Start() local
3721 tmp = SYSCFG->MCHDLYCR; in HAL_DFSDM_BitstreamClock_Start()
3722 tmp = (tmp &(~SYSCFG_MCHDLYCR_BSCKSEL)); in HAL_DFSDM_BitstreamClock_Start()
3724 SYSCFG->MCHDLYCR = (tmp|SYSCFG_MCHDLYCR_BSCKSEL); in HAL_DFSDM_BitstreamClock_Start()
3735 uint32_t tmp = 0U; in HAL_DFSDM_BitstreamClock_Stop() local
3737 tmp = SYSCFG->MCHDLYCR; in HAL_DFSDM_BitstreamClock_Stop()
3738 tmp = (tmp &(~SYSCFG_MCHDLYCR_BSCKSEL)); in HAL_DFSDM_BitstreamClock_Stop()
3740 SYSCFG->MCHDLYCR = tmp; in HAL_DFSDM_BitstreamClock_Stop()
3753 uint32_t tmp = 0U; in HAL_DFSDM_DisableDelayClock() local
3757 tmp = SYSCFG->MCHDLYCR; in HAL_DFSDM_DisableDelayClock()
[all …]
Dstm32f4xx_hal_ltdc.c215 uint32_t tmp; in HAL_LTDC_Init() local
277 tmp = (hltdc->Init.HorizontalSync << 16U); in HAL_LTDC_Init()
278 hltdc->Instance->SSCR |= (tmp | hltdc->Init.VerticalSync); in HAL_LTDC_Init()
282 tmp = (hltdc->Init.AccumulatedHBP << 16U); in HAL_LTDC_Init()
283 hltdc->Instance->BPCR |= (tmp | hltdc->Init.AccumulatedVBP); in HAL_LTDC_Init()
287 tmp = (hltdc->Init.AccumulatedActiveW << 16U); in HAL_LTDC_Init()
288 hltdc->Instance->AWCR |= (tmp | hltdc->Init.AccumulatedActiveH); in HAL_LTDC_Init()
292 tmp = (hltdc->Init.TotalWidth << 16U); in HAL_LTDC_Init()
293 hltdc->Instance->TWCR |= (tmp | hltdc->Init.TotalHeigh); in HAL_LTDC_Init()
296 tmp = ((uint32_t)(hltdc->Init.Backcolor.Green) << 8U); in HAL_LTDC_Init()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32l4xx/drivers/src/
Dstm32l4xx_hal_ltdc.c215 uint32_t tmp; in HAL_LTDC_Init() local
277 tmp = (hltdc->Init.HorizontalSync << 16U); in HAL_LTDC_Init()
278 hltdc->Instance->SSCR |= (tmp | hltdc->Init.VerticalSync); in HAL_LTDC_Init()
282 tmp = (hltdc->Init.AccumulatedHBP << 16U); in HAL_LTDC_Init()
283 hltdc->Instance->BPCR |= (tmp | hltdc->Init.AccumulatedVBP); in HAL_LTDC_Init()
287 tmp = (hltdc->Init.AccumulatedActiveW << 16U); in HAL_LTDC_Init()
288 hltdc->Instance->AWCR |= (tmp | hltdc->Init.AccumulatedActiveH); in HAL_LTDC_Init()
292 tmp = (hltdc->Init.TotalWidth << 16U); in HAL_LTDC_Init()
293 hltdc->Instance->TWCR |= (tmp | hltdc->Init.TotalHeigh); in HAL_LTDC_Init()
296 tmp = ((uint32_t)(hltdc->Init.Backcolor.Green) << 8U); in HAL_LTDC_Init()
[all …]
Dstm32l4xx_hal_dac_ex.c216 uint32_t tmp; in HAL_DACEx_DualSetValue() local
233 tmp = (uint32_t)hdac->Instance; in HAL_DACEx_DualSetValue()
234 tmp += DAC_DHR12RD_ALIGNMENT(Alignment); in HAL_DACEx_DualSetValue()
237 *(__IO uint32_t *)tmp = data; in HAL_DACEx_DualSetValue()
329 __IO uint32_t tmp; in HAL_DACEx_SelfCalibrate() local
364 tmp = (uint32_t)hdac->Instance; in HAL_DACEx_SelfCalibrate()
372 tmp += DAC_DHR12R1_ALIGNMENT(DAC_ALIGN_12B_R); in HAL_DACEx_SelfCalibrate()
376 tmp += DAC_DHR12R2_ALIGNMENT(DAC_ALIGN_12B_R); in HAL_DACEx_SelfCalibrate()
383 tmp += DAC_DHR12R1_ALIGNMENT(DAC_ALIGN_12B_R); in HAL_DACEx_SelfCalibrate()
385 *(__IO uint32_t *) tmp = 0x0800U; in HAL_DACEx_SelfCalibrate()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32f7xx/drivers/src/
Dstm32f7xx_hal_ltdc.c215 uint32_t tmp; in HAL_LTDC_Init() local
277 tmp = (hltdc->Init.HorizontalSync << 16U); in HAL_LTDC_Init()
278 hltdc->Instance->SSCR |= (tmp | hltdc->Init.VerticalSync); in HAL_LTDC_Init()
282 tmp = (hltdc->Init.AccumulatedHBP << 16U); in HAL_LTDC_Init()
283 hltdc->Instance->BPCR |= (tmp | hltdc->Init.AccumulatedVBP); in HAL_LTDC_Init()
287 tmp = (hltdc->Init.AccumulatedActiveW << 16U); in HAL_LTDC_Init()
288 hltdc->Instance->AWCR |= (tmp | hltdc->Init.AccumulatedActiveH); in HAL_LTDC_Init()
292 tmp = (hltdc->Init.TotalWidth << 16U); in HAL_LTDC_Init()
293 hltdc->Instance->TWCR |= (tmp | hltdc->Init.TotalHeigh); in HAL_LTDC_Init()
296 tmp = ((uint32_t)(hltdc->Init.Backcolor.Green) << 8U); in HAL_LTDC_Init()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32h7xx/drivers/src/
Dstm32h7xx_hal_ltdc.c221 uint32_t tmp; in HAL_LTDC_Init() local
283 tmp = (hltdc->Init.HorizontalSync << 16U); in HAL_LTDC_Init()
284 hltdc->Instance->SSCR |= (tmp | hltdc->Init.VerticalSync); in HAL_LTDC_Init()
288 tmp = (hltdc->Init.AccumulatedHBP << 16U); in HAL_LTDC_Init()
289 hltdc->Instance->BPCR |= (tmp | hltdc->Init.AccumulatedVBP); in HAL_LTDC_Init()
293 tmp = (hltdc->Init.AccumulatedActiveW << 16U); in HAL_LTDC_Init()
294 hltdc->Instance->AWCR |= (tmp | hltdc->Init.AccumulatedActiveH); in HAL_LTDC_Init()
298 tmp = (hltdc->Init.TotalWidth << 16U); in HAL_LTDC_Init()
299 hltdc->Instance->TWCR |= (tmp | hltdc->Init.TotalHeigh); in HAL_LTDC_Init()
302 tmp = ((uint32_t)(hltdc->Init.Backcolor.Green) << 8U); in HAL_LTDC_Init()
[all …]
Dstm32h7xx_hal_dac_ex.c470 uint32_t tmp; in HAL_DACEx_DualSetValue() local
487 tmp = (uint32_t)hdac->Instance; in HAL_DACEx_DualSetValue()
488 tmp += DAC_DHR12RD_ALIGNMENT(Alignment); in HAL_DACEx_DualSetValue()
491 *(__IO uint32_t *)tmp = data; in HAL_DACEx_DualSetValue()
579 __IO uint32_t tmp; in HAL_DACEx_SelfCalibrate() local
614 tmp = (uint32_t)hdac->Instance; in HAL_DACEx_SelfCalibrate()
618 tmp += DAC_DHR12R1_ALIGNMENT(DAC_ALIGN_12B_R); in HAL_DACEx_SelfCalibrate()
622 tmp += DAC_DHR12R2_ALIGNMENT(DAC_ALIGN_12B_R); in HAL_DACEx_SelfCalibrate()
625 *(__IO uint32_t *) tmp = 0x0800UL; in HAL_DACEx_SelfCalibrate()
781 uint32_t tmp = 0UL; in HAL_DACEx_DualGetValue() local
[all …]
/hal_stm32-3.5.0/stm32cube/stm32l5xx/drivers/src/
Dstm32l5xx_hal_rtc_ex.c1977 uint32_t tmp; in HAL_RTCEx_TamperIRQHandler() local
1980 tmp = READ_REG(TAMP->SMISR); in HAL_RTCEx_TamperIRQHandler()
1983 WRITE_REG(TAMP->SCR, tmp); in HAL_RTCEx_TamperIRQHandler()
1986 if ((tmp & RTC_TAMPER_1) == RTC_TAMPER_1) in HAL_RTCEx_TamperIRQHandler()
1998 if ((tmp & RTC_TAMPER_2) == RTC_TAMPER_2) in HAL_RTCEx_TamperIRQHandler()
2010 if ((tmp & RTC_TAMPER_3) == RTC_TAMPER_3) in HAL_RTCEx_TamperIRQHandler()
2022 if ((tmp & RTC_TAMPER_4) == RTC_TAMPER_4) in HAL_RTCEx_TamperIRQHandler()
2034 if ((tmp & RTC_TAMPER_5) == RTC_TAMPER_5) in HAL_RTCEx_TamperIRQHandler()
2046 if ((tmp & RTC_TAMPER_6) == RTC_TAMPER_6) in HAL_RTCEx_TamperIRQHandler()
2058 if ((tmp & RTC_TAMPER_7) == RTC_TAMPER_7) in HAL_RTCEx_TamperIRQHandler()
[all …]
Dstm32l5xx_hal_dac_ex.c470 uint32_t tmp; in HAL_DACEx_DualSetValue() local
487 tmp = (uint32_t)hdac->Instance; in HAL_DACEx_DualSetValue()
488 tmp += DAC_DHR12RD_ALIGNMENT(Alignment); in HAL_DACEx_DualSetValue()
491 *(__IO uint32_t *)tmp = data; in HAL_DACEx_DualSetValue()
579 __IO uint32_t tmp; in HAL_DACEx_SelfCalibrate() local
614 tmp = (uint32_t)hdac->Instance; in HAL_DACEx_SelfCalibrate()
618 tmp += DAC_DHR12R1_ALIGNMENT(DAC_ALIGN_12B_R); in HAL_DACEx_SelfCalibrate()
622 tmp += DAC_DHR12R2_ALIGNMENT(DAC_ALIGN_12B_R); in HAL_DACEx_SelfCalibrate()
625 *(__IO uint32_t *) tmp = 0x0800UL; in HAL_DACEx_SelfCalibrate()
781 uint32_t tmp = 0UL; in HAL_DACEx_DualGetValue() local
[all …]
/hal_stm32-3.5.0/stm32cube/stm32f4xx/soc/
Dsystem_stm32f4xx.c222 uint32_t tmp = 0, pllvco = 0, pllp = 2, pllsource = 0, pllm = 2; in SystemCoreClockUpdate() local
225 tmp = RCC->CFGR & RCC_CFGR_SWS; in SystemCoreClockUpdate()
227 switch (tmp) in SystemCoreClockUpdate()
263 tmp = AHBPrescTable[((RCC->CFGR & RCC_CFGR_HPRE) >> 4)]; in SystemCoreClockUpdate()
265 SystemCoreClock >>= tmp; in SystemCoreClockUpdate()
281 __IO uint32_t tmp = 0x00; in SystemInit_ExtMemCtl() local
290 tmp = READ_BIT(RCC->AHB1ENR, RCC_AHB1ENR_GPIOCEN); in SystemInit_ExtMemCtl()
368 tmp = READ_BIT(RCC->AHB3ENR, RCC_AHB3ENR_FMCEN); in SystemInit_ExtMemCtl()
433 (void)(tmp); in SystemInit_ExtMemCtl()
447 __IO uint32_t tmp = 0x00; in SystemInit_ExtMemCtl() local
[all …]
/hal_stm32-3.5.0/stm32cube/stm32mp1xx/drivers/src/
Dstm32mp1xx_hal_rtc_ex.c1926 uint32_t tmp; in HAL_RTCEx_TamperIRQHandler() local
1929 tmp = READ_REG(TAMP->SMISR); in HAL_RTCEx_TamperIRQHandler()
1932 WRITE_REG(TAMP->SCR, tmp); in HAL_RTCEx_TamperIRQHandler()
1935 if ((tmp & RTC_TAMPER_1) == RTC_TAMPER_1) in HAL_RTCEx_TamperIRQHandler()
1947 if ((tmp & RTC_TAMPER_2) == RTC_TAMPER_2) in HAL_RTCEx_TamperIRQHandler()
1959 if ((tmp & RTC_TAMPER_3) == RTC_TAMPER_3) in HAL_RTCEx_TamperIRQHandler()
1971 if ((tmp & RTC_INT_TAMPER_1) == RTC_INT_TAMPER_1) in HAL_RTCEx_TamperIRQHandler()
1983 if ((tmp & RTC_INT_TAMPER_2) == RTC_INT_TAMPER_2) in HAL_RTCEx_TamperIRQHandler()
1995 if ((tmp & RTC_INT_TAMPER_3) == RTC_INT_TAMPER_3) in HAL_RTCEx_TamperIRQHandler()
2007 if ((tmp & RTC_INT_TAMPER_4) == RTC_INT_TAMPER_4) in HAL_RTCEx_TamperIRQHandler()
[all …]
Dstm32mp1xx_hal_dac_ex.c205 uint32_t data, tmp ; in HAL_DACEx_DualSetValue() local
222 tmp = (uint32_t)hdac->Instance; in HAL_DACEx_DualSetValue()
223 tmp += DAC_DHR12RD_ALIGNMENT(Alignment); in HAL_DACEx_DualSetValue()
226 *(__IO uint32_t *)tmp = data; in HAL_DACEx_DualSetValue()
315 __IO uint32_t tmp = 0; in HAL_DACEx_SelfCalibrate() local
352 tmp = (uint32_t)hdac->Instance; in HAL_DACEx_SelfCalibrate()
355 tmp += DAC_DHR12R1_ALIGNMENT(DAC_ALIGN_12B_R); in HAL_DACEx_SelfCalibrate()
359 tmp += DAC_DHR12R2_ALIGNMENT(DAC_ALIGN_12B_R); in HAL_DACEx_SelfCalibrate()
361 *(__IO uint32_t *) tmp = 0x0800; in HAL_DACEx_SelfCalibrate()
527 uint32_t tmp = 0; in HAL_DACEx_DualGetValue() local
[all …]
/hal_stm32-3.5.0/stm32cube/stm32l1xx/drivers/src/
Dstm32l1xx_hal_flash_ex.c1023 uint32_t tmp = 0U, tmp1 = 0U; in FLASH_OB_BORConfig() local
1032 tmp = (uint32_t)~((OB_BOR | tmp1)) << 16U; in FLASH_OB_BORConfig()
1033 tmp |= (OB_BOR | tmp1); in FLASH_OB_BORConfig()
1044 OB->USER = tmp; in FLASH_OB_BORConfig()
1425 uint32_t tmp = 0U, tmp1 = 0U; in FLASH_OB_UserConfig() local
1436tmp = (uint32_t)(((uint32_t)~((uint32_t)((uint32_t)(OB_IWDG) | (uint32_t)(OB_STOP) | (uint32_t)(OB… in FLASH_OB_UserConfig()
1437 tmp |= ((uint32_t)(OB_IWDG) | ((uint32_t)OB_STOP) | (uint32_t)(OB_STDBY) | tmp1); in FLASH_OB_UserConfig()
1448 OB->USER = tmp; in FLASH_OB_UserConfig()
1478 uint32_t tmp = 0U, tmp1 = 0U; in FLASH_OB_BootConfig() local
1487 tmp = (uint32_t)~(OB_BOOT | tmp1) << 16U; in FLASH_OB_BootConfig()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32wbxx/drivers/src/
Dstm32wbxx_hal_gpio.c292 uint32_t tmp; in HAL_GPIO_DeInit() local
309 tmp = SYSCFG->EXTICR[position >> 2u]; in HAL_GPIO_DeInit()
310 tmp &= (0x0FUL << (4u * (position & 0x03u))); in HAL_GPIO_DeInit()
311 if (tmp == (GPIO_GET_INDEX(GPIOx) << (4u * (position & 0x03u)))) in HAL_GPIO_DeInit()
321 tmp = 0x0FuL << (4u * (position & 0x03u)); in HAL_GPIO_DeInit()
322 SYSCFG->EXTICR[position >> 2u] &= ~tmp; in HAL_GPIO_DeInit()
433 uint32_t tmp; in HAL_GPIO_WriteMultipleStatePin() local
440 tmp = (((uint32_t)PinReset << 16) | PinSet); in HAL_GPIO_WriteMultipleStatePin()
441 GPIOx->BSRR = tmp; in HAL_GPIO_WriteMultipleStatePin()
477 __IO uint32_t tmp = GPIO_LCKR_LCKK; in HAL_GPIO_LockPin() local
[all …]
/hal_stm32-3.5.0/stm32cube/stm32wlxx/drivers/src/
Dstm32wlxx_hal_gpio.c303 uint32_t tmp; in HAL_GPIO_DeInit() local
320 tmp = SYSCFG->EXTICR[position >> 2u]; in HAL_GPIO_DeInit()
321 tmp &= (0x07uL << (4U * (position & 0x03U))); in HAL_GPIO_DeInit()
322 if (tmp == (GPIO_GET_INDEX(GPIOx) << (4U * (position & 0x03U)))) in HAL_GPIO_DeInit()
338 tmp = 0x07uL << (4u * (position & 0x03U)); in HAL_GPIO_DeInit()
339 SYSCFG->EXTICR[position >> 2u] &= ~tmp; in HAL_GPIO_DeInit()
450 uint32_t tmp; in HAL_GPIO_WriteMultipleStatePin() local
457 tmp = (((uint32_t)PinReset << 16) | PinSet); in HAL_GPIO_WriteMultipleStatePin()
458 GPIOx->BSRR = tmp; in HAL_GPIO_WriteMultipleStatePin()
495 __IO uint32_t tmp = GPIO_LCKR_LCKK; in HAL_GPIO_LockPin() local
[all …]
/hal_stm32-3.5.0/stm32cube/stm32wbaxx/drivers/src/
Dstm32wbaxx_hal_gpio.c299 uint32_t tmp; in HAL_GPIO_DeInit() local
316 tmp = EXTI->EXTICR[position >> 2u]; in HAL_GPIO_DeInit()
317 tmp &= (0x0FuL << (8u * (position & 0x03u))); in HAL_GPIO_DeInit()
318 if (tmp == (GPIO_GET_INDEX(GPIOx) << (8u * (position & 0x03u)))) in HAL_GPIO_DeInit()
328 tmp = 0x0FuL << (8u * (position & 0x03u)); in HAL_GPIO_DeInit()
329 EXTI->EXTICR[position >> 2u] &= ~tmp; in HAL_GPIO_DeInit()
438 uint32_t tmp; in HAL_GPIO_WriteMultipleStatePin() local
445 tmp = (((uint32_t)PinReset << 16) | PinSet); in HAL_GPIO_WriteMultipleStatePin()
446 GPIOx->BSRR = tmp; in HAL_GPIO_WriteMultipleStatePin()
483 __IO uint32_t tmp = GPIO_LCKR_LCKK; in HAL_GPIO_LockPin() local
[all …]
/hal_stm32-3.5.0/stm32cube/stm32l0xx/drivers/src/
Dstm32l0xx_hal_dac_ex.c95 uint32_t tmp = 0U; in HAL_DACEx_DualGetValue() local
97 tmp |= hdac->Instance->DOR1; in HAL_DACEx_DualGetValue()
99 tmp |= hdac->Instance->DOR2 << 16U; in HAL_DACEx_DualGetValue()
102 return tmp; in HAL_DACEx_DualGetValue()
223 uint32_t data = 0U, tmp = 0U; in HAL_DACEx_DualSetValue() local
240 tmp = (uint32_t)hdac->Instance; in HAL_DACEx_DualSetValue()
241 tmp += DAC_DHR12RD_ALIGNMENT(Alignment); in HAL_DACEx_DualSetValue()
244 *(__IO uint32_t *)tmp = data; in HAL_DACEx_DualSetValue()
650 __IO uint32_t tmp = 0U; in HAL_DAC_SetValue() local
657 tmp = (uint32_t)hdac->Instance; in HAL_DAC_SetValue()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32g0xx/drivers/src/
Dstm32g0xx_hal_dac_ex.c282 uint32_t tmp; in HAL_DACEx_DualSetValue() local
299 tmp = (uint32_t)hdac->Instance; in HAL_DACEx_DualSetValue()
300 tmp += DAC_DHR12RD_ALIGNMENT(Alignment); in HAL_DACEx_DualSetValue()
303 *(__IO uint32_t *)tmp = data; in HAL_DACEx_DualSetValue()
391 __IO uint32_t tmp; in HAL_DACEx_SelfCalibrate() local
426 tmp = (uint32_t)hdac->Instance; in HAL_DACEx_SelfCalibrate()
430 tmp += DAC_DHR12R1_ALIGNMENT(DAC_ALIGN_12B_R); in HAL_DACEx_SelfCalibrate()
434 tmp += DAC_DHR12R2_ALIGNMENT(DAC_ALIGN_12B_R); in HAL_DACEx_SelfCalibrate()
437 *(__IO uint32_t *) tmp = 0x0800UL; in HAL_DACEx_SelfCalibrate()
593 uint32_t tmp = 0UL; in HAL_DACEx_DualGetValue() local
[all …]
/hal_stm32-3.5.0/stm32cube/stm32g4xx/drivers/src/
Dstm32g4xx_hal_rtc_ex.c1671 uint32_t tmp; in HAL_RTCEx_TamperIRQHandler() local
1674 tmp = READ_REG(TAMP->MISR); in HAL_RTCEx_TamperIRQHandler()
1677 tmp &= READ_REG(TAMP->IER); in HAL_RTCEx_TamperIRQHandler()
1680 WRITE_REG(TAMP->SCR, tmp); in HAL_RTCEx_TamperIRQHandler()
1686 if ((tmp & RTC_TAMPER_1) == RTC_TAMPER_1) in HAL_RTCEx_TamperIRQHandler()
1698 if ((tmp & RTC_TAMPER_2) == RTC_TAMPER_2) in HAL_RTCEx_TamperIRQHandler()
1711 if ((tmp & RTC_TAMPER_3) == RTC_TAMPER_3) in HAL_RTCEx_TamperIRQHandler()
1725 if ((tmp & RTC_INT_TAMPER_1) == RTC_INT_TAMPER_1) in HAL_RTCEx_TamperIRQHandler()
1740 if ((tmp & RTC_INT_TAMPER_2) == RTC_INT_TAMPER_2) in HAL_RTCEx_TamperIRQHandler()
1753 if ((tmp & RTC_INT_TAMPER_3) == RTC_INT_TAMPER_3) in HAL_RTCEx_TamperIRQHandler()
[all …]

12345678910>>...19