Home
last modified time | relevance | path

Searched refs:tmpreg (Results 1 – 25 of 89) sorted by relevance

1234

/lk-master/external/platform/stm32f4xx/STM32F4xx_StdPeriph_Driver/src/
A Dstm32f4xx_fmpi2c.c170 uint32_t tmpreg = 0; in FMPI2C_Init() local
186 tmpreg = FMPI2Cx->CR1; in FMPI2C_Init()
195 FMPI2Cx->CR1 = tmpreg; in FMPI2C_Init()
208 tmpreg = 0; in FMPI2C_Init()
440 uint32_t tmpreg = 0; in FMPI2C_OwnAddress2Config() local
520 uint32_t tmpreg = 0; in FMPI2C_SlaveAddressConfig() local
663 uint32_t tmpreg = 0; in FMPI2C_NumberOfBytesConfig() local
832 uint32_t tmpreg = 0; in FMPI2C_GetTransferDirection() local
842 if (tmpreg == 0) in FMPI2C_GetTransferDirection()
876 uint32_t tmpreg = 0; in FMPI2C_TransferHandling() local
[all …]
A Dstm32f4xx_qspi.c222 uint32_t tmpreg = 0; in QSPI_Init() local
235 tmpreg = QUADSPI->CR; in QSPI_Init()
244 QUADSPI->CR = tmpreg; in QSPI_Init()
248 tmpreg = QUADSPI->DCR; in QSPI_Init()
268 uint32_t tmpreg = 0; in QSPI_ComConfig_Init() local
286 tmpreg = QUADSPI->CCR; in QSPI_ComConfig_Init()
384 uint32_t tmpreg = 0; in QSPI_AutoPollingMode_SetInterval() local
414 uint32_t tmpreg = 0; in QSPI_MemoryMappedMode_SetTimeout() local
477 uint32_t tmpreg = 0; in QSPI_SetFIFOThreshold() local
489 QUADSPI->CR = tmpreg; in QSPI_SetFIFOThreshold()
[all …]
A Dstm32f4xx_rcc.c320 uint32_t tmpreg = 0; in RCC_AdjustHSICalibrationValue() local
324 tmpreg = RCC->CR; in RCC_AdjustHSICalibrationValue()
333 RCC->CR = tmpreg; in RCC_AdjustHSICalibrationValue()
853 tmpreg = RCC->CFGR; in RCC_MCO1Config()
891 tmpreg = RCC->CFGR; in RCC_MCO2Config()
1086 tmpreg = RCC->CFGR; in RCC_SYSCLKConfig()
1095 RCC->CFGR = tmpreg; in RCC_SYSCLKConfig()
1140 tmpreg = RCC->CFGR; in RCC_HCLKConfig()
1149 RCC->CFGR = tmpreg; in RCC_HCLKConfig()
1172 tmpreg = RCC->CFGR; in RCC_PCLK1Config()
[all …]
A Dstm32f4xx_rtc.c767 uint32_t tmpreg = 0; in RTC_SetTime() local
889 uint32_t tmpreg = 0; in RTC_GetTime() local
922 uint32_t tmpreg = 0; in RTC_GetSubSecond() local
930 return (tmpreg); in RTC_GetSubSecond()
947 uint32_t tmpreg = 0; in RTC_SetDate() local
1057 uint32_t tmpreg = 0; in RTC_GetDate() local
1117 uint32_t tmpreg = 0; in RTC_SetAlarm() local
1258 uint32_t tmpreg = 0; in RTC_GetAlarm() local
1406 uint32_t tmpreg = 0; in RTC_AlarmSubSecondConfig() local
1447 uint32_t tmpreg = 0; in RTC_GetAlarmSubSecond() local
[all …]
A Dstm32f4xx_pwr.c229 uint32_t tmpreg = 0; in PWR_PVDLevelConfig() local
234 tmpreg = PWR->CR; in PWR_PVDLevelConfig()
243 PWR->CR = tmpreg; in PWR_PVDLevelConfig()
435 uint32_t tmpreg = 0; in PWR_MainRegulatorModeConfig() local
440 tmpreg = PWR->CR; in PWR_MainRegulatorModeConfig()
449 PWR->CR = tmpreg; in PWR_MainRegulatorModeConfig()
805 uint32_t tmpreg = 0; in PWR_EnterSTOPMode() local
812 tmpreg = PWR->CR; in PWR_EnterSTOPMode()
820 PWR->CR = tmpreg; in PWR_EnterSTOPMode()
876 tmpreg = PWR->CR; in PWR_EnterUnderDriveSTOPMode()
[all …]
A Dstm32f4xx_sai.c222 uint32_t tmpreg = 0; in SAI_Init() local
241 tmpreg = SAI_Block_x->CR1; in SAI_Init()
243 tmpreg &= CR1_CLEAR_MASK; in SAI_Init()
261 SAI_Block_x->CR1 = tmpreg; in SAI_Init()
265 tmpreg = SAI_Block_x->CR2; in SAI_Init()
267 tmpreg &= ~(SAI_xCR2_FTH); in SAI_Init()
272 SAI_Block_x->CR2 = tmpreg; in SAI_Init()
289 uint32_t tmpreg = 0; in SAI_FrameInit() local
337 uint32_t tmpreg = 0; in SAI_SlotInit() local
1066 uint32_t tmpreg = 0; in SAI_GetFIFOStatus() local
[all …]
A Dstm32f4xx_wwdg.c156 uint32_t tmpreg = 0; in WWDG_SetPrescaler() local
160 tmpreg = WWDG->CFR & CFR_WDGTB_MASK; in WWDG_SetPrescaler()
162 tmpreg |= WWDG_Prescaler; in WWDG_SetPrescaler()
164 WWDG->CFR = tmpreg; in WWDG_SetPrescaler()
175 __IO uint32_t tmpreg = 0; in WWDG_SetWindowValue() local
181 tmpreg = WWDG->CFR & CFR_W_MASK; in WWDG_SetWindowValue()
184 tmpreg |= WindowValue & (uint32_t) BIT_MASK; in WWDG_SetWindowValue()
187 WWDG->CFR = tmpreg; in WWDG_SetWindowValue()
A Dstm32f4xx_dma.c321 uint32_t tmpreg = 0; in DMA_Init() local
341 tmpreg = DMAy_Streamx->CR; in DMA_Init()
367 DMAy_Streamx->CR = tmpreg; in DMA_Init()
371 tmpreg = DMAy_Streamx->FCR; in DMA_Init()
979 uint32_t tmpreg = 0; in DMA_GetFIFOStatus() local
987 return tmpreg; in DMA_GetFIFOStatus()
1008 uint32_t tmpreg = 0; in DMA_GetFlagStatus() local
1030 tmpreg = DMAy->HISR; in DMA_GetFlagStatus()
1035 tmpreg = DMAy->LISR; in DMA_GetFlagStatus()
1211 tmpreg = DMAy->HISR ; in DMA_GetITStatus()
[all …]
/lk-master/external/platform/stm32f1xx/STM32F10x_StdPeriph_Driver/src/
A Dstm32f10x_rcc.c335 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 Dstm32f10x_gpio.c194 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 Dstm32f10x_bkp.c181 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 Dstm32f10x_pwr.c159 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 Dstm32f10x_wwdg.c119 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()
A Dstm32f10x_usart.c197 tmpreg = USARTx->CR2; in USART_Init()
199 tmpreg &= CR2_STOP_CLEAR_Mask; in USART_Init()
205 USARTx->CR2 = (uint16_t)tmpreg; in USART_Init()
208 tmpreg = USARTx->CR1; in USART_Init()
210 tmpreg &= CR1_CLEAR_Mask; in USART_Init()
218 USARTx->CR1 = (uint16_t)tmpreg; in USART_Init()
221 tmpreg = USARTx->CR3; in USART_Init()
223 tmpreg &= CR3_CLEAR_Mask; in USART_Init()
228 USARTx->CR3 = (uint16_t)tmpreg; in USART_Init()
301 uint32_t tmpreg = 0x00; in USART_ClockInit() local
[all …]
/lk-master/external/platform/stm32f7xx/STM32F7xx_HAL_Driver/Inc/
A Dstm32f7xx_hal_rcc_ex.h496 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 …]
/lk-master/external/platform/stm32f7xx/STM32F7xx_HAL_Driver/Src/
A Dstm32f7xx_hal_eth.c964 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 Dstm32f7xx_hal_rtc.c424 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 …]
/lk-master/external/platform/stm32f2xx/STM32F2xx_StdPeriph_Driver/src/
A Dstm32f2xx_rcc.c300 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 Dstm32f2xx_rtc.c708 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 Dstm32f2xx_wwdg.c158 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()
A Dstm32f2xx_pwr.c186 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 Dstm32f2xx_dma.c319 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 Dstm32f2xx_usart.c256 tmpreg = USARTx->CR2; in USART_Init()
266 USARTx->CR2 = (uint16_t)tmpreg; in USART_Init()
269 tmpreg = USARTx->CR1; in USART_Init()
282 USARTx->CR1 = (uint16_t)tmpreg; in USART_Init()
285 tmpreg = USARTx->CR3; in USART_Init()
295 USARTx->CR3 = (uint16_t)tmpreg; in USART_Init()
321 tmpreg = (integerdivider / 100) << 4; in USART_Init()
337 USARTx->BRR = (uint16_t)tmpreg; in USART_Init()
368 uint32_t tmpreg = 0x00; in USART_ClockInit() local
377 tmpreg = USARTx->CR2; in USART_ClockInit()
[all …]
/lk-master/external/platform/stm32f0xx/STM32F0xx_HAL_Driver/inc/
A Dstm32f0xx_hal_rcc.h643 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 Dstm32f0xx_hal_rcc_ex.h962 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 …]

Completed in 182 milliseconds

1234