/loramac-node-2.7.6/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Inc/ |
D | stm32l0xx_hal_rcc_ex.h | 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) 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) 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) 660 #define __HAL_RCC_GPIOE_IS_CLK_ENABLED() (READ_BIT(RCC->IOPENR, RCC_IOPENR_GPIOEEN) != RESET) 661 #define __HAL_RCC_GPIOE_IS_CLK_DISABLED() (READ_BIT(RCC->IOPENR, RCC_IOPENR_GPIOEEN) == RESET) 674 #define __HAL_RCC_GPIOD_IS_CLK_ENABLED() (READ_BIT(RCC->IOPENR, RCC_IOPENR_GPIODEN) != RESET) 675 #define __HAL_RCC_GPIOD_IS_CLK_DISABLED() (READ_BIT(RCC->IOPENR, RCC_IOPENR_GPIODEN) == RESET) [all …]
|
D | stm32l0xx_hal_rtc_ex.h | 476 …ERRUPT__) (((((__HANDLE__)->Instance->ISR) & ((__INTERRUPT__)>> 4U)) != RESET) ? SET : RESET) 486 …DLE__, __INTERRUPT__) (((((__HANDLE__)->Instance->CR) & (__INTERRUPT__)) != RESET) ? SET : RESET) 497 …LAG(__HANDLE__, __FLAG__) (((((__HANDLE__)->Instance->ISR) & (__FLAG__)) != RESET) ? SET : RESET) 645 …RRUPT__) (((((__HANDLE__)->Instance->ISR) & ((__INTERRUPT__)>> 4U)) != RESET) ? SET : RESET) 655 …E__, __INTERRUPT__) (((((__HANDLE__)->Instance->CR) & (__INTERRUPT__)) != RESET) ? SET : RESET) 666 …G(__HANDLE__, __FLAG__) (((((__HANDLE__)->Instance->ISR) & (__FLAG__)) != RESET) ? SET : RESET) 854 …IT_TAMP1) ? (((((__HANDLE__)->Instance->ISR) & ((__INTERRUPT__)>> 3U)) != RESET) ? SET : RESET) : \ 855 …TC_IT_TAMP2) ? (((((__HANDLE__)->Instance->ISR) & ((__INTERRUPT__)>> 5U)) != RESET) ? SET : RESET)) 871 …IT_TAMP1) ? (((((__HANDLE__)->Instance->ISR) & ((__INTERRUPT__)>> 3U)) != RESET) ? SET : RESET) : \ 872 …IT_TAMP2) ? (((((__HANDLE__)->Instance->ISR) & ((__INTERRUPT__)>> 5U)) != RESET) ? SET : RESET) : \ [all …]
|
D | stm32l0xx_hal_rcc.h | 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) 815 #define __HAL_RCC_DMA1_IS_CLK_DISABLED() (READ_BIT(RCC->AHBENR, RCC_AHBENR_DMA1EN) == RESET) 816 #define __HAL_RCC_MIF_IS_CLK_DISABLED() (READ_BIT(RCC->AHBENR, RCC_AHBENR_MIFEN) == RESET) 817 #define __HAL_RCC_CRC_IS_CLK_DISABLED() (READ_BIT(RCC->AHBENR, RCC_AHBENR_CRCEN) == RESET) 831 #define __HAL_RCC_GPIOA_IS_CLK_ENABLED() (READ_BIT(RCC->IOPENR, RCC_IOPENR_GPIOAEN) != RESET) 832 #define __HAL_RCC_GPIOB_IS_CLK_ENABLED() (READ_BIT(RCC->IOPENR, RCC_IOPENR_GPIOBEN) != RESET) 833 #define __HAL_RCC_GPIOC_IS_CLK_ENABLED() (READ_BIT(RCC->IOPENR, RCC_IOPENR_GPIOCEN) != RESET) 834 #define __HAL_RCC_GPIOH_IS_CLK_ENABLED() (READ_BIT(RCC->IOPENR, RCC_IOPENR_GPIOHEN) != RESET) [all …]
|
/loramac-node-2.7.6/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Inc/ |
D | stm32l1xx_hal_rcc.h | 1130 #define __HAL_RCC_GPIOA_IS_CLK_ENABLED() ((RCC->AHBENR & (RCC_AHBENR_GPIOAEN)) != RESET) 1131 #define __HAL_RCC_GPIOB_IS_CLK_ENABLED() ((RCC->AHBENR & (RCC_AHBENR_GPIOBEN)) != RESET) 1132 #define __HAL_RCC_GPIOC_IS_CLK_ENABLED() ((RCC->AHBENR & (RCC_AHBENR_GPIOCEN)) != RESET) 1133 #define __HAL_RCC_GPIOD_IS_CLK_ENABLED() ((RCC->AHBENR & (RCC_AHBENR_GPIODEN)) != RESET) 1134 #define __HAL_RCC_GPIOH_IS_CLK_ENABLED() ((RCC->AHBENR & (RCC_AHBENR_GPIOHEN)) != RESET) 1135 #define __HAL_RCC_CRC_IS_CLK_ENABLED() ((RCC->AHBENR & (RCC_AHBENR_CRCEN)) != RESET) 1136 #define __HAL_RCC_FLITF_IS_CLK_ENABLED() ((RCC->AHBENR & (RCC_AHBENR_FLITFEN)) != RESET) 1137 #define __HAL_RCC_DMA1_IS_CLK_ENABLED() ((RCC->AHBENR & (RCC_AHBENR_DMA1EN)) != RESET) 1138 #define __HAL_RCC_GPIOA_IS_CLK_DISABLED() ((RCC->AHBENR & (RCC_AHBENR_GPIOAEN)) == RESET) 1139 #define __HAL_RCC_GPIOB_IS_CLK_DISABLED() ((RCC->AHBENR & (RCC_AHBENR_GPIOBEN)) == RESET) [all …]
|
D | stm32l1xx_hal_rcc_ex.h | 640 #define __HAL_RCC_GPIOE_IS_CLK_ENABLED() ((RCC->AHBENR & (RCC_AHBENR_GPIOEEN)) != RESET) 641 #define __HAL_RCC_GPIOE_IS_CLK_DISABLED() ((RCC->AHBENR & (RCC_AHBENR_GPIOEEN)) == RESET) 649 #define __HAL_RCC_GPIOF_IS_CLK_ENABLED() ((RCC->AHBENR & (RCC_AHBENR_GPIOFEN)) != RESET) 650 #define __HAL_RCC_GPIOG_IS_CLK_ENABLED() ((RCC->AHBENR & (RCC_AHBENR_GPIOGEN)) != RESET) 651 #define __HAL_RCC_GPIOF_IS_CLK_DISABLED() ((RCC->AHBENR & (RCC_AHBENR_GPIOFEN)) == RESET) 652 #define __HAL_RCC_GPIOG_IS_CLK_DISABLED() ((RCC->AHBENR & (RCC_AHBENR_GPIOGEN)) == RESET) 662 #define __HAL_RCC_DMA2_IS_CLK_ENABLED() ((RCC->AHBENR & (RCC_AHBENR_DMA2EN)) != RESET) 663 #define __HAL_RCC_DMA2_IS_CLK_DISABLED() ((RCC->AHBENR & (RCC_AHBENR_DMA2EN)) == RESET) 670 #define __HAL_RCC_CRYP_IS_CLK_ENABLED() ((RCC->AHBENR & (RCC_AHBENR_AESEN)) != RESET) 671 #define __HAL_RCC_CRYP_IS_CLK_DISABLED() ((RCC->AHBENR & (RCC_AHBENR_AESEN)) == RESET) [all …]
|
D | stm32l1xx_hal_rtc_ex.h | 331 …MPER_1|RTC_TAMPER_2|RTC_TAMPER_3) & (TAMPER)) == (uint32_t)RESET) && ((TAMPER) != (uint32_t)RESET)) 811 … == RTC_IT_TAMP1) ? (((((__HANDLE__)->Instance->ISR) & RTC_ISR_TAMP1F) != RESET) ? SET : RESET) : \ 812 … == RTC_IT_TAMP2) ? (((((__HANDLE__)->Instance->ISR) & RTC_ISR_TAMP2F) != RESET) ? SET : RESET) : \ 813 … (((((__HANDLE__)->Instance->ISR) & RTC_ISR_TAMP3F) != RESET) ? SET : RESET)) 823 …ANDLE__, __INTERRUPT__) (((((__HANDLE__)->Instance->ISR) & RTC_ISR_TAMP1F) != RESET) ? SET : RESET) 873 …, __INTERRUPT__) (((((__HANDLE__)->Instance->TAFCR) & RTC_TAFCR_TAMPIE) != RESET) ? SET : RESET) 883 …, __FLAG__) (((((__HANDLE__)->Instance->ISR) & ((__FLAG__)>> 4)) != RESET)? SET : RESET) 893 …DLE__, __INTERRUPT__) (((((__HANDLE__)->Instance->CR) & (__INTERRUPT__)) != RESET) ? SET : RESET) 903 …T__) (((((__HANDLE__)->Instance->ISR) & ((__INTERRUPT__)>> 4)) != RESET)? SET : RESET) 913 …E__, __INTERRUPT__) (((((__HANDLE__)->Instance->CR) & (__INTERRUPT__)) != RESET) ? SET : RESET) [all …]
|
/loramac-node-2.7.6/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Src/ |
D | stm32l0xx_hal_smbus.c | 610 if (SMBUS_GET_PEC_MODE(hsmbus) != RESET) in HAL_SMBUS_Master_Transmit_IT() 845 if (SMBUS_GET_PEC_MODE(hsmbus) != RESET) in HAL_SMBUS_Slave_Transmit_IT() 923 …f ((hsmbus->XferSize == 1U) || ((hsmbus->XferSize == 2U) && (SMBUS_GET_PEC_MODE(hsmbus) != RESET))) in HAL_SMBUS_Slave_Receive_IT() 1047 if (__HAL_SMBUS_GET_FLAG(hsmbus, SMBUS_FLAG_BUSY) != RESET) in HAL_SMBUS_IsDeviceReady() 1066 …_SMBUS_GET_FLAG(hsmbus, SMBUS_FLAG_STOPF) == RESET) && (__HAL_SMBUS_GET_FLAG(hsmbus, SMBUS_FLAG_AF… in HAL_SMBUS_IsDeviceReady() 1083 if (__HAL_SMBUS_GET_FLAG(hsmbus, SMBUS_FLAG_AF) == RESET) in HAL_SMBUS_IsDeviceReady() 1086 if (SMBUS_WaitOnFlagUntilTimeout(hsmbus, SMBUS_FLAG_STOPF, RESET, Timeout) != HAL_OK) in HAL_SMBUS_IsDeviceReady() 1105 if (SMBUS_WaitOnFlagUntilTimeout(hsmbus, SMBUS_FLAG_STOPF, RESET, Timeout) != HAL_OK) in HAL_SMBUS_IsDeviceReady() 1124 if (SMBUS_WaitOnFlagUntilTimeout(hsmbus, SMBUS_FLAG_STOPF, RESET, Timeout) != HAL_OK) in HAL_SMBUS_IsDeviceReady() 1170 …RESET) || (SMBUS_CHECK_FLAG(tmpisrvalue, SMBUS_FLAG_TCR) != RESET) || (SMBUS_CHECK_FLAG(tmpisrvalu… in HAL_SMBUS_EV_IRQHandler() [all …]
|
D | stm32l0xx_hal_rcc.c | 348 … if((__HAL_RCC_GET_FLAG(RCC_FLAG_HSERDY) != RESET) && (RCC_OscInitStruct->HSEState == RCC_HSE_OFF)) in HAL_RCC_OscConfig() 366 while(__HAL_RCC_GET_FLAG(RCC_FLAG_HSERDY) == RESET) in HAL_RCC_OscConfig() 380 while(__HAL_RCC_GET_FLAG(RCC_FLAG_HSERDY) != RESET) in HAL_RCC_OscConfig() 402 … if((__HAL_RCC_GET_FLAG(RCC_FLAG_HSIRDY) != RESET) && (RCC_OscInitStruct->HSIState != RCC_HSI_ON)) in HAL_RCC_OscConfig() 425 while(__HAL_RCC_GET_FLAG(RCC_FLAG_HSIRDY) == RESET) in HAL_RCC_OscConfig() 445 while(__HAL_RCC_GET_FLAG(RCC_FLAG_HSIRDY) != RESET) in HAL_RCC_OscConfig() 461 … if((__HAL_RCC_GET_FLAG(RCC_FLAG_MSIRDY) != RESET) && (RCC_OscInitStruct->MSIState == RCC_MSI_OFF)) in HAL_RCC_OscConfig() 526 while(__HAL_RCC_GET_FLAG(RCC_FLAG_MSIRDY) == RESET) in HAL_RCC_OscConfig() 552 while(__HAL_RCC_GET_FLAG(RCC_FLAG_MSIRDY) != RESET) in HAL_RCC_OscConfig() 578 while(__HAL_RCC_GET_FLAG(RCC_FLAG_LSIRDY) == RESET) in HAL_RCC_OscConfig() [all …]
|
D | stm32l0xx_hal_spi.c | 491 if(SPI_WaitOnFlagUntilTimeout(hspi, SPI_FLAG_TXE, RESET, Timeout) != HAL_OK) in HAL_SPI_Transmit() 517 if(SPI_WaitOnFlagUntilTimeout(hspi, SPI_FLAG_TXE, RESET, Timeout) != HAL_OK) in HAL_SPI_Transmit() 533 if(SPI_WaitOnFlagUntilTimeout(hspi, SPI_FLAG_TXE, RESET, Timeout) != HAL_OK) in HAL_SPI_Transmit() 637 if(SPI_WaitOnFlagUntilTimeout(hspi, SPI_FLAG_RXNE, RESET, Timeout) != HAL_OK) in HAL_SPI_Receive() 657 if(SPI_WaitOnFlagUntilTimeout(hspi, SPI_FLAG_RXNE, RESET, Timeout) != HAL_OK) in HAL_SPI_Receive() 674 if(SPI_WaitOnFlagUntilTimeout(hspi, SPI_FLAG_RXNE, RESET, Timeout) != HAL_OK) in HAL_SPI_Receive() 696 if(SPI_WaitOnFlagUntilTimeout(hspi, SPI_FLAG_RXNE, RESET, Timeout) != HAL_OK) in HAL_SPI_Receive() 716 …CCalculation == SPI_CRCCALCULATION_ENABLE) && (__HAL_SPI_GET_FLAG(hspi, SPI_FLAG_CRCERR) != RESET)) in HAL_SPI_Receive() 819 if(SPI_WaitOnFlagUntilTimeout(hspi, SPI_FLAG_RXNE, RESET, Timeout) != HAL_OK) in HAL_SPI_TransmitReceive() 833 if(SPI_WaitOnFlagUntilTimeout(hspi, SPI_FLAG_TXE, RESET, Timeout) != HAL_OK) in HAL_SPI_TransmitReceive() [all …]
|
D | stm32l0xx_hal_smartcard.c | 504 …if(SMARTCARD_WaitOnFlagUntilTimeout(hsmartcard, SMARTCARD_FLAG_TXE, RESET, tickstart, Timeout) != … in HAL_SMARTCARD_Transmit() 510 …if(SMARTCARD_WaitOnFlagUntilTimeout(hsmartcard, SMARTCARD_FLAG_TC, RESET, tickstart, Timeout) != H… in HAL_SMARTCARD_Transmit() 576 …if(SMARTCARD_WaitOnFlagUntilTimeout(hsmartcard, SMARTCARD_FLAG_RXNE, RESET, tickstart, Timeout) !=… in HAL_SMARTCARD_Receive() 1302 if (errorflags == RESET) in HAL_SMARTCARD_IRQHandler() 1305 if(((isrflags & USART_ISR_RXNE) != RESET) && ((cr1its & USART_CR1_RXNEIE) != RESET)) in HAL_SMARTCARD_IRQHandler() 1315 if( (errorflags != RESET) in HAL_SMARTCARD_IRQHandler() 1316 && ( ((cr3its & USART_CR3_EIE) != RESET) in HAL_SMARTCARD_IRQHandler() 1317 || ((cr1its & (USART_CR1_RXNEIE | USART_CR1_PEIE | USART_CR1_RTOIE)) != RESET)) ) in HAL_SMARTCARD_IRQHandler() 1320 if(((isrflags & USART_ISR_PE) != RESET) && ((cr1its & USART_CR1_PEIE) != RESET)) in HAL_SMARTCARD_IRQHandler() 1328 if(((isrflags & USART_ISR_FE) != RESET) && ((cr3its & USART_CR3_EIE) != RESET)) in HAL_SMARTCARD_IRQHandler() [all …]
|
D | stm32l0xx_hal_i2c.c | 688 if (I2C_WaitOnFlagUntilTimeout(hi2c, I2C_FLAG_TCR, RESET, Timeout, tickstart) != HAL_OK) in HAL_I2C_Master_Transmit() 813 if (I2C_WaitOnFlagUntilTimeout(hi2c, I2C_FLAG_TCR, RESET, Timeout, tickstart) != HAL_OK) in HAL_I2C_Master_Receive() 903 if (I2C_WaitOnFlagUntilTimeout(hi2c, I2C_FLAG_ADDR, RESET, Timeout, tickstart) != HAL_OK) in HAL_I2C_Slave_Transmit() 917 if (I2C_WaitOnFlagUntilTimeout(hi2c, I2C_FLAG_ADDR, RESET, Timeout, tickstart) != HAL_OK) in HAL_I2C_Slave_Transmit() 929 if (I2C_WaitOnFlagUntilTimeout(hi2c, I2C_FLAG_DIR, RESET, Timeout, tickstart) != HAL_OK) in HAL_I2C_Slave_Transmit() 1043 if (I2C_WaitOnFlagUntilTimeout(hi2c, I2C_FLAG_ADDR, RESET, Timeout, tickstart) != HAL_OK) in HAL_I2C_Slave_Receive() 1817 if (I2C_WaitOnFlagUntilTimeout(hi2c, I2C_FLAG_TCR, RESET, Timeout, tickstart) != HAL_OK) in HAL_I2C_Mem_Write() 1951 if (I2C_WaitOnFlagUntilTimeout(hi2c, I2C_FLAG_RXNE, RESET, Timeout, tickstart) != HAL_OK) in HAL_I2C_Mem_Read() 1964 if (I2C_WaitOnFlagUntilTimeout(hi2c, I2C_FLAG_TCR, RESET, Timeout, tickstart) != HAL_OK) in HAL_I2C_Mem_Read() 2482 …e ((__HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_STOPF) == RESET) && (__HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_AF) =… in HAL_I2C_IsDeviceReady() [all …]
|
D | stm32l0xx_hal_usart.c | 439 if(USART_WaitOnFlagUntilTimeout(husart, USART_FLAG_TXE, RESET, tickstart, Timeout) != HAL_OK) in HAL_USART_Transmit() 455 if(USART_WaitOnFlagUntilTimeout(husart, USART_FLAG_TC, RESET, tickstart, Timeout) != HAL_OK) in HAL_USART_Transmit() 536 if(USART_WaitOnFlagUntilTimeout(husart, USART_FLAG_TXE, RESET, tickstart, Timeout) != HAL_OK) in HAL_USART_Receive() 543 if(USART_WaitOnFlagUntilTimeout(husart, USART_FLAG_RXNE, RESET, tickstart, Timeout) != HAL_OK) in HAL_USART_Receive() 636 if(USART_WaitOnFlagUntilTimeout(husart, USART_FLAG_TXE, RESET, tickstart, Timeout) != HAL_OK) in HAL_USART_TransmitReceive() 652 if(USART_WaitOnFlagUntilTimeout(husart, USART_FLAG_RXNE, RESET, tickstart, Timeout) != HAL_OK) in HAL_USART_TransmitReceive() 1475 if (errorflags == RESET) in HAL_USART_IRQHandler() 1478 if(((isrflags & USART_ISR_RXNE) != RESET) && ((cr1its & USART_CR1_RXNEIE) != RESET)) in HAL_USART_IRQHandler() 1494 if( (errorflags != RESET) in HAL_USART_IRQHandler() 1495 && ( ((cr3its & USART_CR3_EIE) != RESET) in HAL_USART_IRQHandler() [all …]
|
D | stm32l0xx_hal_rtc_ex.c | 748 if(__HAL_RTC_TIMESTAMP_GET_IT_SOURCE(hrtc, RTC_IT_TS) != RESET) in HAL_RTCEx_TamperTimeStampIRQHandler() 751 if(__HAL_RTC_TIMESTAMP_GET_FLAG(hrtc, RTC_FLAG_TSF) != RESET) in HAL_RTCEx_TamperTimeStampIRQHandler() 768 if(__HAL_RTC_TAMPER_GET_IT_SOURCE(hrtc, RTC_IT_TAMP | RTC_IT_TAMP1) != RESET) in HAL_RTCEx_TamperTimeStampIRQHandler() 771 if(__HAL_RTC_TAMPER_GET_FLAG(hrtc, RTC_FLAG_TAMP1F) != RESET) in HAL_RTCEx_TamperTimeStampIRQHandler() 788 if(__HAL_RTC_TAMPER_GET_IT_SOURCE(hrtc, RTC_IT_TAMP | RTC_IT_TAMP2) != RESET) in HAL_RTCEx_TamperTimeStampIRQHandler() 791 if(__HAL_RTC_TAMPER_GET_FLAG(hrtc, RTC_FLAG_TAMP2F) != RESET) in HAL_RTCEx_TamperTimeStampIRQHandler() 806 if(__HAL_RTC_TAMPER_GET_IT_SOURCE(hrtc, RTC_IT_TAMP | RTC_IT_TAMP3) != RESET) in HAL_RTCEx_TamperTimeStampIRQHandler() 809 if(__HAL_RTC_TAMPER_GET_FLAG(hrtc, RTC_FLAG_TAMP3F) != RESET) in HAL_RTCEx_TamperTimeStampIRQHandler() 911 while(__HAL_RTC_TIMESTAMP_GET_FLAG(hrtc, RTC_FLAG_TSF) == RESET) in HAL_RTCEx_PollForTimeStampEvent() 913 if(__HAL_RTC_TIMESTAMP_GET_FLAG(hrtc, RTC_FLAG_TSOVF) != RESET) in HAL_RTCEx_PollForTimeStampEvent() [all …]
|
D | stm32l0xx_hal_rtc.c | 288 while(((hrtc->Instance->ISR) & RTC_ISR_WUTWF) == (uint32_t)RESET) in HAL_RTC_DeInit() 323 if((hrtc->Instance->CR & RTC_CR_BYPSHAD) == RESET) in HAL_RTC_DeInit() 425 if((hrtc->Instance->CR & RTC_CR_FMT) != (uint32_t)RESET) in HAL_RTC_SetTime() 445 if((hrtc->Instance->CR & RTC_CR_FMT) != (uint32_t)RESET) in HAL_RTC_SetTime() 496 if((hrtc->Instance->CR & RTC_CR_BYPSHAD) == RESET) in HAL_RTC_SetTime() 658 if((hrtc->Instance->CR & RTC_CR_BYPSHAD) == RESET) in HAL_RTC_SetDate() 773 if((hrtc->Instance->CR & RTC_CR_FMT) != (uint32_t)RESET) in HAL_RTC_SetAlarm() 805 if((hrtc->Instance->CR & RTC_CR_FMT) != (uint32_t)RESET) in HAL_RTC_SetAlarm() 857 while(__HAL_RTC_ALARM_GET_FLAG(hrtc, RTC_FLAG_ALRAWF) == RESET) in HAL_RTC_SetAlarm() 889 while(__HAL_RTC_ALARM_GET_FLAG(hrtc, RTC_FLAG_ALRBWF) == RESET) in HAL_RTC_SetAlarm() [all …]
|
D | stm32l0xx_hal_irda.c | 505 if(IRDA_WaitOnFlagUntilTimeout(hirda, IRDA_FLAG_TXE, RESET, tickstart, Timeout) != HAL_OK) in HAL_IRDA_Transmit() 521 if(IRDA_WaitOnFlagUntilTimeout(hirda, IRDA_FLAG_TC, RESET, tickstart, Timeout) != HAL_OK) in HAL_IRDA_Transmit() 600 if(IRDA_WaitOnFlagUntilTimeout(hirda, IRDA_FLAG_RXNE, RESET, tickstart, Timeout) != HAL_OK) in HAL_IRDA_Receive() 1463 if (errorflags == RESET) in HAL_IRDA_IRQHandler() 1466 if(((isrflags & USART_ISR_RXNE) != RESET) && ((cr1its & USART_CR1_RXNEIE) != RESET)) in HAL_IRDA_IRQHandler() 1475 if( (errorflags != RESET) in HAL_IRDA_IRQHandler() 1476 && ( ((cr3its & USART_CR3_EIE) != RESET) in HAL_IRDA_IRQHandler() 1477 || ((cr1its & (USART_CR1_RXNEIE | USART_CR1_PEIE)) != RESET)) ) in HAL_IRDA_IRQHandler() 1480 if(((isrflags & USART_ISR_PE) != RESET) && ((cr1its & USART_CR1_PEIE) != RESET)) in HAL_IRDA_IRQHandler() 1488 if(((isrflags & USART_ISR_FE) != RESET) && ((cr3its & USART_CR3_EIE) != RESET)) in HAL_IRDA_IRQHandler() [all …]
|
/loramac-node-2.7.6/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Src/ |
D | stm32l1xx_hal_spi.c | 356 if(SPI_WaitOnFlagUntilTimeout(hspi, SPI_FLAG_TXE, RESET, Timeout) != HAL_OK) in HAL_SPI_Transmit() 381 if(SPI_WaitOnFlagUntilTimeout(hspi, SPI_FLAG_TXE, RESET, Timeout) != HAL_OK) in HAL_SPI_Transmit() 397 if(SPI_WaitOnFlagUntilTimeout(hspi, SPI_FLAG_TXE, RESET, Timeout) != HAL_OK) in HAL_SPI_Transmit() 501 if(SPI_WaitOnFlagUntilTimeout(hspi, SPI_FLAG_RXNE, RESET, Timeout) != HAL_OK) in HAL_SPI_Receive() 521 if(SPI_WaitOnFlagUntilTimeout(hspi, SPI_FLAG_RXNE, RESET, Timeout) != HAL_OK) in HAL_SPI_Receive() 538 if(SPI_WaitOnFlagUntilTimeout(hspi, SPI_FLAG_RXNE, RESET, Timeout) != HAL_OK) in HAL_SPI_Receive() 559 if(SPI_WaitOnFlagUntilTimeout(hspi, SPI_FLAG_RXNE, RESET, Timeout) != HAL_OK) in HAL_SPI_Receive() 579 …CCalculation == SPI_CRCCALCULATION_ENABLE) && (__HAL_SPI_GET_FLAG(hspi, SPI_FLAG_CRCERR) != RESET)) in HAL_SPI_Receive() 682 if(SPI_WaitOnFlagUntilTimeout(hspi, SPI_FLAG_RXNE, RESET, Timeout) != HAL_OK) in HAL_SPI_TransmitReceive() 696 if(SPI_WaitOnFlagUntilTimeout(hspi, SPI_FLAG_TXE, RESET, Timeout) != HAL_OK) in HAL_SPI_TransmitReceive() [all …]
|
D | stm32l1xx_hal_rcc.c | 317 … if((__HAL_RCC_GET_FLAG(RCC_FLAG_HSERDY) != RESET) && (RCC_OscInitStruct->HSEState == RCC_HSE_OFF)) in HAL_RCC_OscConfig() 335 while(__HAL_RCC_GET_FLAG(RCC_FLAG_HSERDY) == RESET) in HAL_RCC_OscConfig() 349 while(__HAL_RCC_GET_FLAG(RCC_FLAG_HSERDY) != RESET) in HAL_RCC_OscConfig() 371 … if((__HAL_RCC_GET_FLAG(RCC_FLAG_HSIRDY) != RESET) && (RCC_OscInitStruct->HSIState != RCC_HSI_ON)) in HAL_RCC_OscConfig() 394 while(__HAL_RCC_GET_FLAG(RCC_FLAG_HSIRDY) == RESET) in HAL_RCC_OscConfig() 414 while(__HAL_RCC_GET_FLAG(RCC_FLAG_HSIRDY) != RESET) in HAL_RCC_OscConfig() 430 … if((__HAL_RCC_GET_FLAG(RCC_FLAG_MSIRDY) != RESET) && (RCC_OscInitStruct->MSIState == RCC_MSI_OFF)) in HAL_RCC_OscConfig() 495 while(__HAL_RCC_GET_FLAG(RCC_FLAG_MSIRDY) == RESET) in HAL_RCC_OscConfig() 521 while(__HAL_RCC_GET_FLAG(RCC_FLAG_MSIRDY) != RESET) in HAL_RCC_OscConfig() 547 while(__HAL_RCC_GET_FLAG(RCC_FLAG_LSIRDY) == RESET) in HAL_RCC_OscConfig() [all …]
|
D | stm32l1xx_hal_usart.c | 446 if(USART_WaitOnFlagUntilTimeout(husart, USART_FLAG_TXE, RESET, Timeout) != HAL_OK) in HAL_USART_Transmit() 463 if(USART_WaitOnFlagUntilTimeout(husart, USART_FLAG_TXE, RESET, Timeout) != HAL_OK) in HAL_USART_Transmit() 471 if(USART_WaitOnFlagUntilTimeout(husart, USART_FLAG_TC, RESET, Timeout) != HAL_OK) in HAL_USART_Transmit() 524 if(USART_WaitOnFlagUntilTimeout(husart, USART_FLAG_TXE, RESET, Timeout) != HAL_OK) in HAL_USART_Receive() 532 if(USART_WaitOnFlagUntilTimeout(husart, USART_FLAG_RXNE, RESET, Timeout) != HAL_OK) in HAL_USART_Receive() 551 if(USART_WaitOnFlagUntilTimeout(husart, USART_FLAG_TXE, RESET, Timeout) != HAL_OK) in HAL_USART_Receive() 560 if(USART_WaitOnFlagUntilTimeout(husart, USART_FLAG_RXNE, RESET, Timeout) != HAL_OK) in HAL_USART_Receive() 630 if(USART_WaitOnFlagUntilTimeout(husart, USART_FLAG_TXE, RESET, Timeout) != HAL_OK) in HAL_USART_TransmitReceive() 646 if(USART_WaitOnFlagUntilTimeout(husart, USART_FLAG_RXNE, RESET, Timeout) != HAL_OK) in HAL_USART_TransmitReceive() 665 if(USART_WaitOnFlagUntilTimeout(husart, USART_FLAG_TXE, RESET, Timeout) != HAL_OK) in HAL_USART_TransmitReceive() [all …]
|
D | stm32l1xx_hal_smartcard.c | 474 if(SMARTCARD_WaitOnFlagUntilTimeout(hsc, SMARTCARD_FLAG_TXE, RESET, Timeout) != HAL_OK) in HAL_SMARTCARD_Transmit() 482 if(SMARTCARD_WaitOnFlagUntilTimeout(hsc, SMARTCARD_FLAG_TC, RESET, Timeout) != HAL_OK) in HAL_SMARTCARD_Transmit() 548 if(SMARTCARD_WaitOnFlagUntilTimeout(hsc, SMARTCARD_FLAG_RXNE, RESET, Timeout) != HAL_OK) in HAL_SMARTCARD_Receive() 834 if((tmp_flag != RESET) && (tmp_it_source != RESET)) in HAL_SMARTCARD_IRQHandler() 842 if((tmp_flag != RESET) && (tmp_it_source != RESET)) in HAL_SMARTCARD_IRQHandler() 849 if((tmp_flag != RESET) && (tmp_it_source != RESET)) in HAL_SMARTCARD_IRQHandler() 856 if((tmp_flag != RESET) && (tmp_it_source != RESET)) in HAL_SMARTCARD_IRQHandler() 864 if((tmp_flag != RESET) && (tmp_it_source != RESET)) in HAL_SMARTCARD_IRQHandler() 872 if((tmp_flag != RESET) && (tmp_it_source != RESET)) in HAL_SMARTCARD_IRQHandler() 880 if((tmp_flag != RESET) && (tmp_it_source != RESET)) in HAL_SMARTCARD_IRQHandler() [all …]
|
D | stm32l1xx_hal_comp.c | 241 if((hcomp == NULL) || ((hcomp->State & COMP_STATE_BIT_LOCK) != RESET)) in HAL_COMP_Init() 306 if (__COMP_IS_ENABLED(hcomp) == RESET) in HAL_COMP_Init() 379 if((hcomp == NULL) || ((hcomp->State & COMP_STATE_BIT_LOCK) != RESET)) in HAL_COMP_DeInit() 494 if((hcomp == NULL) || ((hcomp->State & COMP_STATE_BIT_LOCK) != RESET)) in HAL_COMP_Start() 552 if((hcomp == NULL) || ((hcomp->State & COMP_STATE_BIT_LOCK) != RESET)) in HAL_COMP_Stop() 598 if((hcomp->Init.TriggerMode & COMP_TRIGGERMODE_IT_RISING) != RESET) in HAL_COMP_Start_IT() 608 if((hcomp->Init.TriggerMode & COMP_TRIGGERMODE_IT_FALLING) != RESET) in HAL_COMP_Start_IT() 655 if(READ_BIT(EXTI->PR, extiline) != RESET) in HAL_COMP_IRQHandler() 697 if((hcomp == NULL) || ((hcomp->State & COMP_STATE_BIT_LOCK) != RESET)) in HAL_COMP_Lock() 744 if(READ_BIT(COMP->CSR, __COMP_CSR_CMPXOUT(hcomp)) == RESET) in HAL_COMP_GetOutputLevel()
|
D | stm32l1xx_hal_irda.c | 466 if(IRDA_WaitOnFlagUntilTimeout(hirda, IRDA_FLAG_TXE, RESET, Timeout) != HAL_OK) in HAL_IRDA_Transmit() 483 if(IRDA_WaitOnFlagUntilTimeout(hirda, IRDA_FLAG_TXE, RESET, Timeout) != HAL_OK) in HAL_IRDA_Transmit() 492 if(IRDA_WaitOnFlagUntilTimeout(hirda, IRDA_FLAG_TC, RESET, Timeout) != HAL_OK) in HAL_IRDA_Transmit() 558 if(IRDA_WaitOnFlagUntilTimeout(hirda, IRDA_FLAG_RXNE, RESET, Timeout) != HAL_OK) in HAL_IRDA_Receive() 576 if(IRDA_WaitOnFlagUntilTimeout(hirda, IRDA_FLAG_RXNE, RESET, Timeout) != HAL_OK) in HAL_IRDA_Receive() 986 if((tmp_flag != RESET) && (tmp_it_source != RESET)) in HAL_IRDA_IRQHandler() 994 if((tmp_flag != RESET) && (tmp_it_source != RESET)) in HAL_IRDA_IRQHandler() 1001 if((tmp_flag != RESET) && (tmp_it_source != RESET)) in HAL_IRDA_IRQHandler() 1008 if((tmp_flag != RESET) && (tmp_it_source != RESET)) in HAL_IRDA_IRQHandler() 1032 if((tmp_flag != RESET) && (tmp_it_source != RESET)) in HAL_IRDA_IRQHandler() [all …]
|
D | stm32l1xx_hal_i2c.c | 850 if(I2C_WaitOnFlagUntilTimeout(hi2c, I2C_FLAG_BTF, RESET, Timeout, tickstart) != HAL_OK) in HAL_I2C_Master_Receive() 872 if(I2C_WaitOnFlagUntilTimeout(hi2c, I2C_FLAG_BTF, RESET, Timeout, tickstart) != HAL_OK) in HAL_I2C_Master_Receive() 886 if(I2C_WaitOnFlagUntilTimeout(hi2c, I2C_FLAG_BTF, RESET, Timeout, tickstart) != HAL_OK) in HAL_I2C_Master_Receive() 999 if(I2C_WaitOnFlagUntilTimeout(hi2c, I2C_FLAG_ADDR, RESET, Timeout, tickstart) != HAL_OK) in HAL_I2C_Slave_Transmit() 1011 if(I2C_WaitOnFlagUntilTimeout(hi2c, I2C_FLAG_ADDR, RESET, Timeout, tickstart) != HAL_OK) in HAL_I2C_Slave_Transmit() 1052 if(I2C_WaitOnFlagUntilTimeout(hi2c, I2C_FLAG_AF, RESET, Timeout, tickstart) != HAL_OK) in HAL_I2C_Slave_Transmit() 1127 if(I2C_WaitOnFlagUntilTimeout(hi2c, I2C_FLAG_ADDR, RESET, Timeout, tickstart) != HAL_OK) in HAL_I2C_Slave_Receive() 1233 while(__HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_BUSY) != RESET); in HAL_I2C_Master_Transmit_IT() 1310 while(__HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_BUSY) != RESET); in HAL_I2C_Master_Receive_IT() 1399 while(__HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_BUSY) != RESET); in HAL_I2C_Master_Sequential_Transmit_IT() [all …]
|
D | stm32l1xx_hal_uart.c | 666 if(UART_WaitOnFlagUntilTimeout(huart, UART_FLAG_TXE, RESET, Timeout) != HAL_OK) in HAL_UART_Transmit() 683 if(UART_WaitOnFlagUntilTimeout(huart, UART_FLAG_TXE, RESET, Timeout) != HAL_OK) in HAL_UART_Transmit() 691 if(UART_WaitOnFlagUntilTimeout(huart, UART_FLAG_TC, RESET, Timeout) != HAL_OK) in HAL_UART_Transmit() 762 if(UART_WaitOnFlagUntilTimeout(huart, UART_FLAG_RXNE, RESET, Timeout) != HAL_OK) in HAL_UART_Receive() 781 if(UART_WaitOnFlagUntilTimeout(huart, UART_FLAG_RXNE, RESET, Timeout) != HAL_OK) in HAL_UART_Receive() 1195 if((tmp_flag != RESET) && (tmp_it_source != RESET)) in HAL_UART_IRQHandler() 1203 if((tmp_flag != RESET) && (tmp_it_source != RESET)) in HAL_UART_IRQHandler() 1210 if((tmp_flag != RESET) && (tmp_it_source != RESET)) in HAL_UART_IRQHandler() 1217 if((tmp_flag != RESET) && (tmp_it_source != RESET)) in HAL_UART_IRQHandler() 1225 if((tmp_flag != RESET) && (tmp_it_source != RESET)) in HAL_UART_IRQHandler() [all …]
|
/loramac-node-2.7.6/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Src/ |
D | stm32l4xx_hal_smbus.c | 1447 if (__HAL_SMBUS_GET_FLAG(hsmbus, SMBUS_FLAG_BUSY) != RESET) in HAL_SMBUS_IsDeviceReady() 1470 while ((tmp1 == RESET) && (tmp2 == RESET)) in HAL_SMBUS_IsDeviceReady() 1493 if (__HAL_SMBUS_GET_FLAG(hsmbus, SMBUS_FLAG_AF) == RESET) in HAL_SMBUS_IsDeviceReady() 1496 if (SMBUS_WaitOnFlagUntilTimeout(hsmbus, SMBUS_FLAG_STOPF, RESET, Timeout) != HAL_OK) in HAL_SMBUS_IsDeviceReady() 1515 if (SMBUS_WaitOnFlagUntilTimeout(hsmbus, SMBUS_FLAG_STOPF, RESET, Timeout) != HAL_OK) in HAL_SMBUS_IsDeviceReady() 1534 if (SMBUS_WaitOnFlagUntilTimeout(hsmbus, SMBUS_FLAG_STOPF, RESET, Timeout) != HAL_OK) in HAL_SMBUS_IsDeviceReady() 1585 …RESET) && ((SMBUS_CHECK_FLAG(tmpisrvalue, SMBUS_FLAG_TXIS) != RESET) || (SMBUS_CHECK_FLAG(tmpisrva… in HAL_SMBUS_EV_IRQHandler() 1604 …RESET) && ((SMBUS_CHECK_FLAG(tmpisrvalue, SMBUS_FLAG_RXNE) != RESET) || (SMBUS_CHECK_FLAG(tmpisrva… in HAL_SMBUS_EV_IRQHandler() 1623 …RESET) || (SMBUS_CHECK_IT_SOURCE(tmpcr1value, SMBUS_IT_STOPI) != RESET) || (SMBUS_CHECK_IT_SOURCE(… in HAL_SMBUS_EV_IRQHandler() 1827 if (SMBUS_CHECK_FLAG(StatusFlags, SMBUS_FLAG_AF) != RESET) in SMBUS_Master_ISR() [all …]
|
D | stm32l4xx_hal_uart.c | 1116 if (UART_WaitOnFlagUntilTimeout(huart, UART_FLAG_TXE, RESET, tickstart, Timeout) != HAL_OK) in HAL_UART_Transmit() 1133 if (UART_WaitOnFlagUntilTimeout(huart, UART_FLAG_TC, RESET, tickstart, Timeout) != HAL_OK) in HAL_UART_Transmit() 1197 if (UART_WaitOnFlagUntilTimeout(huart, UART_FLAG_RXNE, RESET, tickstart, Timeout) != HAL_OK) in HAL_UART_Receive() 2187 if (errorflags == RESET) in HAL_UART_IRQHandler() 2191 if (((isrflags & USART_ISR_RXNE_RXFNE) != RESET) in HAL_UART_IRQHandler() 2192 && (((cr1its & USART_CR1_RXNEIE_RXFNEIE) != RESET) in HAL_UART_IRQHandler() 2193 || ((cr3its & USART_CR3_RXFTIE) != RESET))) in HAL_UART_IRQHandler() 2195 if (((isrflags & USART_ISR_RXNE) != RESET) in HAL_UART_IRQHandler() 2196 && ((cr1its & USART_CR1_RXNEIE) != RESET)) in HAL_UART_IRQHandler() 2209 if ((errorflags != RESET) in HAL_UART_IRQHandler() [all …]
|