/loramac-node-2.7.6/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Inc/ |
D | stm32l4xx_hal_rcc.h | 659 … tmpreg = READ_BIT(RCC->AHB1ENR, RCC_AHB1ENR_DMA1EN); \ 667 … tmpreg = READ_BIT(RCC->AHB1ENR, RCC_AHB1ENR_DMA2EN); \ 676 … tmpreg = READ_BIT(RCC->AHB1ENR, RCC_AHB1ENR_DMAMUX1EN); \ 685 … tmpreg = READ_BIT(RCC->AHB1ENR, RCC_AHB1ENR_FLASHEN); \ 693 … tmpreg = READ_BIT(RCC->AHB1ENR, RCC_AHB1ENR_CRCEN); \ 701 … tmpreg = READ_BIT(RCC->AHB1ENR, RCC_AHB1ENR_TSCEN); \ 710 … tmpreg = READ_BIT(RCC->AHB1ENR, RCC_AHB1ENR_DMA2DEN); \ 720 … tmpreg = READ_BIT(RCC->AHB1ENR, RCC_AHB1ENR_GFXMMUEN); \ 764 … tmpreg = READ_BIT(RCC->AHB2ENR, RCC_AHB2ENR_GPIOAEN); \ 772 … tmpreg = READ_BIT(RCC->AHB2ENR, RCC_AHB2ENR_GPIOBEN); \ [all …]
|
D | stm32l4xx_ll_pwr.h | 334 return ((READ_BIT(PWR->CR1, PWR_CR1_LPR) == (PWR_CR1_LPR)) ? 1UL : 0UL); in LL_PWR_IsEnabledLowPowerRunMode() 360 return (uint32_t)(READ_BIT(PWR->CR1, PWR_CR1_VOS)); in LL_PWR_GetRegulVoltageScaling() 391 return ((READ_BIT(PWR->CR5, PWR_CR5_R1MODE) == 0x0U) ? 1UL : 0UL); in LL_PWR_IsEnabledRange1BoostMode() 422 return ((READ_BIT(PWR->CR1, PWR_CR1_DBP) == (PWR_CR1_DBP)) ? 1UL : 0UL); in LL_PWR_IsEnabledBkUpAccess() 453 return (uint32_t)(READ_BIT(PWR->CR1, PWR_CR1_LPMS)); in LL_PWR_GetPowerMode() 484 return ((READ_BIT(PWR->CR1, PWR_CR1_RRSTP) == (PWR_CR1_RRSTP)) ? 1UL : 0UL); in LL_PWR_IsEnabledSRAM3Retention() 516 return ((READ_BIT(PWR->CR3, PWR_CR3_DSIPDEN) == (PWR_CR3_DSIPDEN)) ? 1UL : 0UL); in LL_PWR_IsEnabledDSIPinsPDActivation() 548 return ((READ_BIT(PWR->CR2, PWR_CR2_USV) == (PWR_CR2_USV)) ? 1UL : 0UL); in LL_PWR_IsEnabledVddUSB() 580 return ((READ_BIT(PWR->CR2, PWR_CR2_IOSV) == (PWR_CR2_IOSV)) ? 1UL : 0UL); in LL_PWR_IsEnabledVddIO2() 641 return ((READ_BIT(PWR->CR2, PeriphVoltage) == (PeriphVoltage)) ? 1UL : 0UL); in LL_PWR_IsEnabledPVM() [all …]
|
D | stm32l4xx_ll_lpuart.h | 556 return (READ_BIT(LPUARTx->CR1, USART_CR1_UE) == (USART_CR1_UE)); in LL_LPUART_IsEnabled() 590 return (READ_BIT(LPUARTx->CR1, USART_CR1_FIFOEN) == (USART_CR1_FIFOEN)); in LL_LPUART_IsEnabledFIFO() 625 return (uint32_t)(READ_BIT(LPUARTx->CR3, USART_CR3_TXFTCFG) >> USART_CR3_TXFTCFG_Pos); in LL_LPUART_GetTXFIFOThreshold() 660 return (uint32_t)(READ_BIT(LPUARTx->CR3, USART_CR3_RXFTCFG) >> USART_CR3_RXFTCFG_Pos); in LL_LPUART_GetRXFIFOThreshold() 724 return (READ_BIT(LPUARTx->CR1, USART_CR1_UESM) == (USART_CR1_UESM)); in LL_LPUART_IsEnabledInStopMode() 760 return (READ_BIT(LPUARTx->CR3, USART_CR3_UCESM) == (USART_CR3_UCESM)); in LL_LPUART_IsClockEnabledInStopMode() 839 return (uint32_t)(READ_BIT(LPUARTx->CR1, USART_CR1_RE | USART_CR1_TE)); in LL_LPUART_GetTransferDirection() 873 return (uint32_t)(READ_BIT(LPUARTx->CR1, USART_CR1_PS | USART_CR1_PCE)); in LL_LPUART_GetParity() 900 return (uint32_t)(READ_BIT(LPUARTx->CR1, USART_CR1_WAKE)); in LL_LPUART_GetWakeUpMethod() 929 return (uint32_t)(READ_BIT(LPUARTx->CR1, USART_CR1_M)); in LL_LPUART_GetDataWidth() [all …]
|
D | stm32l4xx_ll_rtc.h | 921 return (uint32_t)(READ_BIT(RTCx->CR, RTC_CR_FMT)); in LL_RTC_GetHourFormat() 953 return (uint32_t)(READ_BIT(RTCx->CR, RTC_CR_OSEL)); in LL_RTC_GetAlarmOutEvent() 981 return (uint32_t)(READ_BIT(RTCx->CR, RTC_CR_TAMPALRM_TYPE)); in LL_RTC_GetAlarmOutputType() 1039 return (uint32_t)(READ_BIT(RTCx->OR, RTC_OR_ALARMOUTTYPE)); in LL_RTC_GetAlarmOutputType() 1095 return (uint32_t)(READ_BIT(RTCx->CR, RTC_CR_POL)); in LL_RTC_GetOutputPolarity() 1129 return (READ_BIT(RTCx->CR, RTC_CR_BYPSHAD) == (RTC_CR_BYPSHAD)); in LL_RTC_IsShadowRegBypassEnabled() 1190 return (uint32_t)(READ_BIT(RTCx->PRER, RTC_PRER_PREDIV_A) >> RTC_PRER_PREDIV_A_Pos); in LL_RTC_GetAsynchPrescaler() 1201 return (uint32_t)(READ_BIT(RTCx->PRER, RTC_PRER_PREDIV_S)); in LL_RTC_GetSynchPrescaler() 1260 return (READ_BIT(RTCx->CR, RTC_CR_TAMPOE) == (RTC_CR_TAMPOE)); in LL_RTC_IsTamperOutputEnabled() 1293 return (READ_BIT(RTCx->CR, RTC_CR_TAMPALRM_PU) == (RTC_CR_TAMPALRM_PU)); in LL_RTC_IsAlarmPullUpEnabled() [all …]
|
D | stm32l4xx_ll_i2c.h | 434 return ((READ_BIT(I2Cx->CR1, I2C_CR1_PE) == (I2C_CR1_PE)) ? 1UL : 0UL); in LL_I2C_IsEnabled() 481 return (uint32_t)(READ_BIT(I2Cx->CR1, I2C_CR1_DNF) >> I2C_CR1_DNF_Pos); in LL_I2C_GetDigitalFilter() 516 return ((READ_BIT(I2Cx->CR1, I2C_CR1_ANFOFF) != (I2C_CR1_ANFOFF)) ? 1UL : 0UL); in LL_I2C_IsEnabledAnalogFilter() 549 return ((READ_BIT(I2Cx->CR1, I2C_CR1_TXDMAEN) == (I2C_CR1_TXDMAEN)) ? 1UL : 0UL); in LL_I2C_IsEnabledDMAReq_TX() 582 return ((READ_BIT(I2Cx->CR1, I2C_CR1_RXDMAEN) == (I2C_CR1_RXDMAEN)) ? 1UL : 0UL); in LL_I2C_IsEnabledDMAReq_RX() 645 return ((READ_BIT(I2Cx->CR1, I2C_CR1_NOSTRETCH) != (I2C_CR1_NOSTRETCH)) ? 1UL : 0UL); in LL_I2C_IsEnabledClockStretching() 678 return ((READ_BIT(I2Cx->CR1, I2C_CR1_SBC) == (I2C_CR1_SBC)) ? 1UL : 0UL); in LL_I2C_IsEnabledSlaveByteControl() 718 return ((READ_BIT(I2Cx->CR1, I2C_CR1_WUPEN) == (I2C_CR1_WUPEN)) ? 1UL : 0UL); in LL_I2C_IsEnabledWakeUpFromStop() 753 return ((READ_BIT(I2Cx->CR1, I2C_CR1_GCEN) == (I2C_CR1_GCEN)) ? 1UL : 0UL); in LL_I2C_IsEnabledGeneralCall() 781 return (uint32_t)(READ_BIT(I2Cx->CR2, I2C_CR2_ADD10)); in LL_I2C_GetMasterAddressingMode() [all …]
|
D | stm32l4xx_ll_usart.h | 722 return ((READ_BIT(USARTx->CR1, USART_CR1_UE) == (USART_CR1_UE)) ? 1UL : 0UL); in LL_USART_IsEnabled() 762 return ((READ_BIT(USARTx->CR1, USART_CR1_FIFOEN) == (USART_CR1_FIFOEN)) ? 1UL : 0UL); in LL_USART_IsEnabledFIFO() 801 return (uint32_t)(READ_BIT(USARTx->CR3, USART_CR3_TXFTCFG) >> USART_CR3_TXFTCFG_Pos); in LL_USART_GetTXFIFOThreshold() 840 return (uint32_t)(READ_BIT(USARTx->CR3, USART_CR3_RXFTCFG) >> USART_CR3_RXFTCFG_Pos); in LL_USART_GetRXFIFOThreshold() 911 return ((READ_BIT(USARTx->CR1, USART_CR1_UESM) == (USART_CR1_UESM)) ? 1UL : 0UL); in LL_USART_IsEnabledInStopMode() 947 return (READ_BIT(USARTx->CR3, USART_CR3_UCESM) == (USART_CR3_UCESM)); in LL_USART_IsClockEnabledInStopMode() 1026 return (uint32_t)(READ_BIT(USARTx->CR1, USART_CR1_RE | USART_CR1_TE)); in LL_USART_GetTransferDirection() 1060 return (uint32_t)(READ_BIT(USARTx->CR1, USART_CR1_PS | USART_CR1_PCE)); in LL_USART_GetParity() 1087 return (uint32_t)(READ_BIT(USARTx->CR1, USART_CR1_WAKE)); in LL_USART_GetWakeUpMethod() 1118 return (uint32_t)(READ_BIT(USARTx->CR1, USART_CR1_M)); in LL_USART_GetDataWidth() [all …]
|
D | stm32l4xx_ll_dma2d.h | 539 return (uint32_t)(READ_BIT(DMA2Dx->CR, DMA2D_CR_START) == (DMA2D_CR_START)); in LL_DMA2D_IsTransferOngoing() 576 return (uint32_t)(READ_BIT(DMA2Dx->CR, DMA2D_CR_SUSP) == (DMA2D_CR_SUSP)); in LL_DMA2D_IsSuspended() 601 return (uint32_t)(READ_BIT(DMA2Dx->CR, DMA2D_CR_ABORT) == (DMA2D_CR_ABORT)); in LL_DMA2D_IsAborted() 640 return (uint32_t)(READ_BIT(DMA2Dx->CR, DMA2D_CR_MODE)); in LL_DMA2D_GetMode() 673 return (uint32_t)(READ_BIT(DMA2Dx->OPFCCR, DMA2D_OPFCCR_CM)); in LL_DMA2D_GetOutputColorMode() 700 return (uint32_t)(READ_BIT(DMA2Dx->OPFCCR, DMA2D_OPFCCR_RBS)); in LL_DMA2D_GetOutputRBSwapMode() 727 return (uint32_t)(READ_BIT(DMA2Dx->OPFCCR, DMA2D_OPFCCR_AI)); in LL_DMA2D_GetOutputAlphaInvMode() 756 return (uint32_t)(READ_BIT(DMA2Dx->OPFCCR, DMA2D_OPFCCR_SB)); in LL_DMA2D_GetOutputSwapMode() 785 return (uint32_t)(READ_BIT(DMA2Dx->CR, DMA2D_CR_LOM)); in LL_DMA2D_GetLineOffsetMode() 817 return (uint32_t)(READ_BIT(DMA2Dx->OOR, DMA2D_OOR_LO)); in LL_DMA2D_GetLineOffset() [all …]
|
D | stm32l4xx_ll_crs.h | 264 return (READ_BIT(CRS->CR, CRS_CR_CEN) == (CRS_CR_CEN)); in LL_CRS_IsEnabledFreqErrorCounter() 294 return (READ_BIT(CRS->CR, CRS_CR_AUTOTRIMEN) == (CRS_CR_AUTOTRIMEN)); in LL_CRS_IsEnabledAutoTrimming() 317 return (uint32_t)(READ_BIT(CRS->CR, CRS_CR_TRIM) >> CRS_CR_TRIM_Pos); in LL_CRS_GetHSI48SmoothTrimming() 340 return (uint32_t)(READ_BIT(CRS->CFGR, CRS_CFGR_RELOAD)); in LL_CRS_GetReloadCounter() 362 return (uint32_t)(READ_BIT(CRS->CFGR, CRS_CFGR_FELIM) >> CRS_CFGR_FELIM_Pos); in LL_CRS_GetFreqErrorLimit() 399 return (uint32_t)(READ_BIT(CRS->CFGR, CRS_CFGR_SYNCDIV)); in LL_CRS_GetSyncDivider() 426 return (uint32_t)(READ_BIT(CRS->CFGR, CRS_CFGR_SYNCSRC)); in LL_CRS_GetSyncSignalSource() 451 return (uint32_t)(READ_BIT(CRS->CFGR, CRS_CFGR_SYNCPOL)); in LL_CRS_GetSyncPolarity() 508 return (uint32_t)(READ_BIT(CRS->ISR, CRS_ISR_FEDIR)); in LL_CRS_GetFreqErrorDirection() 518 return (uint32_t)(READ_BIT(CRS->ISR, CRS_ISR_FECAP) >> CRS_ISR_FECAP_Pos); in LL_CRS_GetFreqErrorCapture() [all …]
|
D | stm32l4xx_ll_lptim.h | 386 return (READ_BIT(LPTIMx->CR, LPTIM_CR_ENABLE) == (LPTIM_CR_ENABLE)); in LL_LPTIM_IsEnabled() 440 return (READ_BIT(LPTIMx->CR, LPTIM_CR_RSTARE) == (LPTIM_CR_RSTARE)); in LL_LPTIM_IsEnabledResetAfterRead() 486 return (uint32_t)(READ_BIT(LPTIMx->CFGR, LPTIM_CFGR_PRELOAD)); in LL_LPTIM_GetUpdateMode() 515 return (uint32_t)(READ_BIT(LPTIMx->ARR, LPTIM_ARR_ARR)); in LL_LPTIM_GetAutoReload() 540 return (uint32_t)(READ_BIT(LPTIMx->RCR, LPTIM_RCR_REP)); in LL_LPTIM_GetRepetition() 568 return (uint32_t)(READ_BIT(LPTIMx->CMP, LPTIM_CMP_CMP)); in LL_LPTIM_GetCompare() 583 return (uint32_t)(READ_BIT(LPTIMx->CNT, LPTIM_CNT_CNT)); in LL_LPTIM_GetCounter() 611 return (uint32_t)(READ_BIT(LPTIMx->CFGR, LPTIM_CFGR_COUNTMODE)); in LL_LPTIM_GetCounterMode() 660 return (uint32_t)(READ_BIT(LPTIMx->CFGR, LPTIM_CFGR_WAVE)); in LL_LPTIM_GetWaveform() 687 return (uint32_t)(READ_BIT(LPTIMx->CFGR, LPTIM_CFGR_WAVPOL)); in LL_LPTIM_GetPolarity() [all …]
|
D | stm32l4xx_ll_swpmi.h | 289 return (uint32_t)(READ_BIT(SWPMIx->CR, SWPMI_CR_RXMODE)); in LL_SWPMI_GetReceptionMode() 317 return (uint32_t)(READ_BIT(SWPMIx->CR, SWPMI_CR_TXMODE)); in LL_SWPMI_GetTransmissionMode() 369 return ((READ_BIT(SWPMIx->CR, SWPMI_CR_SWPACT) == (SWPMI_CR_SWPACT)) ? 1UL : 0UL); in LL_SWPMI_IsActivated() 416 return (uint32_t)(READ_BIT(SWPMIx->BRR, SWPMI_BRR_BR)); in LL_SWPMI_GetBitRatePrescaler() 443 return (uint32_t)(READ_BIT(SWPMIx->OR, SWPMI_OR_CLASS)); in LL_SWPMI_GetVoltageClass() 462 return ((READ_BIT(SWPMIx->ISR, SWPMI_ISR_RXBFF) == (SWPMI_ISR_RXBFF)) ? 1UL : 0UL); in LL_SWPMI_IsActiveFlag_RXBF() 473 return ((READ_BIT(SWPMIx->ISR, SWPMI_ISR_TXBEF) == (SWPMI_ISR_TXBEF)) ? 1UL : 0UL); in LL_SWPMI_IsActiveFlag_TXBE() 484 return ((READ_BIT(SWPMIx->ISR, SWPMI_ISR_RXBERF) == (SWPMI_ISR_RXBERF)) ? 1UL : 0UL); in LL_SWPMI_IsActiveFlag_RXBER() 495 return ((READ_BIT(SWPMIx->ISR, SWPMI_ISR_RXOVRF) == (SWPMI_ISR_RXOVRF)) ? 1UL : 0UL); in LL_SWPMI_IsActiveFlag_RXOVR() 506 return ((READ_BIT(SWPMIx->ISR, SWPMI_ISR_TXUNRF) == (SWPMI_ISR_TXUNRF)) ? 1UL : 0UL); in LL_SWPMI_IsActiveFlag_TXUNR() [all …]
|
/loramac-node-2.7.6/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Inc/ |
D | stm32l0xx_hal_rcc_ex.h | 602 tmpreg = READ_BIT(RCC->AHBENR, RCC_AHBENR_CRYPEN);\ 607 #define __HAL_RCC_AES_IS_CLK_ENABLED() (READ_BIT(RCC->AHBENR, RCC_AHBENR_CRYPEN) != RESET) 608 #define __HAL_RCC_AES_IS_CLK_DISABLED() (READ_BIT(RCC->AHBENR, RCC_AHBENR_CRYPEN) == RESET) 617 tmpreg = READ_BIT(RCC->AHBENR, RCC_AHBENR_TSCEN);\ 622 #define __HAL_RCC_TSC_IS_CLK_ENABLED() (READ_BIT(RCC->AHBENR, RCC_AHBENR_TSCEN) != RESET) 623 #define __HAL_RCC_TSC_IS_CLK_DISABLED() (READ_BIT(RCC->AHBENR, RCC_AHBENR_TSCEN) == RESET) 629 tmpreg = READ_BIT(RCC->AHBENR, RCC_AHBENR_RNGEN);\ 634 #define __HAL_RCC_RNG_IS_CLK_ENABLED() (READ_BIT(RCC->AHBENR, RCC_AHBENR_RNGEN) != RESET) 635 #define __HAL_RCC_RNG_IS_CLK_DISABLED() (READ_BIT(RCC->AHBENR, RCC_AHBENR_RNGEN) == RESET) 654 tmpreg = READ_BIT(RCC->IOPENR, RCC_IOPENR_GPIOEEN);\ [all …]
|
D | stm32l0xx_ll_rcc.h | 767 return (READ_BIT(RCC->CR, RCC_CR_HSERDY) == (RCC_CR_HSERDY)); in LL_RCC_HSE_IsReady() 796 return (uint32_t)(READ_BIT(RCC->CR, RCC_CR_RTCPRE)); in LL_RCC_GetRTC_HSEPrescaler() 834 return (READ_BIT(RCC->CR, RCC_CR_HSIRDY) == (RCC_CR_HSIRDY)); in LL_RCC_HSI_IsReady() 911 return (uint32_t)(READ_BIT(RCC->ICSCR, RCC_ICSCR_HSICAL) >> RCC_POSITION_HSICAL); in LL_RCC_HSI_GetCalibration() 935 return (uint32_t)(READ_BIT(RCC->ICSCR, RCC_ICSCR_HSITRIM) >> RCC_POSITION_HSITRIM); in LL_RCC_HSI_GetCalibTrimming() 974 return (READ_BIT(RCC->CRRCR, RCC_CRRCR_HSI48RDY) == (RCC_CRRCR_HSI48RDY)); in LL_RCC_HSI48_IsReady() 984 return (uint32_t)(READ_BIT(RCC->CRRCR, RCC_CRRCR_HSI48CAL) >> RCC_POSITION_HSI48CAL); in LL_RCC_HSI48_GetCalibration() 1015 return (READ_BIT(RCC->CRRCR, RCC_CRRCR_HSI48DIV6OUTEN) == (RCC_CRRCR_HSI48DIV6OUTEN)); in LL_RCC_HSI48_IsDivided() 1097 return (uint32_t)(READ_BIT(RCC->CSR, RCC_CSR_LSEDRV)); in LL_RCC_LSE_GetDriveCapability() 1129 return (READ_BIT(RCC->CSR, RCC_CSR_LSERDY) == (RCC_CSR_LSERDY)); in LL_RCC_LSE_IsReady() [all …]
|
D | stm32l0xx_ll_i2c.h | 434 return (READ_BIT(I2Cx->CR1, I2C_CR1_PE) == (I2C_CR1_PE)); in LL_I2C_IsEnabled() 481 return (uint32_t)(READ_BIT(I2Cx->CR1, I2C_CR1_DNF) >> I2C_CR1_DNF_Pos); in LL_I2C_GetDigitalFilter() 516 return (READ_BIT(I2Cx->CR1, I2C_CR1_ANFOFF) != (I2C_CR1_ANFOFF)); in LL_I2C_IsEnabledAnalogFilter() 549 return (READ_BIT(I2Cx->CR1, I2C_CR1_TXDMAEN) == (I2C_CR1_TXDMAEN)); in LL_I2C_IsEnabledDMAReq_TX() 582 return (READ_BIT(I2Cx->CR1, I2C_CR1_RXDMAEN) == (I2C_CR1_RXDMAEN)); in LL_I2C_IsEnabledDMAReq_RX() 645 return (READ_BIT(I2Cx->CR1, I2C_CR1_NOSTRETCH) != (I2C_CR1_NOSTRETCH)); in LL_I2C_IsEnabledClockStretching() 678 return (READ_BIT(I2Cx->CR1, I2C_CR1_SBC) == (I2C_CR1_SBC)); in LL_I2C_IsEnabledSlaveByteControl() 718 return (READ_BIT(I2Cx->CR1, I2C_CR1_WUPEN) == (I2C_CR1_WUPEN)); in LL_I2C_IsEnabledWakeUpFromStop() 753 return (READ_BIT(I2Cx->CR1, I2C_CR1_GCEN) == (I2C_CR1_GCEN)); in LL_I2C_IsEnabledGeneralCall() 781 return (uint32_t)(READ_BIT(I2Cx->CR2, I2C_CR2_ADD10)); in LL_I2C_GetMasterAddressingMode() [all …]
|
D | stm32l0xx_ll_usart.h | 582 return (READ_BIT(USARTx->CR1, USART_CR1_UE) == (USART_CR1_UE)); in LL_USART_IsEnabled() 624 return (READ_BIT(USARTx->CR1, USART_CR1_UESM) == (USART_CR1_UESM)); in LL_USART_IsEnabledInStopMode() 702 return (uint32_t)(READ_BIT(USARTx->CR1, USART_CR1_RE | USART_CR1_TE)); in LL_USART_GetTransferDirection() 736 return (uint32_t)(READ_BIT(USARTx->CR1, USART_CR1_PS | USART_CR1_PCE)); in LL_USART_GetParity() 763 return (uint32_t)(READ_BIT(USARTx->CR1, USART_CR1_WAKE)); in LL_USART_GetWakeUpMethod() 794 return (uint32_t)(READ_BIT(USARTx->CR1, USART_CR1_M)); in LL_USART_GetDataWidth() 827 return (READ_BIT(USARTx->CR1, USART_CR1_MME) == (USART_CR1_MME)); in LL_USART_IsEnabledMuteMode() 854 return (uint32_t)(READ_BIT(USARTx->CR1, USART_CR1_OVER8)); in LL_USART_GetOverSampling() 886 return (uint32_t)(READ_BIT(USARTx->CR2, USART_CR2_LBCL)); in LL_USART_GetLastClkPulseOutput() 917 return (uint32_t)(READ_BIT(USARTx->CR2, USART_CR2_CPHA)); in LL_USART_GetClockPhase() [all …]
|
D | stm32l0xx_ll_lpuart.h | 443 return (READ_BIT(LPUARTx->CR1, USART_CR1_UE) == (USART_CR1_UE)); in LL_LPUART_IsEnabled() 480 return (READ_BIT(LPUARTx->CR1, USART_CR1_UESM) == (USART_CR1_UESM)); in LL_LPUART_IsEnabledInStopMode() 558 return (uint32_t)(READ_BIT(LPUARTx->CR1, USART_CR1_RE | USART_CR1_TE)); in LL_LPUART_GetTransferDirection() 592 return (uint32_t)(READ_BIT(LPUARTx->CR1, USART_CR1_PS | USART_CR1_PCE)); in LL_LPUART_GetParity() 619 return (uint32_t)(READ_BIT(LPUARTx->CR1, USART_CR1_WAKE)); in LL_LPUART_GetWakeUpMethod() 648 return (uint32_t)(READ_BIT(LPUARTx->CR1, USART_CR1_M)); in LL_LPUART_GetDataWidth() 681 return (READ_BIT(LPUARTx->CR1, USART_CR1_MME) == (USART_CR1_MME)); in LL_LPUART_IsEnabledMuteMode() 708 return (uint32_t)(READ_BIT(LPUARTx->CR2, USART_CR2_STOP)); in LL_LPUART_GetStopBitsLength() 766 return (uint32_t)(READ_BIT(LPUARTx->CR2, USART_CR2_SWAP)); in LL_LPUART_GetTXRXSwap() 793 return (uint32_t)(READ_BIT(LPUARTx->CR2, USART_CR2_RXINV)); in LL_LPUART_GetRXPinLevel() [all …]
|
D | stm32l0xx_hal_rcc.h | 694 tmpreg = READ_BIT(RCC->AHBENR, RCC_AHBENR_DMA1EN);\ 702 tmpreg = READ_BIT(RCC->AHBENR, RCC_AHBENR_MIFEN);\ 710 tmpreg = READ_BIT(RCC->AHBENR, RCC_AHBENR_CRCEN);\ 734 tmpreg = READ_BIT(RCC->IOPENR, RCC_IOPENR_GPIOAEN);\ 742 tmpreg = READ_BIT(RCC->IOPENR, RCC_IOPENR_GPIOBEN);\ 750 tmpreg = READ_BIT(RCC->IOPENR, RCC_IOPENR_GPIOCEN);\ 758 tmpreg = READ_BIT(RCC->IOPENR, RCC_IOPENR_GPIOHEN);\ 812 #define __HAL_RCC_DMA1_IS_CLK_ENABLED() (READ_BIT(RCC->AHBENR, RCC_AHBENR_DMA1EN) != RESET) 813 #define __HAL_RCC_MIF_IS_CLK_ENABLED() (READ_BIT(RCC->AHBENR, RCC_AHBENR_MIFEN) != RESET) 814 #define __HAL_RCC_CRC_IS_CLK_ENABLED() (READ_BIT(RCC->AHBENR, RCC_AHBENR_CRCEN) != RESET) [all …]
|
D | stm32l0xx_ll_crs.h | 274 return (READ_BIT(CRS->CR, CRS_CR_CEN) == (CRS_CR_CEN)); in LL_CRS_IsEnabledFreqErrorCounter() 304 return (READ_BIT(CRS->CR, CRS_CR_AUTOTRIMEN) == (CRS_CR_AUTOTRIMEN)); in LL_CRS_IsEnabledAutoTrimming() 327 return (uint32_t)(READ_BIT(CRS->CR, CRS_CR_TRIM) >> CRS_POSITION_TRIM); in LL_CRS_GetHSI48SmoothTrimming() 350 return (uint32_t)(READ_BIT(CRS->CFGR, CRS_CFGR_RELOAD)); in LL_CRS_GetReloadCounter() 372 return (uint32_t)(READ_BIT(CRS->CFGR, CRS_CFGR_FELIM) >> CRS_POSITION_FELIM); in LL_CRS_GetFreqErrorLimit() 409 return (uint32_t)(READ_BIT(CRS->CFGR, CRS_CFGR_SYNCDIV)); in LL_CRS_GetSyncDivider() 436 return (uint32_t)(READ_BIT(CRS->CFGR, CRS_CFGR_SYNCSRC)); in LL_CRS_GetSyncSignalSource() 461 return (uint32_t)(READ_BIT(CRS->CFGR, CRS_CFGR_SYNCPOL)); in LL_CRS_GetSyncPolarity() 518 return (uint32_t)(READ_BIT(CRS->ISR, CRS_ISR_FEDIR)); in LL_CRS_GetFreqErrorDirection() 528 return (uint32_t)(READ_BIT(CRS->ISR, CRS_ISR_FECAP) >> CRS_POSITION_FECAP); in LL_CRS_GetFreqErrorCapture() [all …]
|
D | stm32l0xx_ll_lptim.h | 360 return (READ_BIT(LPTIMx->CR, LPTIM_CR_ENABLE) == (LPTIM_CR_ENABLE)); in LL_LPTIM_IsEnabled() 406 return (uint32_t)(READ_BIT(LPTIMx->CFGR, LPTIM_CFGR_PRELOAD)); in LL_LPTIM_GetUpdateMode() 435 return (uint32_t)(READ_BIT(LPTIMx->ARR, LPTIM_ARR_ARR)); in LL_LPTIM_GetAutoReload() 462 return (uint32_t)(READ_BIT(LPTIMx->CMP, LPTIM_CMP_CMP)); in LL_LPTIM_GetCompare() 477 return (uint32_t)(READ_BIT(LPTIMx->CNT, LPTIM_CNT_CNT)); in LL_LPTIM_GetCounter() 505 return (uint32_t)(READ_BIT(LPTIMx->CFGR, LPTIM_CFGR_COUNTMODE)); in LL_LPTIM_GetCounterMode() 554 return (uint32_t)(READ_BIT(LPTIMx->CFGR, LPTIM_CFGR_WAVE)); in LL_LPTIM_GetWaveform() 581 return (uint32_t)(READ_BIT(LPTIMx->CFGR, LPTIM_CFGR_WAVPOL)); in LL_LPTIM_GetPolarity() 625 return (uint32_t)(READ_BIT(LPTIMx->CFGR, LPTIM_CFGR_PRESC)); in LL_LPTIM_GetPrescaler() 676 return (READ_BIT(LPTIMx->CFGR, LPTIM_CFGR_TIMOUT) == (LPTIM_CFGR_TIMOUT)); in LL_LPTIM_IsEnabledTimeout() [all …]
|
D | stm32l0xx_ll_pwr.h | 239 return (READ_BIT(PWR->CR, PWR_CR_LPRUN) == (PWR_CR_LPRUN)); in LL_PWR_IsEnabledLowPowerRunMode() 303 return (uint32_t)(READ_BIT(PWR->CR, PWR_CR_VOS)); in LL_PWR_GetRegulVoltageScaling() 333 return (READ_BIT(PWR->CR, PWR_CR_DBP) == (PWR_CR_DBP)); in LL_PWR_IsEnabledBkUpAccess() 358 return (uint32_t)(READ_BIT(PWR->CR, PWR_CR_LPSDSR)); in LL_PWR_GetRegulModeLP() 384 return (uint32_t)(READ_BIT(PWR->CR, PWR_CR_LPDS)); in LL_PWR_GetRegulModeDS() 414 return (uint32_t)(READ_BIT(PWR->CR, PWR_CR_PDDS)); in LL_PWR_GetPowerMode() 452 return (uint32_t)(READ_BIT(PWR->CR, PWR_CR_PLS)); in LL_PWR_GetPVDLevel() 482 return (READ_BIT(PWR->CR, PWR_CR_PVDE) == (PWR_CR_PVDE)); in LL_PWR_IsEnabledPVD() 537 return (READ_BIT(PWR->CSR, WakeUpPin) == (WakeUpPin)); in LL_PWR_IsEnabledWakeUpPin() 567 return (READ_BIT(PWR->CR, PWR_CR_ULP) == (PWR_CR_ULP)); in LL_PWR_IsEnabledUltraLowPower() [all …]
|
/loramac-node-2.7.6/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Src/ |
D | stm32l4xx_hal_rcc.c | 292 while(READ_BIT(RCC->CR, RCC_CR_MSIRDY) == 0U) in HAL_RCC_DeInit() 320 while(READ_BIT(RCC->CFGR, RCC_CFGR_SWS) != RCC_CFGR_SWS_MSI) in HAL_RCC_DeInit() 349 while(READ_BIT(RCC->CR, RCC_CR_PLLRDY | RCC_CR_PLLSAI1RDY | RCC_CR_PLLSAI2RDY) != 0U) in HAL_RCC_DeInit() 353 while(READ_BIT(RCC->CR, RCC_CR_PLLRDY | RCC_CR_PLLSAI1RDY) != 0U) in HAL_RCC_DeInit() 357 while(READ_BIT(RCC->CR, RCC_CR_PLLRDY) != 0U) in HAL_RCC_DeInit() 446 if((READ_BIT(RCC->CR, RCC_CR_MSIRDY) != 0U) && (RCC_OscInitStruct->MSIState == RCC_MSI_OFF)) in HAL_RCC_OscConfig() 486 …SystemCoreClock = HAL_RCC_GetSysClockFreq() >> (AHBPrescTable[READ_BIT(RCC->CFGR, RCC_CFGR_HPRE) >… in HAL_RCC_OscConfig() 508 while(READ_BIT(RCC->CR, RCC_CR_MSIRDY) == 0U) in HAL_RCC_OscConfig() 530 while(READ_BIT(RCC->CR, RCC_CR_MSIRDY) != 0U) in HAL_RCC_OscConfig() 550 if((READ_BIT(RCC->CR, RCC_CR_HSERDY) != 0U) && (RCC_OscInitStruct->HSEState == RCC_HSE_OFF)) in HAL_RCC_OscConfig() [all …]
|
/loramac-node-2.7.6/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Inc/ |
D | stm32l1xx_ll_rcc.h | 582 return (READ_BIT(RCC->CR, RCC_CR_HSERDY) == (RCC_CR_HSERDY)); in LL_RCC_HSE_IsReady() 611 return (uint32_t)(READ_BIT(RCC->CR, RCC_CR_RTCPRE)); in LL_RCC_GetRTC_HSEPrescaler() 649 return (READ_BIT(RCC->CR, RCC_CR_HSIRDY) == (RCC_CR_HSIRDY)); in LL_RCC_HSI_IsReady() 661 return (uint32_t)(READ_BIT(RCC->ICSCR, RCC_ICSCR_HSICAL) >> RCC_ICSCR_HSICAL_Pos); in LL_RCC_HSI_GetCalibration() 685 return (uint32_t)(READ_BIT(RCC->ICSCR, RCC_ICSCR_HSITRIM) >> RCC_ICSCR_HSITRIM_Pos); in LL_RCC_HSI_GetCalibTrimming() 767 return (READ_BIT(RCC->CSR, RCC_CSR_LSERDY) == (RCC_CSR_LSERDY)); in LL_RCC_LSE_IsReady() 778 return (READ_BIT(RCC->CSR, RCC_CSR_LSECSSD) == (RCC_CSR_LSECSSD)); in LL_RCC_LSE_IsCSSDetected() 817 return (READ_BIT(RCC->CSR, RCC_CSR_LSIRDY) == (RCC_CSR_LSIRDY)); in LL_RCC_LSI_IsReady() 855 return (READ_BIT(RCC->CR, RCC_CR_MSIRDY) == (RCC_CR_MSIRDY)); in LL_RCC_MSI_IsReady() 890 return (uint32_t)(READ_BIT(RCC->ICSCR, RCC_ICSCR_MSIRANGE)); in LL_RCC_MSI_GetRange() [all …]
|
D | stm32l1xx_ll_i2c.h | 389 return (READ_BIT(I2Cx->CR1, I2C_CR1_PE) == (I2C_CR1_PE)); in LL_I2C_IsEnabled() 423 return (READ_BIT(I2Cx->CR2, I2C_CR2_DMAEN) == (I2C_CR2_DMAEN)); in LL_I2C_IsEnabledDMAReq_TX() 456 return (READ_BIT(I2Cx->CR2, I2C_CR2_DMAEN) == (I2C_CR2_DMAEN)); in LL_I2C_IsEnabledDMAReq_RX() 502 return (READ_BIT(I2Cx->CR1, I2C_CR1_NOSTRETCH) != (I2C_CR1_NOSTRETCH)); in LL_I2C_IsEnabledClockStretching() 537 return (READ_BIT(I2Cx->CR1, I2C_CR1_ENGC) == (I2C_CR1_ENGC)); in LL_I2C_IsEnabledGeneralCall() 601 return (READ_BIT(I2Cx->OAR2, I2C_OAR2_ENDUAL) == (I2C_OAR2_ENDUAL)); in LL_I2C_IsEnabledOwnAddress2() 624 return (uint32_t)(__LL_I2C_FREQ_MHZ_TO_HZ(READ_BIT(I2Cx->CR2, I2C_CR2_FREQ))); in LL_I2C_GetPeriphClock() 651 return (uint32_t)(READ_BIT(I2Cx->CCR, I2C_CCR_DUTY)); in LL_I2C_GetDutyCycle() 678 return (uint32_t)(READ_BIT(I2Cx->CCR, I2C_CCR_FS)); in LL_I2C_GetClockSpeedMode() 702 return (uint32_t)(READ_BIT(I2Cx->TRISE, I2C_TRISE_TRISE)); in LL_I2C_GetRiseTime() [all …]
|
D | stm32l1xx_ll_rtc.h | 829 return (uint32_t)(READ_BIT(RTCx->CR, RTC_CR_FMT)); in LL_RTC_GetHourFormat() 861 return (uint32_t)(READ_BIT(RTCx->CR, RTC_CR_OSEL)); in LL_RTC_GetAlarmOutEvent() 890 return (uint32_t)(READ_BIT(RTCx->TAFCR, RTC_TAFCR_ALARMOUTTYPE)); in LL_RTC_GetAlarmOutputType() 945 return (uint32_t)(READ_BIT(RTCx->CR, RTC_CR_POL)); in LL_RTC_GetOutputPolarity() 980 return (READ_BIT(RTCx->CR, RTC_CR_BYPSHAD) == (RTC_CR_BYPSHAD)); in LL_RTC_IsShadowRegBypassEnabled() 1042 return (uint32_t)(READ_BIT(RTCx->PRER, RTC_PRER_PREDIV_A) >> RTC_PRER_PREDIV_A_Pos); in LL_RTC_GetAsynchPrescaler() 1053 return (uint32_t)(READ_BIT(RTCx->PRER, RTC_PRER_PREDIV_S)); in LL_RTC_GetSynchPrescaler() 1117 return (uint32_t)(READ_BIT(RTCx->TR, RTC_TR_PM)); in LL_RTC_TIME_GetFormat() 1154 temp = READ_BIT(RTCx->TR, (RTC_TR_HT | RTC_TR_HU)); in LL_RTC_TIME_GetHour() 1192 temp = READ_BIT(RTCx->TR, (RTC_TR_MNT | RTC_TR_MNU)); in LL_RTC_TIME_GetMinute() [all …]
|
D | stm32l1xx_ll_pwr.h | 239 return (READ_BIT(PWR->CR, PWR_CR_LPRUN) == (PWR_CR_LPRUN)); in LL_PWR_IsEnabledLowPowerRunMode() 303 return (uint32_t)(READ_BIT(PWR->CR, PWR_CR_VOS)); in LL_PWR_GetRegulVoltageScaling() 333 return (READ_BIT(PWR->CR, PWR_CR_DBP) == (PWR_CR_DBP)); in LL_PWR_IsEnabledBkUpAccess() 358 return (uint32_t)(READ_BIT(PWR->CR, PWR_CR_LPSDSR)); in LL_PWR_GetRegulModeLP() 384 return (uint32_t)(READ_BIT(PWR->CR, PWR_CR_LPDS)); in LL_PWR_GetRegulModeDS() 414 return (uint32_t)(READ_BIT(PWR->CR, PWR_CR_PDDS)); in LL_PWR_GetPowerMode() 452 return (uint32_t)(READ_BIT(PWR->CR, PWR_CR_PLS)); in LL_PWR_GetPVDLevel() 482 return (READ_BIT(PWR->CR, PWR_CR_PVDE) == (PWR_CR_PVDE)); in LL_PWR_IsEnabledPVD() 537 return (READ_BIT(PWR->CSR, WakeUpPin) == (WakeUpPin)); in LL_PWR_IsEnabledWakeUpPin() 567 return (READ_BIT(PWR->CR, PWR_CR_ULP) == (PWR_CR_ULP)); in LL_PWR_IsEnabledUltraLowPower() [all …]
|
D | stm32l1xx_ll_usart.h | 442 return (READ_BIT(USARTx->CR1, USART_CR1_UE) == (USART_CR1_UE)); in LL_USART_IsEnabled() 520 return (uint32_t)(READ_BIT(USARTx->CR1, USART_CR1_RE | USART_CR1_TE)); in LL_USART_GetTransferDirection() 554 return (uint32_t)(READ_BIT(USARTx->CR1, USART_CR1_PS | USART_CR1_PCE)); in LL_USART_GetParity() 581 return (uint32_t)(READ_BIT(USARTx->CR1, USART_CR1_WAKE)); in LL_USART_GetWakeUpMethod() 608 return (uint32_t)(READ_BIT(USARTx->CR1, USART_CR1_M)); in LL_USART_GetDataWidth() 635 return (uint32_t)(READ_BIT(USARTx->CR1, USART_CR1_OVER8)); in LL_USART_GetOverSampling() 667 return (uint32_t)(READ_BIT(USARTx->CR2, USART_CR2_LBCL)); in LL_USART_GetLastClkPulseOutput() 698 return (uint32_t)(READ_BIT(USARTx->CR2, USART_CR2_CPHA)); in LL_USART_GetClockPhase() 729 return (uint32_t)(READ_BIT(USARTx->CR2, USART_CR2_CPOL)); in LL_USART_GetClockPolarity() 796 return (READ_BIT(USARTx->CR2, USART_CR2_CLKEN) == (USART_CR2_CLKEN)); in LL_USART_IsEnabledSCLKOutput() [all …]
|