| /external/platform/stm32f4xx/STM32F4xx_StdPeriph_Driver/src/ |
| A D | stm32f4xx_rcc.c | 334 uint32_t tmpreg = 0; in RCC_AdjustHSICalibrationValue() local 338 tmpreg = RCC->CR; in RCC_AdjustHSICalibrationValue() 347 RCC->CR = tmpreg; in RCC_AdjustHSICalibrationValue() 905 tmpreg = RCC->CFGR; in RCC_MCO1Config() 914 RCC->CFGR = tmpreg; in RCC_MCO1Config() 950 tmpreg = RCC->CFGR; in RCC_MCO2Config() 959 RCC->CFGR = tmpreg; in RCC_MCO2Config() 1149 tmpreg = RCC->CFGR; in RCC_SYSCLKConfig() 1158 RCC->CFGR = tmpreg; in RCC_SYSCLKConfig() 1203 tmpreg = RCC->CFGR; in RCC_HCLKConfig() [all …]
|
| A D | stm32f4xx_fmpi2c.c | 162 uint32_t tmpreg = 0; in FMPI2C_Init() local 178 tmpreg = FMPI2Cx->CR1; in FMPI2C_Init() 187 FMPI2Cx->CR1 = tmpreg; in FMPI2C_Init() 200 tmpreg = 0; in FMPI2C_Init() 407 uint32_t tmpreg = 0; in FMPI2C_OwnAddress2Config() local 487 uint32_t tmpreg = 0; in FMPI2C_SlaveAddressConfig() local 630 uint32_t tmpreg = 0; in FMPI2C_NumberOfBytesConfig() local 799 uint32_t tmpreg = 0; in FMPI2C_GetTransferDirection() local 809 if (tmpreg == 0) in FMPI2C_GetTransferDirection() 843 uint32_t tmpreg = 0; in FMPI2C_TransferHandling() local [all …]
|
| A D | stm32f4xx_qspi.c | 214 uint32_t tmpreg = 0; in QSPI_Init() local 227 tmpreg = QUADSPI->CR; in QSPI_Init() 236 QUADSPI->CR = tmpreg; in QSPI_Init() 240 tmpreg = QUADSPI->DCR; in QSPI_Init() 260 uint32_t tmpreg = 0; in QSPI_ComConfig_Init() local 278 tmpreg = QUADSPI->CCR; in QSPI_ComConfig_Init() 376 uint32_t tmpreg = 0; in QSPI_AutoPollingMode_SetInterval() local 406 uint32_t tmpreg = 0; in QSPI_MemoryMappedMode_SetTimeout() local 469 uint32_t tmpreg = 0; in QSPI_SetFIFOThreshold() local 481 QUADSPI->CR = tmpreg; in QSPI_SetFIFOThreshold() [all …]
|
| A D | stm32f4xx_rtc.c | 760 uint32_t tmpreg = 0; in RTC_SetTime() local 882 uint32_t tmpreg = 0; in RTC_GetTime() local 915 uint32_t tmpreg = 0; in RTC_GetSubSecond() local 923 return (tmpreg); in RTC_GetSubSecond() 940 uint32_t tmpreg = 0; in RTC_SetDate() local 1050 uint32_t tmpreg = 0; in RTC_GetDate() local 1110 uint32_t tmpreg = 0; in RTC_SetAlarm() local 1251 uint32_t tmpreg = 0; in RTC_GetAlarm() local 1399 uint32_t tmpreg = 0; in RTC_AlarmSubSecondConfig() local 1440 uint32_t tmpreg = 0; in RTC_GetAlarmSubSecond() local [all …]
|
| A D | stm32f4xx_pwr.c | 226 uint32_t tmpreg = 0; in PWR_PVDLevelConfig() local 231 tmpreg = PWR->CR; in PWR_PVDLevelConfig() 240 PWR->CR = tmpreg; in PWR_PVDLevelConfig() 440 uint32_t tmpreg = 0; in PWR_MainRegulatorModeConfig() local 445 tmpreg = PWR->CR; in PWR_MainRegulatorModeConfig() 454 PWR->CR = tmpreg; in PWR_MainRegulatorModeConfig() 810 uint32_t tmpreg = 0; in PWR_EnterSTOPMode() local 817 tmpreg = PWR->CR; in PWR_EnterSTOPMode() 825 PWR->CR = tmpreg; in PWR_EnterSTOPMode() 881 tmpreg = PWR->CR; in PWR_EnterUnderDriveSTOPMode() [all …]
|
| A D | system_stm32f4xx.c | 977 while((tmpreg != 0) && (timeout-- > 0)) in SystemInit_ExtMemCtl() 988 while((tmpreg != 0) && (timeout-- > 0)) in SystemInit_ExtMemCtl() 996 while((tmpreg != 0) && (timeout-- > 0)) in SystemInit_ExtMemCtl() 1010 tmpreg = FMC_Bank5_6->SDRTR; in SystemInit_ExtMemCtl() 1014 tmpreg = FMC_Bank5_6->SDCR[0]; in SystemInit_ExtMemCtl() 1308 while((tmpreg != 0) & (timeout-- > 0)) in SystemInit_ExtMemCtl() 1319 while((tmpreg != 0) & (timeout-- > 0)) in SystemInit_ExtMemCtl() 1327 while((tmpreg != 0) & (timeout-- > 0)) in SystemInit_ExtMemCtl() 1335 while((tmpreg != 0) & (timeout-- > 0)) in SystemInit_ExtMemCtl() 1341 tmpreg = FMC_Bank5_6->SDRTR; in SystemInit_ExtMemCtl() [all …]
|
| A D | stm32f4xx_dma.c | 314 uint32_t tmpreg = 0; in DMA_Init() local 334 tmpreg = DMAy_Streamx->CR; in DMA_Init() 360 DMAy_Streamx->CR = tmpreg; in DMA_Init() 364 tmpreg = DMAy_Streamx->FCR; in DMA_Init() 972 uint32_t tmpreg = 0; in DMA_GetFIFOStatus() local 980 return tmpreg; in DMA_GetFIFOStatus() 1001 uint32_t tmpreg = 0; in DMA_GetFlagStatus() local 1023 tmpreg = DMAy->HISR; in DMA_GetFlagStatus() 1028 tmpreg = DMAy->LISR; in DMA_GetFlagStatus() 1204 tmpreg = DMAy->HISR ; in DMA_GetITStatus() [all …]
|
| A D | stm32f4xx_sai.c | 218 uint32_t tmpreg = 0; in SAI_Init() local 238 tmpreg = SAI_Block_x->CR1; in SAI_Init() 240 tmpreg &= CR1_CLEAR_MASK; in SAI_Init() 258 SAI_Block_x->CR1 = tmpreg; in SAI_Init() 262 tmpreg = SAI_Block_x->CR2; in SAI_Init() 264 tmpreg &= ~(SAI_xCR2_FTH); in SAI_Init() 269 SAI_Block_x->CR2 = tmpreg; in SAI_Init() 286 uint32_t tmpreg = 0; in SAI_FrameInit() local 334 uint32_t tmpreg = 0; in SAI_SlotInit() local 1131 uint32_t tmpreg = 0; in SAI_GetFIFOStatus() local [all …]
|
| A D | stm32f4xx_wwdg.c | 149 uint32_t tmpreg = 0; in WWDG_SetPrescaler() local 153 tmpreg = WWDG->CFR & CFR_WDGTB_MASK; in WWDG_SetPrescaler() 155 tmpreg |= WWDG_Prescaler; in WWDG_SetPrescaler() 157 WWDG->CFR = tmpreg; in WWDG_SetPrescaler() 168 __IO uint32_t tmpreg = 0; in WWDG_SetWindowValue() local 174 tmpreg = WWDG->CFR & CFR_W_MASK; in WWDG_SetWindowValue() 177 tmpreg |= WindowValue & (uint32_t) BIT_MASK; in WWDG_SetWindowValue() 180 WWDG->CFR = tmpreg; in WWDG_SetWindowValue()
|
| /external/platform/stm32f1xx/STM32F10x_StdPeriph_Driver/src/ |
| A D | stm32f10x_rcc.c | 335 uint32_t tmpreg = 0; in RCC_AdjustHSICalibrationValue() local 338 tmpreg = RCC->CR; in RCC_AdjustHSICalibrationValue() 344 RCC->CR = tmpreg; in RCC_AdjustHSICalibrationValue() 385 tmpreg = RCC->CFGR; in RCC_PLLConfig() 391 RCC->CFGR = tmpreg; in RCC_PLLConfig() 568 tmpreg = RCC->CFGR; in RCC_SYSCLKConfig() 574 RCC->CFGR = tmpreg; in RCC_SYSCLKConfig() 612 tmpreg = RCC->CFGR; in RCC_HCLKConfig() 618 RCC->CFGR = tmpreg; in RCC_HCLKConfig() 638 tmpreg = RCC->CFGR; in RCC_PCLK1Config() [all …]
|
| A D | stm32f10x_gpio.c | 194 tmpreg = GPIOx->CRL; in GPIO_Init() 223 GPIOx->CRL = tmpreg; in GPIO_Init() 229 tmpreg = GPIOx->CRH; in GPIO_Init() 255 GPIOx->CRH = tmpreg; in GPIO_Init() 463 uint32_t tmpreg = 0x00; in GPIO_EventOutputConfig() local 468 tmpreg = AFIO->EVCR; in GPIO_EventOutputConfig() 473 AFIO->EVCR = tmpreg; in GPIO_EventOutputConfig() 556 tmpreg = AFIO->MAPR2; in GPIO_PinRemapConfig() 560 tmpreg = AFIO->MAPR; in GPIO_PinRemapConfig() 574 tmpreg &= ~tmp1; in GPIO_PinRemapConfig() [all …]
|
| A D | stm32f10x_bkp.c | 181 uint16_t tmpreg = 0; in BKP_RTCOutputConfig() local 184 tmpreg = BKP->RTCCR; in BKP_RTCOutputConfig() 186 tmpreg &= RTCCR_MASK; in BKP_RTCOutputConfig() 189 tmpreg |= BKP_RTCOutputSource; in BKP_RTCOutputConfig() 191 BKP->RTCCR = tmpreg; in BKP_RTCOutputConfig() 202 uint16_t tmpreg = 0; in BKP_SetRTCCalibrationValue() local 205 tmpreg = BKP->RTCCR; in BKP_SetRTCCalibrationValue() 207 tmpreg &= RTCCR_CAL_MASK; in BKP_SetRTCCalibrationValue() 209 tmpreg |= CalibrationValue; in BKP_SetRTCCalibrationValue() 211 BKP->RTCCR = tmpreg; in BKP_SetRTCCalibrationValue()
|
| A D | stm32f10x_pwr.c | 159 uint32_t tmpreg = 0; in PWR_PVDLevelConfig() local 162 tmpreg = PWR->CR; in PWR_PVDLevelConfig() 164 tmpreg &= CR_PLS_MASK; in PWR_PVDLevelConfig() 166 tmpreg |= PWR_PVDLevel; in PWR_PVDLevelConfig() 168 PWR->CR = tmpreg; in PWR_PVDLevelConfig() 198 uint32_t tmpreg = 0; in PWR_EnterSTOPMode() local 204 tmpreg = PWR->CR; in PWR_EnterSTOPMode() 206 tmpreg &= CR_DS_MASK; in PWR_EnterSTOPMode() 208 tmpreg |= PWR_Regulator; in PWR_EnterSTOPMode() 210 PWR->CR = tmpreg; in PWR_EnterSTOPMode()
|
| A D | stm32f10x_wwdg.c | 119 uint32_t tmpreg = 0; in WWDG_SetPrescaler() local 123 tmpreg = WWDG->CFR & CFR_WDGTB_Mask; in WWDG_SetPrescaler() 125 tmpreg |= WWDG_Prescaler; in WWDG_SetPrescaler() 127 WWDG->CFR = tmpreg; in WWDG_SetPrescaler() 138 __IO uint32_t tmpreg = 0; in WWDG_SetWindowValue() local 144 tmpreg = WWDG->CFR & CFR_W_Mask; in WWDG_SetWindowValue() 147 tmpreg |= WindowValue & (uint32_t) BIT_Mask; in WWDG_SetWindowValue() 150 WWDG->CFR = tmpreg; in WWDG_SetWindowValue()
|
| /external/platform/stm32f7xx/STM32F7xx_HAL_Driver/Inc/ |
| A D | stm32f7xx_hal_rcc_ex.h | 496 UNUSED(tmpreg); \ 504 UNUSED(tmpreg); \ 512 UNUSED(tmpreg); \ 520 UNUSED(tmpreg); \ 528 UNUSED(tmpreg); \ 536 UNUSED(tmpreg); \ 544 UNUSED(tmpreg); \ 552 UNUSED(tmpreg); \ 560 UNUSED(tmpreg); \ 568 UNUSED(tmpreg); \ [all …]
|
| /external/platform/stm32f7xx/STM32F7xx_HAL_Driver/Src/ |
| A D | stm32f7xx_hal_eth.c | 964 uint32_t tmpreg = 0; in HAL_ETH_ReadPHYRegister() local 1033 uint32_t tmpreg = 0; in HAL_ETH_WritePHYRegister() local 1201 uint32_t tmpreg = 0; in HAL_ETH_ConfigMAC() local 1365 uint32_t tmpreg = 0; in HAL_ETH_ConfigDMA() local 1499 uint32_t tmpreg = 0; in ETH_MACDMAConfig() local 1755 uint32_t tmpreg; in ETH_MACAddressConfig() local 1779 __IO uint32_t tmpreg = 0; in ETH_MACTransmissionEnable() local 1799 __IO uint32_t tmpreg = 0; in ETH_MACTransmissionDisable() local 1819 __IO uint32_t tmpreg = 0; in ETH_MACReceptionEnable() local 1839 __IO uint32_t tmpreg = 0; in ETH_MACReceptionDisable() local [all …]
|
| A D | stm32f7xx_hal_rtc.c | 424 uint32_t tmpreg = 0; in HAL_RTC_SetTime() local 453 tmpreg = RTC_Bcd2ToByte(sTime->Hours); in HAL_RTC_SetTime() 454 assert_param(IS_RTC_HOUR12(tmpreg)); in HAL_RTC_SetTime() 545 uint32_t tmpreg = 0; in HAL_RTC_GetTime() local 744 uint32_t tmpreg = 0, subsecondtmpreg = 0; in HAL_RTC_SetAlarm() local 786 assert_param(IS_RTC_HOUR12(tmpreg)); in HAL_RTC_SetAlarm() 845 hrtc->Instance->ALRMAR = (uint32_t)tmpreg; in HAL_RTC_SetAlarm() 875 hrtc->Instance->ALRMBR = (uint32_t)tmpreg; in HAL_RTC_SetAlarm() 911 uint32_t tmpreg = 0, subsecondtmpreg = 0; in HAL_RTC_SetAlarm_IT() local 952 assert_param(IS_RTC_HOUR12(tmpreg)); in HAL_RTC_SetAlarm_IT() [all …]
|
| /external/platform/stm32f2xx/STM32F2xx_StdPeriph_Driver/src/ |
| A D | stm32f2xx_rcc.c | 300 uint32_t tmpreg = 0; in RCC_AdjustHSICalibrationValue() local 304 tmpreg = RCC->CR; in RCC_AdjustHSICalibrationValue() 313 RCC->CR = tmpreg; in RCC_AdjustHSICalibrationValue() 559 tmpreg = RCC->CFGR; in RCC_MCO1Config() 597 tmpreg = RCC->CFGR; in RCC_MCO2Config() 701 tmpreg = RCC->CFGR; in RCC_SYSCLKConfig() 710 RCC->CFGR = tmpreg; in RCC_SYSCLKConfig() 754 tmpreg = RCC->CFGR; in RCC_HCLKConfig() 763 RCC->CFGR = tmpreg; in RCC_HCLKConfig() 786 tmpreg = RCC->CFGR; in RCC_PCLK1Config() [all …]
|
| A D | stm32f2xx_rtc.c | 708 uint32_t tmpreg = 0; in RTC_SetTime() local 823 uint32_t tmpreg = 0; in RTC_GetTime() local 861 uint32_t tmpreg = 0; in RTC_SetDate() local 963 uint32_t tmpreg = 0; in RTC_GetDate() local 1023 uint32_t tmpreg = 0; in RTC_SetAlarm() local 1113 RTC->ALRMAR = (uint32_t)tmpreg; in RTC_SetAlarm() 1164 uint32_t tmpreg = 0; in RTC_GetAlarm() local 1698 uint32_t tmpreg = 0; in RTC_TimeStampCmd() local 1722 RTC->CR = (uint32_t)tmpreg; in RTC_TimeStampCmd() 2091 uint32_t tmpreg = 0; in RTC_GetFlagStatus() local [all …]
|
| A D | stm32f2xx_dma.c | 319 uint32_t tmpreg = 0; in DMA_Init() local 339 tmpreg = DMAy_Streamx->CR; in DMA_Init() 365 DMAy_Streamx->CR = tmpreg; in DMA_Init() 369 tmpreg = DMAy_Streamx->FCR; in DMA_Init() 967 uint32_t tmpreg = 0; in DMA_GetFIFOStatus() local 975 return tmpreg; in DMA_GetFIFOStatus() 996 uint32_t tmpreg = 0; in DMA_GetFlagStatus() local 1018 tmpreg = DMAy->HISR; in DMA_GetFlagStatus() 1023 tmpreg = DMAy->LISR; in DMA_GetFlagStatus() 1199 tmpreg = DMAy->HISR ; in DMA_GetITStatus() [all …]
|
| A D | stm32f2xx_pwr.c | 186 uint32_t tmpreg = 0; in PWR_PVDLevelConfig() local 191 tmpreg = PWR->CR; in PWR_PVDLevelConfig() 194 tmpreg &= CR_PLS_MASK; in PWR_PVDLevelConfig() 197 tmpreg |= PWR_PVDLevel; in PWR_PVDLevelConfig() 200 PWR->CR = tmpreg; in PWR_PVDLevelConfig() 468 uint32_t tmpreg = 0; in PWR_EnterSTOPMode() local 475 tmpreg = PWR->CR; in PWR_EnterSTOPMode() 477 tmpreg &= CR_DS_MASK; in PWR_EnterSTOPMode() 480 tmpreg |= PWR_Regulator; in PWR_EnterSTOPMode() 483 PWR->CR = tmpreg; in PWR_EnterSTOPMode()
|
| A D | stm32f2xx_wwdg.c | 158 uint32_t tmpreg = 0; in WWDG_SetPrescaler() local 162 tmpreg = WWDG->CFR & CFR_WDGTB_MASK; in WWDG_SetPrescaler() 164 tmpreg |= WWDG_Prescaler; in WWDG_SetPrescaler() 166 WWDG->CFR = tmpreg; in WWDG_SetPrescaler() 177 __IO uint32_t tmpreg = 0; in WWDG_SetWindowValue() local 183 tmpreg = WWDG->CFR & CFR_W_MASK; in WWDG_SetWindowValue() 186 tmpreg |= WindowValue & (uint32_t) BIT_MASK; in WWDG_SetWindowValue() 189 WWDG->CFR = tmpreg; in WWDG_SetWindowValue()
|
| /external/platform/stm32f0xx/STM32F0xx_HAL_Driver/inc/ |
| A D | stm32f0xx_hal_rcc.h | 643 UNUSED(tmpreg); \ 650 UNUSED(tmpreg); \ 657 UNUSED(tmpreg); \ 664 UNUSED(tmpreg); \ 671 UNUSED(tmpreg); \ 678 UNUSED(tmpreg); \ 685 UNUSED(tmpreg); \ 692 UNUSED(tmpreg); \ 746 UNUSED(tmpreg); \ 753 UNUSED(tmpreg); \ [all …]
|
| A D | stm32f0xx_hal_rcc_ex.h | 962 UNUSED(tmpreg); \ 976 UNUSED(tmpreg); \ 993 UNUSED(tmpreg); \ 1010 UNUSED(tmpreg); \ 1033 UNUSED(tmpreg); \ 1054 UNUSED(tmpreg); \ 1075 UNUSED(tmpreg); \ 1096 UNUSED(tmpreg); \ 1103 UNUSED(tmpreg); \ 1123 UNUSED(tmpreg); \ [all …]
|
| /external/platform/stm32f0xx/STM32F0xx_HAL_Driver/ |
| A D | stm32f0xx_hal_rtc.c | 412 uint32_t tmpreg = 0U; in HAL_RTC_SetTime() local 448 tmpreg = RTC_Bcd2ToByte(sTime->Hours); in HAL_RTC_SetTime() 449 assert_param(IS_RTC_HOUR12(tmpreg)); in HAL_RTC_SetTime() 547 uint32_t tmpreg = 0; in HAL_RTC_GetTime() local 757 uint32_t tmpreg = 0U, subsecondtmpreg = 0U; in HAL_RTC_SetAlarm() local 809 assert_param(IS_RTC_HOUR12(tmpreg)); in HAL_RTC_SetAlarm() 871 hrtc->Instance->ALRMAR = (uint32_t)tmpreg; in HAL_RTC_SetAlarm() 905 uint32_t tmpreg = 0U, subsecondtmpreg = 0U; in HAL_RTC_SetAlarm_IT() local 956 assert_param(IS_RTC_HOUR12(tmpreg)); in HAL_RTC_SetAlarm_IT() 1017 hrtc->Instance->ALRMAR = (uint32_t)tmpreg; in HAL_RTC_SetAlarm_IT() [all …]
|