| /bsp/wch/arm/Libraries/CH32F20x_StdPeriph_Driver/StdPeriph_Driver/src/ |
| A D | ch32f20x_pwr.c | 84 uint32_t tmpreg = 0; in PWR_PVDLevelConfig() local 85 tmpreg = PWR->CTLR; in PWR_PVDLevelConfig() 88 PWR->CTLR = tmpreg; in PWR_PVDLevelConfig() 123 uint32_t tmpreg = 0; in PWR_EnterSTOPMode() local 124 tmpreg = PWR->CTLR; in PWR_EnterSTOPMode() 127 PWR->CTLR = tmpreg; in PWR_EnterSTOPMode() 212 tmpreg = PWR->CTLR; in PWR_EnterSTOPMode_RAM() 219 PWR->CTLR = tmpreg; in PWR_EnterSTOPMode_RAM() 249 tmpreg = PWR->CTLR; in PWR_EnterSTOPMode_RAM_LV() 283 tmpreg = PWR->CTLR; in PWR_EnterSTANDBYMode_RAM() [all …]
|
| A D | ch32f20x_rcc.c | 163 uint32_t tmpreg = 0; in RCC_AdjustHSICalibrationValue() local 165 tmpreg = RCC->CTLR; in RCC_AdjustHSICalibrationValue() 168 RCC->CTLR = tmpreg; in RCC_AdjustHSICalibrationValue() 238 uint32_t tmpreg = 0; in RCC_PLLConfig() local 240 tmpreg = RCC->CFGR0; in RCC_PLLConfig() 243 RCC->CFGR0 = tmpreg; in RCC_PLLConfig() 274 uint32_t tmpreg = 0; in RCC_SYSCLKConfig() local 276 tmpreg = RCC->CFGR0; in RCC_SYSCLKConfig() 279 RCC->CFGR0 = tmpreg; in RCC_SYSCLKConfig() 313 uint32_t tmpreg = 0; in RCC_HCLKConfig() local [all …]
|
| A D | ch32f20x_gpio.c | 101 tmpreg = GPIOx->CFGLR; in GPIO_Init() 112 tmpreg &= ~pinmask; in GPIO_Init() 128 GPIOx->CFGLR = tmpreg; in GPIO_Init() 133 tmpreg = GPIOx->CFGHR; in GPIO_Init() 158 GPIOx->CFGHR = tmpreg; in GPIO_Init() 337 uint32_t tmpreg = 0x00; in GPIO_EventOutputConfig() local 339 tmpreg = AFIO->ECR; in GPIO_EventOutputConfig() 343 AFIO->ECR = tmpreg; in GPIO_EventOutputConfig() 407 tmpreg = AFIO->PCFR2; in GPIO_PinRemapConfig() 411 tmpreg = AFIO->PCFR1; in GPIO_PinRemapConfig() [all …]
|
| /bsp/n32/libraries/N32G43x_Firmware_Library/n32g43x_std_periph_driver/src/ |
| A D | n32g43x_pwr.c | 142 uint32_t tmpreg = 0; in PWR_MRconfig() local 144 tmpreg = PWR->CTRL1; in PWR_MRconfig() 149 PWR->CTRL1 = tmpreg; in PWR_MRconfig() 294 uint32_t tmpreg = 0; in PWR_EnterSTOP2Mode() local 299 tmpreg = PWR->CTRL3; in PWR_EnterSTOP2Mode() 304 PWR->CTRL3 = tmpreg; in PWR_EnterSTOP2Mode() 306 tmpreg = PWR->CTRL1; in PWR_EnterSTOP2Mode() 312 PWR->CTRL1 = tmpreg; in PWR_EnterSTOP2Mode() 314 tmpreg = PWR->CTRL3; in PWR_EnterSTOP2Mode() 316 PWR->CTRL3 = tmpreg; in PWR_EnterSTOP2Mode() [all …]
|
| /bsp/n32/libraries/N32L43x_Firmware_Library/n32l43x_std_periph_driver/src/ |
| A D | n32l43x_pwr.c | 143 uint32_t tmpreg = 0; in PWR_MRconfig() local 144 tmpreg = PWR->CTRL1; in PWR_MRconfig() 149 PWR->CTRL1 = tmpreg; in PWR_MRconfig() 288 uint32_t tmpreg = 0; in PWR_EnterSTOP2Mode() local 293 tmpreg = PWR->CTRL3; in PWR_EnterSTOP2Mode() 298 PWR->CTRL3 = tmpreg; in PWR_EnterSTOP2Mode() 300 tmpreg = PWR->CTRL1; in PWR_EnterSTOP2Mode() 306 PWR->CTRL1 = tmpreg; in PWR_EnterSTOP2Mode() 335 uint32_t tmpreg = 0; in PWR_EnterLowPowerRunMode() local 406 uint32_t tmpreg; in PWR_EnterSTANDBYMode() local [all …]
|
| /bsp/n32/libraries/N32L40x_Firmware_Library/n32l40x_std_periph_driver/src/ |
| A D | n32l40x_pwr.c | 142 uint32_t tmpreg = 0; in PWR_MRconfig() local 144 tmpreg = PWR->CTRL1; in PWR_MRconfig() 149 PWR->CTRL1 = tmpreg; in PWR_MRconfig() 291 uint32_t tmpreg = 0; in PWR_EnterSTOP2Mode() local 296 tmpreg = PWR->CTRL3; in PWR_EnterSTOP2Mode() 301 PWR->CTRL3 = tmpreg; in PWR_EnterSTOP2Mode() 303 tmpreg = PWR->CTRL1; in PWR_EnterSTOP2Mode() 309 PWR->CTRL1 = tmpreg; in PWR_EnterSTOP2Mode() 341 uint32_t tmpreg = 0; in PWR_EnterLowPowerRunMode() local 419 uint32_t tmpreg; in PWR_EnterSTANDBYMode() local [all …]
|
| /bsp/ft32/libraries/FT32F0xx/FT32F0xx_Driver/Src/ |
| A D | ft32f0xx_i2c.c | 69 uint32_t tmpreg = 0; in I2C_Init() local 85 tmpreg = I2Cx->CR1; in I2C_Init() 94 I2Cx->CR1 = tmpreg; in I2C_Init() 107 tmpreg = 0; in I2C_Init() 118 I2Cx->OAR1 = tmpreg; in I2C_Init() 127 I2Cx->CR1 |= tmpreg; in I2C_Init() 131 tmpreg = I2Cx->CR2; in I2C_Init() 138 I2Cx->CR2 = tmpreg; in I2C_Init() 682 if (tmpreg == 0) in I2C_GetTransferDirection() 1107 if(tmpreg != 0) in I2C_GetFlagStatus() [all …]
|
| A D | ft32f0xx_adc.c | 66 uint32_t tmpreg = 0; in ADC_Init() local 78 tmpreg = ADCx->CFGR1; in ADC_Init() 97 ADCx->CFGR1 = tmpreg; in ADC_Init() 361 uint32_t tmpreg = 0; in ADC_AnalogWatchdogSingleChannelConfig() local 368 tmpreg = ADCx->CFGR1; in ADC_AnalogWatchdogSingleChannelConfig() 522 uint32_t tmpreg = 0; in ADC_ChannelConfig() local 650 tmpreg = ADCx->DR; in ADC_GetCalibrationFactor() 657 return tmpreg; in ADC_GetCalibrationFactor() 808 uint32_t tmpreg = 0; in ADC_GetFlagStatus() local 1068 tmpreg |= SmpSel; in ADC_IoshSmpSel() [all …]
|
| A D | ft32f0xx_rtc.c | 426 uint32_t tmpreg = 0; in RTC_SetTime() local 549 uint32_t tmpreg = 0; in RTC_GetTime() local 582 uint32_t tmpreg = 0; in RTC_GetSubSecond() local 590 return (tmpreg); in RTC_GetSubSecond() 607 uint32_t tmpreg = 0; in RTC_SetDate() local 717 uint32_t tmpreg = 0; in RTC_GetDate() local 762 uint32_t tmpreg = 0; in RTC_SetAlarm() local 895 uint32_t tmpreg = 0; in RTC_GetAlarm() local 1033 uint32_t tmpreg = 0; in RTC_AlarmSubSecondConfig() local 1065 uint32_t tmpreg = 0; in RTC_GetAlarmSubSecond() local [all …]
|
| A D | ft32f0xx_rcc.c | 165 uint32_t tmpreg = 0; in RCC_AdjustHSICalibrationValue() local 170 tmpreg = RCC->CR; in RCC_AdjustHSICalibrationValue() 179 RCC->CR = tmpreg; in RCC_AdjustHSICalibrationValue() 225 uint32_t tmpreg = 0; in RCC_AdjustHSI14CalibrationValue() local 230 tmpreg = RCC->CR2; in RCC_AdjustHSI14CalibrationValue() 239 RCC->CR2 = tmpreg; in RCC_AdjustHSI14CalibrationValue() 539 tmpreg = RCC->CFGR; in RCC_MCOConfig() 545 RCC->CFGR = tmpreg; in RCC_MCOConfig() 578 tmpreg = RCC->CFGR; in RCC_SYSCLKConfig() 587 RCC->CFGR = tmpreg; in RCC_SYSCLKConfig() [all …]
|
| /bsp/hk32/libraries/HK32F0xx_StdPeriph_Driver/src/ |
| A D | hk32f0xx_i2c.c | 147 uint32_t tmpreg = 0; in I2C_Init() local 163 tmpreg = I2Cx->CR1; in I2C_Init() 172 I2Cx->CR1 = tmpreg; in I2C_Init() 185 tmpreg = 0; in I2C_Init() 196 I2Cx->OAR1 = tmpreg; in I2C_Init() 205 I2Cx->CR1 |= tmpreg; in I2C_Init() 209 tmpreg = I2Cx->CR2; in I2C_Init() 216 I2Cx->CR2 = tmpreg; in I2C_Init() 821 if (tmpreg == 0) in I2C_GetTransferDirection() 1409 if (tmpreg != 0) in I2C_GetFlagStatus() [all …]
|
| A D | hk32f0xx_rcc.c | 237 uint32_t tmpreg = 0; in RCC_AdjustHSICalibrationValue() local 242 tmpreg = RCC->CR; in RCC_AdjustHSICalibrationValue() 251 RCC->CR = tmpreg; in RCC_AdjustHSICalibrationValue() 297 uint32_t tmpreg = 0; in RCC_AdjustHSI14CalibrationValue() local 302 tmpreg = RCC->CR2; in RCC_AdjustHSI14CalibrationValue() 311 RCC->CR2 = tmpreg; in RCC_AdjustHSI14CalibrationValue() 625 tmpreg = RCC->CFGR; in RCC_MCOConfig() 631 RCC->CFGR = tmpreg; in RCC_MCOConfig() 738 tmpreg = RCC->CFGR; in RCC_SYSCLKConfig() 747 RCC->CFGR = tmpreg; in RCC_SYSCLKConfig() [all …]
|
| A D | hk32f0xx_rtc.c | 672 uint32_t tmpreg = 0; in RTC_SetTime() local 796 uint32_t tmpreg = 0; in RTC_GetTime() local 829 uint32_t tmpreg = 0; in RTC_GetSubSecond() local 837 return (tmpreg); in RTC_GetSubSecond() 854 uint32_t tmpreg = 0; in RTC_SetDate() local 965 uint32_t tmpreg = 0; in RTC_GetDate() local 1025 uint32_t tmpreg = 0; in RTC_SetAlarm() local 1159 uint32_t tmpreg = 0; in RTC_GetAlarm() local 1299 uint32_t tmpreg = 0; in RTC_AlarmSubSecondConfig() local 1332 uint32_t tmpreg = 0; in RTC_GetAlarmSubSecond() local [all …]
|
| /bsp/wch/risc-v/Libraries/CH32V10x_StdPeriph_Driver/StdPeriph_Driver/src/ |
| A D | ch32v10x_rcc.c | 157 uint32_t tmpreg = 0; in RCC_AdjustHSICalibrationValue() local 159 tmpreg = RCC->CTLR; in RCC_AdjustHSICalibrationValue() 162 RCC->CTLR = tmpreg; in RCC_AdjustHSICalibrationValue() 205 uint32_t tmpreg = 0; in RCC_PLLConfig() local 207 tmpreg = RCC->CFGR0; in RCC_PLLConfig() 210 RCC->CFGR0 = tmpreg; in RCC_PLLConfig() 248 uint32_t tmpreg = 0; in RCC_SYSCLKConfig() local 250 tmpreg = RCC->CFGR0; in RCC_SYSCLKConfig() 253 RCC->CFGR0 = tmpreg; in RCC_SYSCLKConfig() 291 uint32_t tmpreg = 0; in RCC_HCLKConfig() local [all …]
|
| A D | ch32v10x_gpio.c | 111 tmpreg = GPIOx->CFGLR; in GPIO_Init() 138 GPIOx->CFGLR = tmpreg; in GPIO_Init() 143 tmpreg = GPIOx->CFGHR; in GPIO_Init() 168 GPIOx->CFGHR = tmpreg; in GPIO_Init() 380 uint32_t tmpreg = 0x00; in GPIO_EventOutputConfig() local 382 tmpreg = AFIO->ECR; in GPIO_EventOutputConfig() 385 tmpreg |= GPIO_PinSource; in GPIO_EventOutputConfig() 386 AFIO->ECR = tmpreg; in GPIO_EventOutputConfig() 473 tmpreg = AFIO->PCFR2; in GPIO_PinRemapConfig() 477 tmpreg = AFIO->PCFR1; in GPIO_PinRemapConfig() [all …]
|
| A D | ch32v10x_pwr.c | 95 uint32_t tmpreg = 0; in PWR_PVDLevelConfig() local 96 tmpreg = PWR->CTLR; in PWR_PVDLevelConfig() 97 tmpreg &= CTLR_PLS_MASK; in PWR_PVDLevelConfig() 98 tmpreg |= PWR_PVDLevel; in PWR_PVDLevelConfig() 99 PWR->CTLR = tmpreg; in PWR_PVDLevelConfig() 140 uint32_t tmpreg = 0; in PWR_EnterSTOPMode() local 141 tmpreg = PWR->CTLR; in PWR_EnterSTOPMode() 142 tmpreg &= CTLR_DS_MASK; in PWR_EnterSTOPMode() 143 tmpreg |= PWR_Regulator; in PWR_EnterSTOPMode() 144 PWR->CTLR = tmpreg; in PWR_EnterSTOPMode()
|
| /bsp/wch/arm/Libraries/CH32F10x_StdPeriph_Driver/StdPeriph_Driver/src/ |
| A D | ch32f10x_rcc.c | 185 uint32_t tmpreg = 0; in RCC_AdjustHSICalibrationValue() local 187 tmpreg = RCC->CTLR; in RCC_AdjustHSICalibrationValue() 190 RCC->CTLR = tmpreg; in RCC_AdjustHSICalibrationValue() 220 uint32_t tmpreg = 0; in RCC_PLLConfig() local 222 tmpreg = RCC->CFGR0; in RCC_PLLConfig() 225 RCC->CFGR0 = tmpreg; in RCC_PLLConfig() 250 uint32_t tmpreg = 0; in RCC_SYSCLKConfig() local 252 tmpreg = RCC->CFGR0; in RCC_SYSCLKConfig() 255 RCC->CFGR0 = tmpreg; in RCC_SYSCLKConfig() 289 uint32_t tmpreg = 0; in RCC_HCLKConfig() local [all …]
|
| A D | ch32f10x_gpio.c | 118 tmpreg = GPIOx->CFGLR; in GPIO_Init() 129 tmpreg &= ~pinmask; in GPIO_Init() 145 GPIOx->CFGLR = tmpreg; in GPIO_Init() 150 tmpreg = GPIOx->CFGHR; in GPIO_Init() 175 GPIOx->CFGHR = tmpreg; in GPIO_Init() 354 uint32_t tmpreg = 0x00; in GPIO_EventOutputConfig() local 356 tmpreg = AFIO->ECR; in GPIO_EventOutputConfig() 360 AFIO->ECR = tmpreg; in GPIO_EventOutputConfig() 417 tmpreg = AFIO->PCFR2; in GPIO_PinRemapConfig() 421 tmpreg = AFIO->PCFR1; in GPIO_PinRemapConfig() [all …]
|
| /bsp/stm32/stm32f407-lckfb-skystar/board/CubeMX_Config/Src/ |
| A D | system_stm32f4xx.c | 377 while((tmpreg != 0) && (timeout-- > 0)) in SystemInit_ExtMemCtl() 389 while((tmpreg != 0) && (timeout-- > 0)) in SystemInit_ExtMemCtl() 398 while((tmpreg != 0) && (timeout-- > 0)) in SystemInit_ExtMemCtl() 407 while((tmpreg != 0) && (timeout-- > 0)) in SystemInit_ExtMemCtl() 413 tmpreg = FMC_Bank5_6->SDRTR; in SystemInit_ExtMemCtl() 417 tmpreg = FMC_Bank5_6->SDCR[0]; in SystemInit_ExtMemCtl() 585 while((tmpreg != 0) && (timeout-- > 0)) in SystemInit_ExtMemCtl() 597 while((tmpreg != 0) && (timeout-- > 0)) in SystemInit_ExtMemCtl() 610 while((tmpreg != 0) && (timeout-- > 0)) in SystemInit_ExtMemCtl() 629 tmpreg = FMC_Bank5_6->SDRTR; in SystemInit_ExtMemCtl() [all …]
|
| /bsp/airm2m/air32f103/libraries/AIR32F10xLib/src/ |
| A D | air32f10x_rcc.c | 252 tmpreg = RCC->CR; in RCC_AdjustHSICalibrationValue() 258 RCC->CR = tmpreg; in RCC_AdjustHSICalibrationValue() 299 tmpreg = RCC->CFGR; in RCC_PLLConfig() 305 RCC->CFGR = tmpreg; in RCC_PLLConfig() 336 tmpreg = RCC->CFGR; in RCC_SYSCLKConfig() 342 RCC->CFGR = tmpreg; in RCC_SYSCLKConfig() 380 tmpreg = RCC->CFGR; in RCC_HCLKConfig() 386 RCC->CFGR = tmpreg; in RCC_HCLKConfig() 406 tmpreg = RCC->CFGR; in RCC_PCLK1Config() 410 tmpreg |= RCC_HCLK; in RCC_PCLK1Config() [all …]
|
| /bsp/mm32l3xx/Libraries/MM32L3xx/HAL_lib/src/ |
| A D | HAL_gpio.c | 173 tmpreg = GPIOx->CRL; in GPIO_Init() 202 GPIOx->CRL = tmpreg; in GPIO_Init() 208 tmpreg = GPIOx->CRH; in GPIO_Init() 234 GPIOx->CRH = tmpreg; in GPIO_Init() 447 uint32_t tmpreg = 0x00; in GPIO_EventOutputConfig() local 452 tmpreg = AFIO->EVCR; in GPIO_EventOutputConfig() 456 tmpreg |= GPIO_PinSource; in GPIO_EventOutputConfig() 457 AFIO->EVCR = tmpreg; in GPIO_EventOutputConfig() 514 tmpreg = AFIO->MAPR; in GPIO_PinRemapConfig() 525 tmpreg &= ~tmp1; in GPIO_PinRemapConfig() [all …]
|
| A D | HAL_rcc.c | 271 uint32_t tmpreg = 0; in RCC_AdjustHSICalibrationValue() local 274 tmpreg = RCC->CR; in RCC_AdjustHSICalibrationValue() 280 RCC->CR = tmpreg; in RCC_AdjustHSICalibrationValue() 363 tmpreg = RCC->CFGR; in RCC_PLLConfig() 369 RCC->CFGR = tmpreg; in RCC_PLLConfig() 470 tmpreg = RCC->CFGR; in RCC_SYSCLKConfig() 476 RCC->CFGR = tmpreg; in RCC_SYSCLKConfig() 514 tmpreg = RCC->CFGR; in RCC_HCLKConfig() 520 RCC->CFGR = tmpreg; in RCC_HCLKConfig() 540 tmpreg = RCC->CFGR; in RCC_PCLK1Config() [all …]
|
| /bsp/mm32f103x/Libraries/MM32F103/HAL_lib/src/ |
| A D | HAL_gpio.c | 173 tmpreg = GPIOx->CRL; in GPIO_Init() 202 GPIOx->CRL = tmpreg; in GPIO_Init() 208 tmpreg = GPIOx->CRH; in GPIO_Init() 234 GPIOx->CRH = tmpreg; in GPIO_Init() 447 uint32_t tmpreg = 0x00; in GPIO_EventOutputConfig() local 452 tmpreg = AFIO->EVCR; in GPIO_EventOutputConfig() 456 tmpreg |= GPIO_PinSource; in GPIO_EventOutputConfig() 457 AFIO->EVCR = tmpreg; in GPIO_EventOutputConfig() 514 tmpreg = AFIO->MAPR; in GPIO_PinRemapConfig() 525 tmpreg &= ~tmp1; in GPIO_PinRemapConfig() [all …]
|
| A D | HAL_rcc.c | 272 uint32_t tmpreg = 0; in RCC_AdjustHSICalibrationValue() local 275 tmpreg = RCC->CR; in RCC_AdjustHSICalibrationValue() 281 RCC->CR = tmpreg; in RCC_AdjustHSICalibrationValue() 364 tmpreg = RCC->CFGR; in RCC_PLLConfig() 370 RCC->CFGR = tmpreg; in RCC_PLLConfig() 471 tmpreg = RCC->CFGR; in RCC_SYSCLKConfig() 477 RCC->CFGR = tmpreg; in RCC_SYSCLKConfig() 515 tmpreg = RCC->CFGR; in RCC_HCLKConfig() 521 RCC->CFGR = tmpreg; in RCC_HCLKConfig() 541 tmpreg = RCC->CFGR; in RCC_PCLK1Config() [all …]
|
| /bsp/stm32/libraries/STM32L1xx_HAL/STM32L1xx_HAL_Driver/Inc/ |
| A D | stm32l1xx_ll_bus.h | 218 __IO uint32_t tmpreg; in LL_AHB1_GRP1_EnableClock() local 222 (void)tmpreg; in LL_AHB1_GRP1_EnableClock() 426 __IO uint32_t tmpreg; in LL_AHB1_GRP1_EnableClockSleep() local 430 (void)tmpreg; in LL_AHB1_GRP1_EnableClockSleep() 533 __IO uint32_t tmpreg; in LL_APB1_GRP1_EnableClock() local 537 (void)tmpreg; in LL_APB1_GRP1_EnableClock() 804 __IO uint32_t tmpreg; in LL_APB1_GRP1_EnableClockSleep() local 808 (void)tmpreg; in LL_APB1_GRP1_EnableClockSleep() 897 __IO uint32_t tmpreg; in LL_APB2_GRP1_EnableClock() local 901 (void)tmpreg; in LL_APB2_GRP1_EnableClock() [all …]
|