Home
last modified time | relevance | path

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

123

/loramac-node-3.6.0-3.5.0/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Inc/
Dstm32l4xx_hal_firewall.h183 __IO uint32_t tmpreg; \
187 tmpreg = READ_BIT(FIREWALL->CR, FW_CR_FPA) ; \
188 UNUSED(tmpreg); \
205 __IO uint32_t tmpreg; \
209 tmpreg = READ_BIT(FIREWALL->CR, FW_CR_FPA) ; \
210 UNUSED(tmpreg); \
224 __IO uint32_t tmpreg; \
228 tmpreg = READ_BIT(FIREWALL->CR, FW_CR_VDS) ; \
229 UNUSED(tmpreg); \
244 __IO uint32_t tmpreg; \
[all …]
Dstm32l4xx_ll_bus.h344 __IO uint32_t tmpreg; in LL_AHB1_GRP1_EnableClock() local
347 tmpreg = READ_BIT(RCC->AHB1ENR, Periphs); in LL_AHB1_GRP1_EnableClock()
348 (void)tmpreg; in LL_AHB1_GRP1_EnableClock()
492 __IO uint32_t tmpreg; in LL_AHB1_GRP1_EnableClockStopSleep() local
495 tmpreg = READ_BIT(RCC->AHB1SMENR, Periphs); in LL_AHB1_GRP1_EnableClockStopSleep()
496 (void)tmpreg; in LL_AHB1_GRP1_EnableClockStopSleep()
580 __IO uint32_t tmpreg; in LL_AHB2_GRP1_EnableClock() local
583 tmpreg = READ_BIT(RCC->AHB2ENR, Periphs); in LL_AHB2_GRP1_EnableClock()
584 (void)tmpreg; in LL_AHB2_GRP1_EnableClock()
820 __IO uint32_t tmpreg; in LL_AHB2_GRP1_EnableClockStopSleep() local
[all …]
Dstm32l4xx_hal_rcc.h656 __IO uint32_t tmpreg; \
659tmpreg = READ_BIT(RCC->AHB1ENR, RCC_AHB1ENR_DMA1EN); \
660 UNUSED(tmpreg); \
664 __IO uint32_t tmpreg; \
667tmpreg = READ_BIT(RCC->AHB1ENR, RCC_AHB1ENR_DMA2EN); \
668 UNUSED(tmpreg); \
673 __IO uint32_t tmpreg; \
676tmpreg = READ_BIT(RCC->AHB1ENR, RCC_AHB1ENR_DMAMUX1EN); \
677 UNUSED(tmpreg); \
682 __IO uint32_t tmpreg; \
[all …]
Dstm32l4xx_hal_dsi.h945 __IO uint32_t tmpreg = 0x00U; \
948 tmpreg = READ_BIT((__HANDLE__)->Instance->CR, DSI_CR_EN);\
949 UNUSED(tmpreg); \
958 __IO uint32_t tmpreg = 0x00U; \
961 tmpreg = READ_BIT((__HANDLE__)->Instance->CR, DSI_CR_EN);\
962 UNUSED(tmpreg); \
971 __IO uint32_t tmpreg = 0x00U; \
974tmpreg = READ_BIT((__HANDLE__)->Instance->WCR, DSI_WCR_DSIEN);\
975 UNUSED(tmpreg); \
984 __IO uint32_t tmpreg = 0x00U; \
[all …]
/loramac-node-3.6.0-3.5.0/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Inc/
Dstm32l0xx_hal_firewall.h185 __IO uint32_t tmpreg; \
189 tmpreg = READ_BIT(FIREWALL->CR, FW_CR_FPA) ; \
190 UNUSED(tmpreg); \
207 __IO uint32_t tmpreg; \
211 tmpreg = READ_BIT(FIREWALL->CR, FW_CR_FPA) ; \
212 UNUSED(tmpreg); \
226 __IO uint32_t tmpreg; \
230 tmpreg = READ_BIT(FIREWALL->CR, FW_CR_VDS) ; \
231 UNUSED(tmpreg); \
246 __IO uint32_t tmpreg; \
[all …]
Dstm32l0xx_ll_bus.h242 __IO uint32_t tmpreg; in LL_AHB1_GRP1_EnableClock() local
245 tmpreg = READ_BIT(RCC->AHBENR, Periphs); in LL_AHB1_GRP1_EnableClock()
246 (void)tmpreg; in LL_AHB1_GRP1_EnableClock()
370 __IO uint32_t tmpreg; in LL_AHB1_GRP1_EnableClockSleep() local
373 tmpreg = READ_BIT(RCC->AHBSMENR, Periphs); in LL_AHB1_GRP1_EnableClockSleep()
374 (void)tmpreg; in LL_AHB1_GRP1_EnableClockSleep()
458 __IO uint32_t tmpreg; in LL_APB1_GRP1_EnableClock() local
461 tmpreg = READ_BIT(RCC->APB1ENR, Periphs); in LL_APB1_GRP1_EnableClock()
462 (void)tmpreg; in LL_APB1_GRP1_EnableClock()
714 __IO uint32_t tmpreg; in LL_APB1_GRP1_EnableClockSleep() local
[all …]
Dstm32l0xx_hal_rcc.h691 __IO uint32_t tmpreg; \
694 tmpreg = READ_BIT(RCC->AHBENR, RCC_AHBENR_DMA1EN);\
695 UNUSED(tmpreg); \
699 __IO uint32_t tmpreg; \
702 tmpreg = READ_BIT(RCC->AHBENR, RCC_AHBENR_MIFEN);\
703 UNUSED(tmpreg); \
707 __IO uint32_t tmpreg; \
710 tmpreg = READ_BIT(RCC->AHBENR, RCC_AHBENR_CRCEN);\
711 UNUSED(tmpreg); \
731 __IO uint32_t tmpreg; \
[all …]
Dstm32l0xx_ll_spi.h848 __IO uint32_t tmpreg; in LL_SPI_ClearFlag_MODF() local
849 tmpreg = SPIx->SR; in LL_SPI_ClearFlag_MODF()
850 (void) tmpreg; in LL_SPI_ClearFlag_MODF()
851 tmpreg = CLEAR_BIT(SPIx->CR1, SPI_CR1_SPE); in LL_SPI_ClearFlag_MODF()
852 (void) tmpreg; in LL_SPI_ClearFlag_MODF()
865 __IO uint32_t tmpreg; in LL_SPI_ClearFlag_OVR() local
866 tmpreg = SPIx->DR; in LL_SPI_ClearFlag_OVR()
867 (void) tmpreg; in LL_SPI_ClearFlag_OVR()
868 tmpreg = SPIx->SR; in LL_SPI_ClearFlag_OVR()
869 (void) tmpreg; in LL_SPI_ClearFlag_OVR()
[all …]
/loramac-node-3.6.0-3.5.0/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Inc/
Dstm32l1xx_hal_rcc.h660 __IO uint32_t tmpreg; \
663 tmpreg = READ_BIT(RCC->AHBENR, RCC_AHBENR_GPIOAEN);\
664 UNUSED(tmpreg); \
667 __IO uint32_t tmpreg; \
670 tmpreg = READ_BIT(RCC->AHBENR, RCC_AHBENR_GPIOBEN);\
671 UNUSED(tmpreg); \
674 __IO uint32_t tmpreg; \
677 tmpreg = READ_BIT(RCC->AHBENR, RCC_AHBENR_GPIOCEN);\
678 UNUSED(tmpreg); \
681 __IO uint32_t tmpreg; \
[all …]
Dstm32l1xx_ll_bus.h234 __IO uint32_t tmpreg; in LL_AHB1_GRP1_EnableClock() local
237 tmpreg = READ_BIT(RCC->AHBENR, Periphs); in LL_AHB1_GRP1_EnableClock()
238 (void)tmpreg; in LL_AHB1_GRP1_EnableClock()
442 __IO uint32_t tmpreg; in LL_AHB1_GRP1_EnableClockSleep() local
445 tmpreg = READ_BIT(RCC->AHBLPENR, Periphs); in LL_AHB1_GRP1_EnableClockSleep()
446 (void)tmpreg; in LL_AHB1_GRP1_EnableClockSleep()
549 __IO uint32_t tmpreg; in LL_APB1_GRP1_EnableClock() local
552 tmpreg = READ_BIT(RCC->APB1ENR, Periphs); in LL_APB1_GRP1_EnableClock()
553 (void)tmpreg; in LL_APB1_GRP1_EnableClock()
820 __IO uint32_t tmpreg; in LL_APB1_GRP1_EnableClockSleep() local
[all …]
Dstm32l1xx_hal_rcc_ex.h179 __IO uint32_t tmpreg; \
182 tmpreg = READ_BIT(RCC->AHBENR, RCC_AHBENR_GPIOEEN);\
183 UNUSED(tmpreg); \
194 __IO uint32_t tmpreg; \
197 tmpreg = READ_BIT(RCC->AHBENR, RCC_AHBENR_GPIOFEN);\
198 UNUSED(tmpreg); \
201 __IO uint32_t tmpreg; \
204 tmpreg = READ_BIT(RCC->AHBENR, RCC_AHBENR_GPIOGEN);\
205 UNUSED(tmpreg); \
220 __IO uint32_t tmpreg; \
[all …]
Dstm32l1xx_ll_usart.h1884 __IO uint32_t tmpreg; in LL_USART_ClearFlag_PE() local
1885 tmpreg = USARTx->SR; in LL_USART_ClearFlag_PE()
1886 (void) tmpreg; in LL_USART_ClearFlag_PE()
1887 tmpreg = USARTx->DR; in LL_USART_ClearFlag_PE()
1888 (void) tmpreg; in LL_USART_ClearFlag_PE()
1903 __IO uint32_t tmpreg; in LL_USART_ClearFlag_FE() local
1904 tmpreg = USARTx->SR; in LL_USART_ClearFlag_FE()
1905 (void) tmpreg; in LL_USART_ClearFlag_FE()
1906 tmpreg = USARTx->DR; in LL_USART_ClearFlag_FE()
1907 (void) tmpreg; in LL_USART_ClearFlag_FE()
[all …]
Dstm32l1xx_ll_spi.h851 __IO uint32_t tmpreg; in LL_SPI_ClearFlag_MODF() local
852 tmpreg = SPIx->SR; in LL_SPI_ClearFlag_MODF()
853 (void) tmpreg; in LL_SPI_ClearFlag_MODF()
854 tmpreg = CLEAR_BIT(SPIx->CR1, SPI_CR1_SPE); in LL_SPI_ClearFlag_MODF()
855 (void) tmpreg; in LL_SPI_ClearFlag_MODF()
868 __IO uint32_t tmpreg; in LL_SPI_ClearFlag_OVR() local
869 tmpreg = SPIx->DR; in LL_SPI_ClearFlag_OVR()
870 (void) tmpreg; in LL_SPI_ClearFlag_OVR()
871 tmpreg = SPIx->SR; in LL_SPI_ClearFlag_OVR()
872 (void) tmpreg; in LL_SPI_ClearFlag_OVR()
[all …]
/loramac-node-3.6.0-3.5.0/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Src/
Dstm32l0xx_hal_rtc.c411 uint32_t tmpreg = 0U; in HAL_RTC_SetTime() local
438 tmpreg = (uint32_t)(((uint32_t)RTC_ByteToBcd2(sTime->Hours) << 16U) | \ in HAL_RTC_SetTime()
447 tmpreg = RTC_Bcd2ToByte(sTime->Hours); in HAL_RTC_SetTime()
448 assert_param(IS_RTC_HOUR12(tmpreg)); in HAL_RTC_SetTime()
458 tmpreg = (((uint32_t)(sTime->Hours) << 16U) | \ in HAL_RTC_SetTime()
463 UNUSED(tmpreg); in HAL_RTC_SetTime()
484 hrtc->Instance->TR = (uint32_t)(tmpreg & RTC_TR_RESERVED_MASK); in HAL_RTC_SetTime()
546 uint32_t tmpreg = 0U; in HAL_RTC_GetTime() local
558 tmpreg = (uint32_t)(hrtc->Instance->TR & RTC_TR_RESERVED_MASK); in HAL_RTC_GetTime()
561 sTime->Hours = (uint8_t)((tmpreg & (RTC_TR_HT | RTC_TR_HU)) >> 16U); in HAL_RTC_GetTime()
[all …]
Dstm32l0xx_hal_pwr.c478 uint32_t tmpreg = 0U; in HAL_PWR_EnterSLEEPMode() local
484 tmpreg = PWR->CR; in HAL_PWR_EnterSLEEPMode()
487 CLEAR_BIT(tmpreg, (PWR_CR_PDDS | PWR_CR_LPSDSR)); in HAL_PWR_EnterSLEEPMode()
490 SET_BIT(tmpreg, Regulator); in HAL_PWR_EnterSLEEPMode()
493 PWR->CR = tmpreg; in HAL_PWR_EnterSLEEPMode()
539 uint32_t tmpreg = 0U; in HAL_PWR_EnterSTOPMode() local
546 tmpreg = PWR->CR; in HAL_PWR_EnterSTOPMode()
549 CLEAR_BIT(tmpreg, (PWR_CR_PDDS | PWR_CR_LPSDSR)); in HAL_PWR_EnterSTOPMode()
552 SET_BIT(tmpreg, Regulator); in HAL_PWR_EnterSTOPMode()
555 PWR->CR = tmpreg; in HAL_PWR_EnterSTOPMode()
Dstm32l0xx_hal_dac_ex.c409 uint32_t tmpreg = 0U; in HAL_DAC_Start_DMA() local
440 tmpreg = (uint32_t)&hdac->Instance->DHR12R1; in HAL_DAC_Start_DMA()
444 tmpreg = (uint32_t)&hdac->Instance->DHR12L1; in HAL_DAC_Start_DMA()
448 tmpreg = (uint32_t)&hdac->Instance->DHR8R1; in HAL_DAC_Start_DMA()
453 UNUSED(tmpreg); /* avoid warning on tmpreg affectation with stupid compiler */ in HAL_DAC_Start_DMA()
474 tmpreg = (uint32_t)&hdac->Instance->DHR12R2; in HAL_DAC_Start_DMA()
478 tmpreg = (uint32_t)&hdac->Instance->DHR12L2; in HAL_DAC_Start_DMA()
482 tmpreg = (uint32_t)&hdac->Instance->DHR8R2; in HAL_DAC_Start_DMA()
496 HAL_DMA_Start_IT(hdac->DMA_Handle1, (uint32_t)pData, tmpreg, Length); in HAL_DAC_Start_DMA()
504 HAL_DMA_Start_IT(hdac->DMA_Handle2, (uint32_t)pData, tmpreg, Length); in HAL_DAC_Start_DMA()
[all …]
Dstm32l0xx_hal_i2c_ex.c159 uint32_t tmpreg = 0U; in HAL_I2CEx_ConfigDigitalFilter() local
176 tmpreg = hi2c->Instance->CR1; in HAL_I2CEx_ConfigDigitalFilter()
179 tmpreg &= ~(I2C_CR1_DNF); in HAL_I2CEx_ConfigDigitalFilter()
182 tmpreg |= DigitalFilter << 8U; in HAL_I2CEx_ConfigDigitalFilter()
185 hi2c->Instance->CR1 = tmpreg; in HAL_I2CEx_ConfigDigitalFilter()
/loramac-node-3.6.0-3.5.0/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Src/
Dstm32l4xx_hal_rtc.c807 uint32_t tmpreg; in HAL_RTC_SetTime() local
853 tmpreg = (uint32_t)(((uint32_t)RTC_ByteToBcd2(sTime->Hours) << RTC_TR_HU_Pos) | \ in HAL_RTC_SetTime()
862 tmpreg = RTC_Bcd2ToByte(sTime->Hours); in HAL_RTC_SetTime()
863 assert_param(IS_RTC_HOUR12(tmpreg)); in HAL_RTC_SetTime()
873 tmpreg = (((uint32_t)(sTime->Hours) << RTC_TR_HU_Pos) | \ in HAL_RTC_SetTime()
880 hrtc->Instance->TR = (uint32_t)(tmpreg & RTC_TR_RESERVED_MASK); in HAL_RTC_SetTime()
946 uint32_t tmpreg; in HAL_RTC_GetTime() local
958 tmpreg = (uint32_t)(hrtc->Instance->TR & RTC_TR_RESERVED_MASK); in HAL_RTC_GetTime()
961 sTime->Hours = (uint8_t)((tmpreg & (RTC_TR_HT | RTC_TR_HU)) >> RTC_TR_HU_Pos); in HAL_RTC_GetTime()
962 sTime->Minutes = (uint8_t)((tmpreg & (RTC_TR_MNT | RTC_TR_MNU)) >> RTC_TR_MNU_Pos); in HAL_RTC_GetTime()
[all …]
Dstm32l4xx_hal_rtc_ex.c216 uint32_t tmpreg; in HAL_RTCEx_SetTimeStamp() local
231 tmpreg = (uint32_t)(hrtc->Instance->CR & (uint32_t)~(RTC_CR_TSEDGE | RTC_CR_TSE)); in HAL_RTCEx_SetTimeStamp()
233 tmpreg |= TimeStampEdge; in HAL_RTCEx_SetTimeStamp()
239 hrtc->Instance->CR = (uint32_t)tmpreg; in HAL_RTCEx_SetTimeStamp()
275 uint32_t tmpreg; in HAL_RTCEx_SetTimeStamp_IT() local
290 tmpreg = (uint32_t)(hrtc->Instance->CR & (uint32_t)~(RTC_CR_TSEDGE | RTC_CR_TSE)); in HAL_RTCEx_SetTimeStamp_IT()
292 tmpreg |= TimeStampEdge; in HAL_RTCEx_SetTimeStamp_IT()
298 hrtc->Instance->CR = (uint32_t)tmpreg; in HAL_RTCEx_SetTimeStamp_IT()
327 uint32_t tmpreg; in HAL_RTCEx_DeactivateTimeStamp() local
341 tmpreg = (uint32_t)(hrtc->Instance->CR & (uint32_t)~(RTC_CR_TSEDGE | RTC_CR_TSE)); in HAL_RTCEx_DeactivateTimeStamp()
[all …]
Dstm32l4xx_ll_usb.c921 uint32_t tmpreg; in USB_ReadInterrupts() local
923 tmpreg = USBx->GINTSTS; in USB_ReadInterrupts()
924 tmpreg &= USBx->GINTMSK; in USB_ReadInterrupts()
926 return tmpreg; in USB_ReadInterrupts()
937 uint32_t tmpreg; in USB_ReadDevAllOutEpInterrupt() local
939 tmpreg = USBx_DEVICE->DAINT; in USB_ReadDevAllOutEpInterrupt()
940 tmpreg &= USBx_DEVICE->DAINTMSK; in USB_ReadDevAllOutEpInterrupt()
942 return ((tmpreg & 0xffff0000U) >> 16); in USB_ReadDevAllOutEpInterrupt()
953 uint32_t tmpreg; in USB_ReadDevAllInEpInterrupt() local
955 tmpreg = USBx_DEVICE->DAINT; in USB_ReadDevAllInEpInterrupt()
[all …]
Dstm32l4xx_hal_i2c_ex.c159 uint32_t tmpreg; in HAL_I2CEx_ConfigDigitalFilter() local
176 tmpreg = hi2c->Instance->CR1; in HAL_I2CEx_ConfigDigitalFilter()
179 tmpreg &= ~(I2C_CR1_DNF); in HAL_I2CEx_ConfigDigitalFilter()
182 tmpreg |= DigitalFilter << 8U; in HAL_I2CEx_ConfigDigitalFilter()
185 hi2c->Instance->CR1 = tmpreg; in HAL_I2CEx_ConfigDigitalFilter()
/loramac-node-3.6.0-3.5.0/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Src/
Dstm32l1xx_ll_sdmmc.c214 uint32_t tmpreg = 0; in SDIO_Init() local
226 tmpreg |= (Init.ClockEdge |\ in SDIO_Init()
235 MODIFY_REG(SDIOx->CLKCR, CLKCR_CLEAR_MASK, tmpreg); in SDIO_Init()
353 uint32_t tmpreg = 0; in SDIO_SendCommand() local
365 tmpreg |= (uint32_t)(SDIO_CmdInitStruct->CmdIndex |\ in SDIO_SendCommand()
371 MODIFY_REG(SDIOx->CMD, CMD_CLEAR_MASK, tmpreg); in SDIO_SendCommand()
420 uint32_t tmpreg = 0; in SDIO_DataConfig() local
436 tmpreg |= (uint32_t)(SDIO_DataInitStruct->DataBlockSize |\ in SDIO_DataConfig()
442 MODIFY_REG(SDIOx->DCTRL, DCTRL_CLEAR_MASK, tmpreg); in SDIO_DataConfig()
Dstm32l1xx_hal_rtc_ex.c253 uint32_t tmpreg = 0; in HAL_RTC_GetTime() local
267 tmpreg = (uint32_t)(hrtc->Instance->TR & RTC_TR_RESERVED_MASK); in HAL_RTC_GetTime()
270 sTime->Hours = (uint8_t)((tmpreg & (RTC_TR_HT | RTC_TR_HU)) >> 16); in HAL_RTC_GetTime()
271 sTime->Minutes = (uint8_t)((tmpreg & (RTC_TR_MNT | RTC_TR_MNU)) >>8); in HAL_RTC_GetTime()
272 sTime->Seconds = (uint8_t)(tmpreg & (RTC_TR_ST | RTC_TR_SU)); in HAL_RTC_GetTime()
273 sTime->TimeFormat = (uint8_t)((tmpreg & (RTC_TR_PM)) >> 16); in HAL_RTC_GetTime()
309 uint32_t tmpreg = 0; in HAL_RTC_SetAlarm() local
354 tmpreg = (((uint32_t)RTC_ByteToBcd2(sAlarm->AlarmTime.Hours) << 16) | \ in HAL_RTC_SetAlarm()
366 tmpreg = RTC_Bcd2ToByte(sAlarm->AlarmTime.Hours); in HAL_RTC_SetAlarm()
367 assert_param(IS_RTC_HOUR12(tmpreg)); in HAL_RTC_SetAlarm()
[all …]
Dstm32l1xx_hal_dac.c478 uint32_t tmpreg = 0; in HAL_DAC_Start_DMA() local
509 tmpreg = (uint32_t)&hdac->Instance->DHR12R1; in HAL_DAC_Start_DMA()
513 tmpreg = (uint32_t)&hdac->Instance->DHR12L1; in HAL_DAC_Start_DMA()
517 tmpreg = (uint32_t)&hdac->Instance->DHR8R1; in HAL_DAC_Start_DMA()
542 tmpreg = (uint32_t)&hdac->Instance->DHR12R2; in HAL_DAC_Start_DMA()
546 tmpreg = (uint32_t)&hdac->Instance->DHR12L2; in HAL_DAC_Start_DMA()
550 tmpreg = (uint32_t)&hdac->Instance->DHR8R2; in HAL_DAC_Start_DMA()
564 HAL_DMA_Start_IT(hdac->DMA_Handle1, (uint32_t)pData, tmpreg, Length); in HAL_DAC_Start_DMA()
572 HAL_DMA_Start_IT(hdac->DMA_Handle2, (uint32_t)pData, tmpreg, Length); in HAL_DAC_Start_DMA()
/loramac-node-3.6.0-3.5.0/src/boards/NucleoL152/cmsis/
Dsystem_stm32l1xx.c290 __IO uint32_t tmpreg = 0; in SystemInit_ExtMemCtl() local
299 tmpreg = READ_BIT(RCC->APB1ENR, RCC_APB1ENR_PWREN); in SystemInit_ExtMemCtl()
333 tmpreg = READ_BIT(RCC->AHBENR, RCC_AHBENR_GPIODEN); in SystemInit_ExtMemCtl()
388 tmpreg = READ_BIT(RCC->AHBENR, RCC_AHBENR_FSMCEN); in SystemInit_ExtMemCtl()
390 (void)(tmpreg); in SystemInit_ExtMemCtl()

123