Home
last modified time | relevance | path

Searched refs:CLEAR_BIT (Results 1 – 25 of 234) sorted by relevance

12345678910

/loramac-node-2.7.6/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Src/
Dstm32l4xx_hal_pwr_ex.c193 CLEAR_BIT(PWR->CR5, PWR_CR5_R1MODE); in HAL_PWREx_ControlVoltageScaling()
213 CLEAR_BIT(PWR->CR5, PWR_CR5_R1MODE); in HAL_PWREx_ControlVoltageScaling()
317 CLEAR_BIT(PWR->CR4, PWR_CR4_VBE); in HAL_PWREx_DisableBatteryCharging()
339 CLEAR_BIT(PWR->CR2, PWR_CR2_USV); in HAL_PWREx_DisableVddUSB()
361 CLEAR_BIT(PWR->CR2, PWR_CR2_IOSV); in HAL_PWREx_DisableVddIO2()
382 CLEAR_BIT(PWR->CR3, PWR_CR3_EIWF); in HAL_PWREx_DisableInternalWakeUpLine()
419 CLEAR_BIT(PWR->PDCRA, (GPIONumber & (~(PWR_GPIO_BIT_13|PWR_GPIO_BIT_15)))); in HAL_PWREx_EnableGPIOPullUp()
423 CLEAR_BIT(PWR->PDCRB, (GPIONumber & (~(PWR_GPIO_BIT_4)))); in HAL_PWREx_EnableGPIOPullUp()
427 CLEAR_BIT(PWR->PDCRC, GPIONumber); in HAL_PWREx_EnableGPIOPullUp()
432 CLEAR_BIT(PWR->PDCRD, GPIONumber); in HAL_PWREx_EnableGPIOPullUp()
[all …]
Dstm32l4xx_hal_smartcard.c379 CLEAR_BIT(hsmartcard->Instance->CR1, USART_CR1_UE); in HAL_SMARTCARD_Init()
384 CLEAR_BIT(hsmartcard->Instance->CR2, USART_CR2_LINEN); in HAL_SMARTCARD_Init()
385 CLEAR_BIT(hsmartcard->Instance->CR3, (USART_CR3_HDSEL | USART_CR3_IREN)); in HAL_SMARTCARD_Init()
431 CLEAR_BIT(hsmartcard->Instance->CR1, USART_CR1_UE); in HAL_SMARTCARD_DeInit()
853 CLEAR_BIT(hsmartcard->Instance->CR1, USART_CR1_UE); in HAL_SMARTCARD_Transmit()
856 CLEAR_BIT(hsmartcard->Instance->CR1, USART_CR1_RE); in HAL_SMARTCARD_Transmit()
885 CLEAR_BIT(hsmartcard->Instance->CR1, USART_CR1_UE); in HAL_SMARTCARD_Transmit()
1007 CLEAR_BIT(hsmartcard->Instance->CR1, USART_CR1_UE); in HAL_SMARTCARD_Transmit_IT()
1010 CLEAR_BIT(hsmartcard->Instance->CR1, USART_CR1_RE); in HAL_SMARTCARD_Transmit_IT()
1169 CLEAR_BIT(hsmartcard->Instance->CR1, USART_CR1_UE); in HAL_SMARTCARD_Transmit_DMA()
[all …]
Dstm32l4xx_hal_uart.c386 CLEAR_BIT(huart->Instance->CR2, (USART_CR2_LINEN | USART_CR2_CLKEN)); in HAL_UART_Init()
387 CLEAR_BIT(huart->Instance->CR3, (USART_CR3_SCEN | USART_CR3_HDSEL | USART_CR3_IREN)); in HAL_UART_Init()
453 CLEAR_BIT(huart->Instance->CR2, (USART_CR2_LINEN | USART_CR2_CLKEN)); in HAL_HalfDuplex_Init()
454 CLEAR_BIT(huart->Instance->CR3, (USART_CR3_IREN | USART_CR3_SCEN)); in HAL_HalfDuplex_Init()
541 CLEAR_BIT(huart->Instance->CR2, USART_CR2_CLKEN); in HAL_LIN_Init()
542 CLEAR_BIT(huart->Instance->CR3, (USART_CR3_HDSEL | USART_CR3_IREN | USART_CR3_SCEN)); in HAL_LIN_Init()
627 CLEAR_BIT(huart->Instance->CR2, (USART_CR2_LINEN | USART_CR2_CLKEN)); in HAL_MultiProcessor_Init()
628 CLEAR_BIT(huart->Instance->CR3, (USART_CR3_SCEN | USART_CR3_HDSEL | USART_CR3_IREN)); in HAL_MultiProcessor_Init()
1533 CLEAR_BIT(huart->Instance->CR3, USART_CR3_DMAT); in HAL_UART_DMAPause()
1539 CLEAR_BIT(huart->Instance->CR1, USART_CR1_PEIE); in HAL_UART_DMAPause()
[all …]
Dstm32l4xx_hal_irda.c397 CLEAR_BIT(hirda->Instance->CR2, (USART_CR2_LINEN | USART_CR2_CLKEN | USART_CR2_STOP)); in HAL_IRDA_Init()
398 CLEAR_BIT(hirda->Instance->CR3, (USART_CR3_SCEN | USART_CR3_HDSEL)); in HAL_IRDA_Init()
1252 CLEAR_BIT(hirda->Instance->CR3, USART_CR3_DMAT); in HAL_IRDA_DMAPause()
1260 CLEAR_BIT(hirda->Instance->CR1, USART_CR1_PEIE); in HAL_IRDA_DMAPause()
1261 CLEAR_BIT(hirda->Instance->CR3, USART_CR3_EIE); in HAL_IRDA_DMAPause()
1264 CLEAR_BIT(hirda->Instance->CR3, USART_CR3_DMAR); in HAL_IRDA_DMAPause()
1329 CLEAR_BIT(hirda->Instance->CR3, USART_CR3_DMAT); in HAL_IRDA_DMAStop()
1358 CLEAR_BIT(hirda->Instance->CR3, USART_CR3_DMAR); in HAL_IRDA_DMAStop()
1402CLEAR_BIT(hirda->Instance->CR1, (USART_CR1_RXNEIE_RXFNEIE | USART_CR1_PEIE | USART_CR1_TXEIE_TXFNF… in HAL_IRDA_Abort()
1404CLEAR_BIT(hirda->Instance->CR1, (USART_CR1_RXNEIE | USART_CR1_PEIE | USART_CR1_TXEIE | USART_CR1_T… in HAL_IRDA_Abort()
[all …]
/loramac-node-2.7.6/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Inc/
Dstm32l0xx_hal_rcc_ex.h605 #define __HAL_RCC_AES_CLK_DISABLE() CLEAR_BIT(RCC->AHBENR, (RCC_AHBENR_CRYPEN))
620 #define __HAL_RCC_TSC_CLK_DISABLE() CLEAR_BIT(RCC->AHBENR, (RCC_AHBENR_TSCEN))
632 #define __HAL_RCC_RNG_CLK_DISABLE() CLEAR_BIT(RCC->AHBENR, (RCC_AHBENR_RNGEN))
658 #define __HAL_RCC_GPIOE_CLK_DISABLE() CLEAR_BIT(RCC->IOPENR,(RCC_IOPENR_GPIOEEN))
672 #define __HAL_RCC_GPIOD_CLK_DISABLE() CLEAR_BIT(RCC->IOPENR,(RCC_IOPENR_GPIODEN))
692 #define __HAL_RCC_USB_CLK_DISABLE() CLEAR_BIT(RCC->APB1ENR, (RCC_APB1ENR_USBEN))
698 #define __HAL_RCC_CRS_CLK_DISABLE() CLEAR_BIT(RCC->APB1ENR,(RCC_APB1ENR_CRSEN))
708 #define __HAL_RCC_LCD_CLK_DISABLE() CLEAR_BIT(RCC->APB1ENR, (RCC_APB1ENR_LCDEN))
728 #define __HAL_RCC_TIM2_CLK_DISABLE() CLEAR_BIT(RCC->APB1ENR, (RCC_APB1ENR_TIM2EN))
729 #define __HAL_RCC_TIM6_CLK_DISABLE() CLEAR_BIT(RCC->APB1ENR, (RCC_APB1ENR_TIM6EN))
[all …]
Dstm32l0xx_hal.h170 #define __HAL_DBGMCU_UNFREEZE_TIM2() CLEAR_BIT(DBGMCU->APB1FZ,DBGMCU_APB1_FZ_DBG_TIM2_STOP)
178 #define __HAL_DBGMCU_UNFREEZE_TIM3() CLEAR_BIT(DBGMCU->APB1FZ,DBGMCU_APB1_FZ_DBG_TIM3_STOP)
186 #define __HAL_DBGMCU_UNFREEZE_TIM6() CLEAR_BIT(DBGMCU->APB1FZ, DBGMCU_APB1_FZ_DBG_TIM6_STOP)
194 #define __HAL_DBGMCU_UNFREEZE_TIM7() CLEAR_BIT(DBGMCU->APB1FZ, DBGMCU_APB1_FZ_DBG_TIM7_STOP)
202 #define __HAL_DBGMCU_UNFREEZE_RTC() CLEAR_BIT(DBGMCU->APB1FZ, DBGMCU_APB1_FZ_DBG_RTC_STOP)
210 #define __HAL_DBGMCU_UNFREEZE_WWDG() CLEAR_BIT(DBGMCU->APB1FZ, DBGMCU_APB1_FZ_DBG_WWDG_STOP)
218 #define __HAL_DBGMCU_UNFREEZE_IWDG() CLEAR_BIT(DBGMCU->APB1FZ, DBGMCU_APB1_FZ_DBG_IWDG_STOP)
226 #define __HAL_DBGMCU_UNFREEZE_I2C1_TIMEOUT_DBGMCU() CLEAR_BIT(DBGMCU->APB1FZ, DBGMCU_APB1_FZ_DBG_I2…
234 #define __HAL_DBGMCU_UNFREEZE_I2C2_TIMEOUT_DBGMCU() CLEAR_BIT(DBGMCU->APB1FZ, DBGMCU_APB1_FZ_DBG_I2…
242 #define __HAL_DBGMCU_UNFREEZE_I2C3_TIMEOUT() CLEAR_BIT(DBGMCU->APB1FZ, DBGMCU_APB1_FZ_DBG_I2C3_STOP)
[all …]
Dstm32l0xx_hal_rcc.h715 #define __HAL_RCC_DMA1_CLK_DISABLE() CLEAR_BIT(RCC->AHBENR, RCC_AHBENR_DMA1EN)
716 #define __HAL_RCC_MIF_CLK_DISABLE() CLEAR_BIT(RCC->AHBENR, RCC_AHBENR_MIFEN)
717 #define __HAL_RCC_CRC_CLK_DISABLE() CLEAR_BIT(RCC->AHBENR, RCC_AHBENR_CRCEN)
763 #define __HAL_RCC_GPIOA_CLK_DISABLE() CLEAR_BIT(RCC->IOPENR, RCC_IOPENR_GPIOAEN)
764 #define __HAL_RCC_GPIOB_CLK_DISABLE() CLEAR_BIT(RCC->IOPENR, RCC_IOPENR_GPIOBEN)
765 #define __HAL_RCC_GPIOC_CLK_DISABLE() CLEAR_BIT(RCC->IOPENR, RCC_IOPENR_GPIOCEN)
766 #define __HAL_RCC_GPIOH_CLK_DISABLE() CLEAR_BIT(RCC->IOPENR, RCC_IOPENR_GPIOHEN)
782 #define __HAL_RCC_WWDG_CLK_DISABLE() CLEAR_BIT(RCC->APB1ENR, (RCC_APB1ENR_WWDGEN))
783 #define __HAL_RCC_PWR_CLK_DISABLE() CLEAR_BIT(RCC->APB1ENR, (RCC_APB1ENR_PWREN))
798 #define __HAL_RCC_SYSCFG_CLK_DISABLE() CLEAR_BIT(RCC->APB2ENR, (RCC_APB2ENR_SYSCFGEN))
[all …]
Dstm32l0xx_ll_system.h372 CLEAR_BIT(SYSCFG->CFGR2, SYSCFG_CFGR2_FWDISEN); in LL_SYSCFG_EnableFirewall()
472 CLEAR_BIT(SYSCFG->CFGR2, ConfigFastModePlus); in LL_SYSCFG_DisableFastModePlus()
524 CLEAR_BIT(SYSCFG->CFGR3, SYSCFG_CFGR3_ENBUF_VREFINT_ADC); in LL_SYSCFG_VREFINT_DisableADC()
544 CLEAR_BIT(SYSCFG->CFGR3, SYSCFG_CFGR3_ENBUF_SENSOR_ADC); in LL_SYSCFG_TEMPSENSOR_Disable()
564 CLEAR_BIT(SYSCFG->CFGR3, SYSCFG_CFGR3_ENBUFLP_VREFINT_COMP); in LL_SYSCFG_VREFINT_DisableCOMP()
585 CLEAR_BIT(SYSCFG->CFGR3, SYSCFG_CFGR3_ENREF_HSI48); in LL_SYSCFG_VREFINT_DisableHSI48()
772 CLEAR_BIT(DBGMCU->CR, DBGMCU_CR_DBG_SLEEP); in LL_DBGMCU_DisableDBGSleepMode()
792 CLEAR_BIT(DBGMCU->CR, DBGMCU_CR_DBG_STOP); in LL_DBGMCU_DisableDBGStopMode()
812 CLEAR_BIT(DBGMCU->CR, DBGMCU_CR_DBG_STANDBY); in LL_DBGMCU_DisableDBGStandbyMode()
880 CLEAR_BIT(DBGMCU->APB1FZ, Periphs); in LL_DBGMCU_APB1_GRP1_UnFreezePeriph()
[all …]
Dstm32l0xx_ll_usart.h571 CLEAR_BIT(USARTx->CR1, USART_CR1_UE); in LL_USART_Disable()
611 CLEAR_BIT(USARTx->CR1, USART_CR1_UESM); in LL_USART_DisableInStopMode()
646 CLEAR_BIT(USARTx->CR1, USART_CR1_RE); in LL_USART_DisableDirectionRx()
668 CLEAR_BIT(USARTx->CR1, USART_CR1_TE); in LL_USART_DisableDirectionTx()
816 CLEAR_BIT(USARTx->CR1, USART_CR1_MME); in LL_USART_DisableMuteMode()
1002 CLEAR_BIT(USARTx->CR2, USART_CR2_CLKEN); in LL_USART_DisableSCLKOutput()
1247 CLEAR_BIT(USARTx->CR2, USART_CR2_ABREN); in LL_USART_DisableAutoBaudRate()
1317 CLEAR_BIT(USARTx->CR2, USART_CR2_RTOEN); in LL_USART_DisableRxTimeout()
1411 CLEAR_BIT(USARTx->CR3, USART_CR3_RTSE); in LL_USART_DisableRTSHWFlowCtrl()
1437 CLEAR_BIT(USARTx->CR3, USART_CR3_CTSE); in LL_USART_DisableCTSHWFlowCtrl()
[all …]
Dstm32l0xx_ll_bus.h294 CLEAR_BIT(RCC->AHBENR, Periphs); in LL_AHB1_GRP1_DisableClock()
344 CLEAR_BIT(RCC->AHBRSTR, Periphs); in LL_AHB1_GRP1_ReleaseReset()
400 CLEAR_BIT(RCC->AHBSMENR, Periphs); in LL_AHB1_GRP1_DisableClockSleep()
562 CLEAR_BIT(RCC->APB1ENR, Periphs); in LL_APB1_GRP1_DisableClock()
664 CLEAR_BIT(RCC->APB1RSTR, Periphs); in LL_APB1_GRP1_ReleaseReset()
768 CLEAR_BIT(RCC->APB1SMENR, Periphs); in LL_APB1_GRP1_DisableClockSleep()
864 CLEAR_BIT(RCC->APB2ENR, Periphs); in LL_APB2_GRP1_DisableClock()
918 CLEAR_BIT(RCC->APB2RSTR, Periphs); in LL_APB2_GRP1_ReleaseReset()
974 CLEAR_BIT(RCC->APB2SMENR, Periphs); in LL_APB2_GRP1_DisableClockSleep()
1057 CLEAR_BIT(RCC->IOPENR, Periphs); in LL_IOP_GRP1_DisableClock()
[all …]
/loramac-node-2.7.6/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Inc/
Dstm32l4xx_hal_rcc.h726 #define __HAL_RCC_DMA1_CLK_DISABLE() CLEAR_BIT(RCC->AHB1ENR, RCC_AHB1ENR_DMA1EN)
728 #define __HAL_RCC_DMA2_CLK_DISABLE() CLEAR_BIT(RCC->AHB1ENR, RCC_AHB1ENR_DMA2EN)
731 #define __HAL_RCC_DMAMUX1_CLK_DISABLE() CLEAR_BIT(RCC->AHB1ENR, RCC_AHB1ENR_DMAMUX1EN)
734 #define __HAL_RCC_FLASH_CLK_DISABLE() CLEAR_BIT(RCC->AHB1ENR, RCC_AHB1ENR_FLASHEN)
736 #define __HAL_RCC_CRC_CLK_DISABLE() CLEAR_BIT(RCC->AHB1ENR, RCC_AHB1ENR_CRCEN)
738 #define __HAL_RCC_TSC_CLK_DISABLE() CLEAR_BIT(RCC->AHB1ENR, RCC_AHB1ENR_TSCEN)
741 #define __HAL_RCC_DMA2D_CLK_DISABLE() CLEAR_BIT(RCC->AHB1ENR, RCC_AHB1ENR_DMA2DEN)
745 #define __HAL_RCC_GFXMMU_CLK_DISABLE() CLEAR_BIT(RCC->AHB1ENR, RCC_AHB1ENR_GFXMMUEN)
919 #define __HAL_RCC_GPIOA_CLK_DISABLE() CLEAR_BIT(RCC->AHB2ENR, RCC_AHB2ENR_GPIOAEN)
921 #define __HAL_RCC_GPIOB_CLK_DISABLE() CLEAR_BIT(RCC->AHB2ENR, RCC_AHB2ENR_GPIOBEN)
[all …]
Dstm32l4xx_hal.h253 #define __HAL_DBGMCU_UNFREEZE_TIM2() CLEAR_BIT(DBGMCU->APB1FZR1, DBGMCU_APB1FZR1_DBG_TIM2_S…
258 #define __HAL_DBGMCU_UNFREEZE_TIM3() CLEAR_BIT(DBGMCU->APB1FZR1, DBGMCU_APB1FZR1_DBG_TIM3_S…
263 #define __HAL_DBGMCU_UNFREEZE_TIM4() CLEAR_BIT(DBGMCU->APB1FZR1, DBGMCU_APB1FZR1_DBG_TIM4_S…
268 #define __HAL_DBGMCU_UNFREEZE_TIM5() CLEAR_BIT(DBGMCU->APB1FZR1, DBGMCU_APB1FZR1_DBG_TIM5_S…
273 #define __HAL_DBGMCU_UNFREEZE_TIM6() CLEAR_BIT(DBGMCU->APB1FZR1, DBGMCU_APB1FZR1_DBG_TIM6_S…
278 #define __HAL_DBGMCU_UNFREEZE_TIM7() CLEAR_BIT(DBGMCU->APB1FZR1, DBGMCU_APB1FZR1_DBG_TIM7_S…
283 #define __HAL_DBGMCU_UNFREEZE_RTC() CLEAR_BIT(DBGMCU->APB1FZR1, DBGMCU_APB1FZR1_DBG_RTC_ST…
288 #define __HAL_DBGMCU_UNFREEZE_WWDG() CLEAR_BIT(DBGMCU->APB1FZR1, DBGMCU_APB1FZR1_DBG_WWDG_S…
293 #define __HAL_DBGMCU_UNFREEZE_IWDG() CLEAR_BIT(DBGMCU->APB1FZR1, DBGMCU_APB1FZR1_DBG_IWDG_S…
298 #define __HAL_DBGMCU_UNFREEZE_I2C1_TIMEOUT() CLEAR_BIT(DBGMCU->APB1FZR1, DBGMCU_APB1FZR1_DBG_I2C1_S…
[all …]
Dstm32l4xx_ll_system.h476 CLEAR_BIT(SYSCFG->CFGR1, SYSCFG_CFGR1_FWDIS); in LL_SYSCFG_EnableFirewall()
524 CLEAR_BIT(SYSCFG->CFGR1, SYSCFG_CFGR1_BOOSTEN); in LL_SYSCFG_DisableAnalogBooster()
568 CLEAR_BIT(SYSCFG->CFGR1, ConfigFastModePlus); in LL_SYSCFG_DisableFastModePlus()
638 CLEAR_BIT(SYSCFG->CFGR1, SYSCFG_CFGR1_FPU_IE_0); in LL_SYSCFG_DisableIT_FPU_IOC()
648 CLEAR_BIT(SYSCFG->CFGR1, SYSCFG_CFGR1_FPU_IE_1); in LL_SYSCFG_DisableIT_FPU_DZC()
658 CLEAR_BIT(SYSCFG->CFGR1, SYSCFG_CFGR1_FPU_IE_2); in LL_SYSCFG_DisableIT_FPU_UFC()
668 CLEAR_BIT(SYSCFG->CFGR1, SYSCFG_CFGR1_FPU_IE_3); in LL_SYSCFG_DisableIT_FPU_OFC()
678 CLEAR_BIT(SYSCFG->CFGR1, SYSCFG_CFGR1_FPU_IE_4); in LL_SYSCFG_DisableIT_FPU_IDC()
688 CLEAR_BIT(SYSCFG->CFGR1, SYSCFG_CFGR1_FPU_IE_5); in LL_SYSCFG_DisableIT_FPU_IXC()
1080 CLEAR_BIT(DBGMCU->CR, DBGMCU_CR_DBG_SLEEP); in LL_DBGMCU_DisableDBGSleepMode()
[all …]
Dstm32l4xx_ll_bus.h404 CLEAR_BIT(RCC->AHB1ENR, Periphs); in LL_AHB1_GRP1_DisableClock()
462 CLEAR_BIT(RCC->AHB1RSTR, Periphs); in LL_AHB1_GRP1_ReleaseReset()
526 CLEAR_BIT(RCC->AHB1SMENR, Periphs); in LL_AHB1_GRP1_DisableClockStopSleep()
676 CLEAR_BIT(RCC->AHB2ENR, Periphs); in LL_AHB2_GRP1_DisableClock()
770 CLEAR_BIT(RCC->AHB2RSTR, Periphs); in LL_AHB2_GRP1_ReleaseReset()
874 CLEAR_BIT(RCC->AHB2SMENR, Periphs); in LL_AHB2_GRP1_DisableClockStopSleep()
946 CLEAR_BIT(RCC->AHB3ENR, Periphs); in LL_AHB3_GRP1_DisableClock()
988 CLEAR_BIT(RCC->AHB3RSTR, Periphs); in LL_AHB3_GRP1_ReleaseReset()
1032 CLEAR_BIT(RCC->AHB3SMENR, Periphs); in LL_AHB3_GRP1_DisableClockStopSleep()
1280 CLEAR_BIT(RCC->APB1ENR1, Periphs); in LL_APB1_GRP1_DisableClock()
[all …]
Dstm32l4xx_ll_usart.h711 CLEAR_BIT(USARTx->CR1, USART_CR1_UE); in LL_USART_Disable()
749 CLEAR_BIT(USARTx->CR1, USART_CR1_FIFOEN); in LL_USART_DisableFIFO()
898 CLEAR_BIT(USARTx->CR1, USART_CR1_UESM); in LL_USART_DisableInStopMode()
936 CLEAR_BIT(USARTx->CR3, USART_CR3_UCESM); in LL_USART_DisableClockInStopMode()
970 CLEAR_BIT(USARTx->CR1, USART_CR1_RE); in LL_USART_DisableDirectionRx()
992 CLEAR_BIT(USARTx->CR1, USART_CR1_TE); in LL_USART_DisableDirectionTx()
1140 CLEAR_BIT(USARTx->CR1, USART_CR1_MME); in LL_USART_DisableMuteMode()
1379 CLEAR_BIT(USARTx->CR2, USART_CR2_CLKEN); in LL_USART_DisableSCLKOutput()
1624 CLEAR_BIT(USARTx->CR2, USART_CR2_ABREN); in LL_USART_DisableAutoBaudRate()
1694 CLEAR_BIT(USARTx->CR2, USART_CR2_RTOEN); in LL_USART_DisableRxTimeout()
[all …]
/loramac-node-2.7.6/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Src/
Dstm32l1xx_hal_gpio.c225 CLEAR_BIT(temp, 0xFU << ((uint32_t)(position & 0x07U) * 4)) ; in HAL_GPIO_Init()
232 CLEAR_BIT(temp, GPIO_MODER_MODER0 << (position * 2)); in HAL_GPIO_Init()
244 CLEAR_BIT(temp, GPIO_OSPEEDER_OSPEEDR0 << (position * 2)); in HAL_GPIO_Init()
250 CLEAR_BIT(temp, GPIO_OTYPER_OT_0 << position) ; in HAL_GPIO_Init()
257 CLEAR_BIT(temp, GPIO_PUPDR_PUPDR0 << (position * 2)); in HAL_GPIO_Init()
269 CLEAR_BIT(temp, (0x0FU) << (4 * (position & 0x03))); in HAL_GPIO_Init()
275 CLEAR_BIT(temp, (uint32_t)iocurrent); in HAL_GPIO_Init()
283 CLEAR_BIT(temp, (uint32_t)iocurrent); in HAL_GPIO_Init()
292 CLEAR_BIT(temp, (uint32_t)iocurrent); in HAL_GPIO_Init()
300 CLEAR_BIT(temp, (uint32_t)iocurrent); in HAL_GPIO_Init()
[all …]
Dstm32l1xx_hal_flash_ramfunc.c204 CLEAR_BIT(FLASH->PECR, FLASH_PECR_PROG); in HAL_FLASHEx_EraseParallelPage()
205 CLEAR_BIT(FLASH->PECR, FLASH_PECR_ERASE); in HAL_FLASHEx_EraseParallelPage()
206 CLEAR_BIT(FLASH->PECR, FLASH_PECR_PARALLBANK); in HAL_FLASHEx_EraseParallelPage()
294 CLEAR_BIT(FLASH->PECR, FLASH_PECR_PROG); in HAL_FLASHEx_ProgramParallelHalfPage()
295 CLEAR_BIT(FLASH->PECR, FLASH_PECR_FPRG); in HAL_FLASHEx_ProgramParallelHalfPage()
296 CLEAR_BIT(FLASH->PECR, FLASH_PECR_PARALLBANK); in HAL_FLASHEx_ProgramParallelHalfPage()
299 CLEAR_BIT(SCnSCB->ACTLR, SCnSCB_ACTLR_DISMCYCINT_Msk); in HAL_FLASHEx_ProgramParallelHalfPage()
367 CLEAR_BIT(FLASH->PECR, FLASH_PECR_PROG); in HAL_FLASHEx_HalfPageProgram()
368 CLEAR_BIT(FLASH->PECR, FLASH_PECR_FPRG); in HAL_FLASHEx_HalfPageProgram()
371 CLEAR_BIT(SCnSCB->ACTLR, SCnSCB_ACTLR_DISMCYCINT_Msk); in HAL_FLASHEx_HalfPageProgram()
[all …]
Dstm32l1xx_ll_adc.c367 CLEAR_BIT(ADCx->SR, in LL_ADC_DeInit()
377 CLEAR_BIT(ADCx->CR1, in LL_ADC_DeInit()
388 CLEAR_BIT(ADCx->CR2, in LL_ADC_DeInit()
396 CLEAR_BIT(ADCx->CR2, in LL_ADC_DeInit()
409 CLEAR_BIT(ADCx->SMPR1, in LL_ADC_DeInit()
416 CLEAR_BIT(ADCx->SMPR1, in LL_ADC_DeInit()
424 CLEAR_BIT(ADCx->SMPR2, in LL_ADC_DeInit()
432 CLEAR_BIT(ADCx->SMPR3, in LL_ADC_DeInit()
441 CLEAR_BIT(ADCx->SMPR0, (ADC_SMPR0_SMP31 | ADC_SMPR0_SMP30)); in LL_ADC_DeInit()
445 CLEAR_BIT(ADCx->JOFR1, ADC_JOFR1_JOFFSET1); in LL_ADC_DeInit()
[all …]
/loramac-node-2.7.6/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Src/
Dstm32l0xx_hal_smartcard.c274 CLEAR_BIT(hsmartcard->Instance->CR1, USART_CR1_UE); in HAL_SMARTCARD_Init()
279 CLEAR_BIT(hsmartcard->Instance->CR2, USART_CR2_LINEN); in HAL_SMARTCARD_Init()
280 CLEAR_BIT(hsmartcard->Instance->CR3, (USART_CR3_HDSEL | USART_CR3_IREN)); in HAL_SMARTCARD_Init()
323 CLEAR_BIT(hsmartcard->Instance->CR1, USART_CR1_UE); in HAL_SMARTCARD_DeInit()
488 CLEAR_BIT(hsmartcard->Instance->CR1, USART_CR1_UE); in HAL_SMARTCARD_Transmit()
491 CLEAR_BIT(hsmartcard->Instance->CR1, USART_CR1_RE); in HAL_SMARTCARD_Transmit()
518 CLEAR_BIT(hsmartcard->Instance->CR1, USART_CR1_UE); in HAL_SMARTCARD_Transmit()
626 CLEAR_BIT(hsmartcard->Instance->CR1, USART_CR1_UE); in HAL_SMARTCARD_Transmit_IT()
629 CLEAR_BIT(hsmartcard->Instance->CR1, USART_CR1_RE); in HAL_SMARTCARD_Transmit_IT()
727 CLEAR_BIT(hsmartcard->Instance->CR1, USART_CR1_UE); in HAL_SMARTCARD_Transmit_DMA()
[all …]
Dstm32l0xx_hal_pwr.c356 CLEAR_BIT(PWR->CR, PWR_CR_DBP); in HAL_PWR_DisableBkUpAccess()
424 CLEAR_BIT(PWR->CR, PWR_CR_PVDE); in HAL_PWR_DisablePVD()
458 CLEAR_BIT(PWR->CSR, WakeUpPinx); in HAL_PWR_DisableWakeUpPin()
487 CLEAR_BIT(tmpreg, (PWR_CR_PDDS | PWR_CR_LPSDSR)); in HAL_PWR_EnterSLEEPMode()
496 CLEAR_BIT(SCB->SCR, SCB_SCR_SLEEPDEEP_Msk); in HAL_PWR_EnterSLEEPMode()
549 CLEAR_BIT(tmpreg, (PWR_CR_PDDS | PWR_CR_LPSDSR)); in HAL_PWR_EnterSTOPMode()
575 CLEAR_BIT(SCB->SCR, SCB_SCR_SLEEPDEEP_Msk); in HAL_PWR_EnterSTOPMode()
632 CLEAR_BIT(SCB->SCR, ((uint32_t)SCB_SCR_SLEEPONEXIT_Msk)); in HAL_PWR_DisableSleepOnExit()
658 CLEAR_BIT(SCB->SCR, ((uint32_t)SCB_SCR_SEVONPEND_Msk)); in HAL_PWR_DisableSEVOnPend()
Dstm32l0xx_hal_uart.c272 CLEAR_BIT(huart->Instance->CR2, (USART_CR2_LINEN | USART_CR2_CLKEN)); in HAL_UART_Init()
273 CLEAR_BIT(huart->Instance->CR3, (USART_CR3_SCEN | USART_CR3_HDSEL | USART_CR3_IREN)); in HAL_UART_Init()
327 CLEAR_BIT(huart->Instance->CR2, (USART_CR2_LINEN | USART_CR2_CLKEN)); in HAL_HalfDuplex_Init()
328 CLEAR_BIT(huart->Instance->CR3, (USART_CR3_IREN | USART_CR3_SCEN)); in HAL_HalfDuplex_Init()
403 CLEAR_BIT(huart->Instance->CR2, USART_CR2_CLKEN); in HAL_LIN_Init()
404 CLEAR_BIT(huart->Instance->CR3, (USART_CR3_HDSEL | USART_CR3_IREN | USART_CR3_SCEN)); in HAL_LIN_Init()
477 CLEAR_BIT(huart->Instance->CR2, (USART_CR2_LINEN | USART_CR2_CLKEN)); in HAL_MultiProcessor_Init()
478 CLEAR_BIT(huart->Instance->CR3, (USART_CR3_SCEN | USART_CR3_HDSEL | USART_CR3_IREN)); in HAL_MultiProcessor_Init()
1102 CLEAR_BIT(huart->Instance->CR3, USART_CR3_DMAT); in HAL_UART_DMAPause()
1108 CLEAR_BIT(huart->Instance->CR1, USART_CR1_PEIE); in HAL_UART_DMAPause()
[all …]
Dstm32l0xx_hal_irda.c289 CLEAR_BIT(hirda->Instance->CR2, (USART_CR2_LINEN | USART_CR2_CLKEN | USART_CR2_STOP)); in HAL_IRDA_Init()
290 CLEAR_BIT(hirda->Instance->CR3, (USART_CR3_SCEN | USART_CR3_HDSEL)); in HAL_IRDA_Init()
923 CLEAR_BIT(hirda->Instance->CR3, USART_CR3_DMAT); in HAL_IRDA_DMAPause()
929 CLEAR_BIT(hirda->Instance->CR1, USART_CR1_PEIE); in HAL_IRDA_DMAPause()
930 CLEAR_BIT(hirda->Instance->CR3, USART_CR3_EIE); in HAL_IRDA_DMAPause()
933 CLEAR_BIT(hirda->Instance->CR3, USART_CR3_DMAR); in HAL_IRDA_DMAPause()
996 CLEAR_BIT(hirda->Instance->CR3, USART_CR3_DMAT); in HAL_IRDA_DMAStop()
1011 CLEAR_BIT(hirda->Instance->CR3, USART_CR3_DMAR); in HAL_IRDA_DMAStop()
1041CLEAR_BIT(hirda->Instance->CR1, (USART_CR1_RXNEIE | USART_CR1_PEIE | USART_CR1_TXEIE | USART_CR1_T… in HAL_IRDA_Abort()
1042 CLEAR_BIT(hirda->Instance->CR3, USART_CR3_EIE); in HAL_IRDA_Abort()
[all …]
/loramac-node-2.7.6/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Inc/
Dstm32l1xx_hal.h371 #define __HAL_DBGMCU_UNFREEZE_TIM2() CLEAR_BIT(DBGMCU->APB1FZ, DBGMCU_APB1_FZ_DBG_TIM2_STO…
379 #define __HAL_DBGMCU_UNFREEZE_TIM3() CLEAR_BIT(DBGMCU->APB1FZ, DBGMCU_APB1_FZ_DBG_TIM3_STO…
387 #define __HAL_DBGMCU_UNFREEZE_TIM4() CLEAR_BIT(DBGMCU->APB1FZ, DBGMCU_APB1_FZ_DBG_TIM4_STO…
395 #define __HAL_DBGMCU_UNFREEZE_TIM5() CLEAR_BIT(DBGMCU->APB1FZ, DBGMCU_APB1_FZ_DBG_TIM5_STO…
403 #define __HAL_DBGMCU_UNFREEZE_TIM6() CLEAR_BIT(DBGMCU->APB1FZ, DBGMCU_APB1_FZ_DBG_TIM6_STO…
411 #define __HAL_DBGMCU_UNFREEZE_TIM7() CLEAR_BIT(DBGMCU->APB1FZ, DBGMCU_APB1_FZ_DBG_TIM7_STO…
419 #define __HAL_DBGMCU_UNFREEZE_RTC() CLEAR_BIT(DBGMCU->APB1FZ, DBGMCU_APB1_FZ_DBG_RTC_STOP)
427 #define __HAL_DBGMCU_UNFREEZE_WWDG() CLEAR_BIT(DBGMCU->APB1FZ, DBGMCU_APB1_FZ_DBG_WWDG_STO…
435 #define __HAL_DBGMCU_UNFREEZE_IWDG() CLEAR_BIT(DBGMCU->APB1FZ, DBGMCU_APB1_FZ_DBG_IWDG_STO…
443 #define __HAL_DBGMCU_UNFREEZE_I2C1_TIMEOUT() CLEAR_BIT(DBGMCU->APB1FZ, DBGMCU_APB1_FZ_DBG_I2C1_SMB…
[all …]
Dstm32l1xx_ll_usart.h431 CLEAR_BIT(USARTx->CR1, USART_CR1_UE); in LL_USART_Disable()
464 CLEAR_BIT(USARTx->CR1, USART_CR1_RE); in LL_USART_DisableDirectionRx()
486 CLEAR_BIT(USARTx->CR1, USART_CR1_TE); in LL_USART_DisableDirectionTx()
783 CLEAR_BIT(USARTx->CR2, USART_CR2_CLKEN); in LL_USART_DisableSCLKOutput()
911 CLEAR_BIT(USARTx->CR3, USART_CR3_RTSE); in LL_USART_DisableRTSHWFlowCtrl()
937 CLEAR_BIT(USARTx->CR3, USART_CR3_CTSE); in LL_USART_DisableCTSHWFlowCtrl()
996 CLEAR_BIT(USARTx->CR3, USART_CR3_ONEBIT); in LL_USART_DisableOneBitSamp()
1106 CLEAR_BIT(USARTx->CR3, USART_CR3_IREN); in LL_USART_DisableIrda()
1213 CLEAR_BIT(USARTx->CR3, USART_CR3_NACK); in LL_USART_DisableSmartcardNACK()
1252 CLEAR_BIT(USARTx->CR3, USART_CR3_SCEN); in LL_USART_DisableSmartcard()
[all …]
Dstm32l1xx_ll_system.h504 CLEAR_BIT(SYSCFG->PMC, SYSCFG_PMC_USB_PU); in LL_SYSCFG_DisableUSBPullUp()
537 CLEAR_BIT(SYSCFG->PMC, Pin); in LL_SYSCFG_DisableLCDCapacitanceConnection()
797 CLEAR_BIT(DBGMCU->CR, DBGMCU_CR_DBG_SLEEP); in LL_DBGMCU_DisableDBGSleepMode()
817 CLEAR_BIT(DBGMCU->CR, DBGMCU_CR_DBG_STOP); in LL_DBGMCU_DisableDBGStopMode()
837 CLEAR_BIT(DBGMCU->CR, DBGMCU_CR_DBG_STANDBY); in LL_DBGMCU_DisableDBGStandbyMode()
936 CLEAR_BIT(DBGMCU->APB1FZ, Periphs); in LL_DBGMCU_APB1_GRP1_UnFreezePeriph()
968 CLEAR_BIT(DBGMCU->APB2FZ, Periphs); in LL_DBGMCU_APB2_GRP1_UnFreezePeriph()
1043 CLEAR_BIT(RI->ICR, (InputCaptureChannel & (RI_ICR_IC4 | RI_ICR_IC3 | RI_ICR_IC2 | RI_ICR_IC1))); in LL_RI_DisableRemapInputCapture_TIM()
1131 CLEAR_BIT(RI->ASCR1, IOSwitch); in LL_RI_OpenIOSwitchLinkedToADC()
1151 CLEAR_BIT(RI->ASCR1, RI_ASCR1_SCM); in LL_RI_DisableSwitchControlMode()
[all …]

12345678910