STM32L443xx HAL User Manual
|
Defines | |
#define | IS_RCC_LSCOSOURCE(__SOURCE__) |
#define | IS_RCC_PERIPHCLOCK(__SELECTION__) |
#define | IS_RCC_USART1CLKSOURCE(__SOURCE__) |
#define | IS_RCC_USART2CLKSOURCE(__SOURCE__) |
#define | IS_RCC_USART3CLKSOURCE(__SOURCE__) |
#define | IS_RCC_LPUART1CLKSOURCE(__SOURCE__) |
#define | IS_RCC_I2C1CLKSOURCE(__SOURCE__) |
#define | IS_RCC_I2C2CLKSOURCE(__SOURCE__) |
#define | IS_RCC_I2C3CLKSOURCE(__SOURCE__) |
#define | IS_RCC_SAI1CLK(__SOURCE__) |
#define | IS_RCC_LPTIM1CLK(__SOURCE__) |
#define | IS_RCC_LPTIM2CLK(__SOURCE__) |
#define | IS_RCC_SDMMC1CLKSOURCE(__SOURCE__) |
#define | IS_RCC_RNGCLKSOURCE(__SOURCE__) |
#define | IS_RCC_USBCLKSOURCE(__SOURCE__) |
#define | IS_RCC_ADCCLKSOURCE(__SOURCE__) |
#define | IS_RCC_SWPMI1CLKSOURCE(__SOURCE__) |
#define | IS_RCC_PLLSAI1SOURCE(__VALUE__) IS_RCC_PLLSOURCE(__VALUE__) |
#define | IS_RCC_PLLSAI1M_VALUE(__VALUE__) ((1U <= (__VALUE__)) && ((__VALUE__) <= 8U)) |
#define | IS_RCC_PLLSAI1N_VALUE(__VALUE__) ((8U <= (__VALUE__)) && ((__VALUE__) <= 86U)) |
#define | IS_RCC_PLLSAI1P_VALUE(__VALUE__) (((__VALUE__) >= 2U) && ((__VALUE__) <= 31U)) |
#define | IS_RCC_PLLSAI1Q_VALUE(__VALUE__) |
#define | IS_RCC_PLLSAI1R_VALUE(__VALUE__) |
#define | IS_RCC_CRS_SYNC_SOURCE(__SOURCE__) |
#define | IS_RCC_CRS_SYNC_DIV(__DIV__) |
#define | IS_RCC_CRS_SYNC_POLARITY(__POLARITY__) |
#define | IS_RCC_CRS_RELOADVALUE(__VALUE__) (((__VALUE__) <= 0xFFFFU)) |
#define | IS_RCC_CRS_ERRORLIMIT(__VALUE__) (((__VALUE__) <= 0xFFU)) |
#define | IS_RCC_CRS_HSI48CALIBRATION(__VALUE__) (((__VALUE__) <= 0x3FU)) |
#define | IS_RCC_CRS_FREQERRORDIR(__DIR__) |
#define IS_RCC_ADCCLKSOURCE | ( | __SOURCE__ | ) |
(((__SOURCE__) == RCC_ADCCLKSOURCE_NONE) || \ ((__SOURCE__) == RCC_ADCCLKSOURCE_PLLSAI1) || \ ((__SOURCE__) == RCC_ADCCLKSOURCE_SYSCLK))
Definition at line 2869 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_PeriphCLKConfig().
#define IS_RCC_CRS_ERRORLIMIT | ( | __VALUE__ | ) | (((__VALUE__) <= 0xFFU)) |
Definition at line 3015 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_CRSConfig().
#define IS_RCC_CRS_FREQERRORDIR | ( | __DIR__ | ) |
(((__DIR__) == RCC_CRS_FREQERRORDIR_UP) || \ ((__DIR__) == RCC_CRS_FREQERRORDIR_DOWN))
Definition at line 3023 of file stm32l4xx_hal_rcc_ex.h.
#define IS_RCC_CRS_HSI48CALIBRATION | ( | __VALUE__ | ) | (((__VALUE__) <= 0x3FU)) |
Definition at line 3020 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_CRSConfig().
#define IS_RCC_CRS_RELOADVALUE | ( | __VALUE__ | ) | (((__VALUE__) <= 0xFFFFU)) |
Definition at line 3013 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_CRSConfig().
#define IS_RCC_CRS_SYNC_DIV | ( | __DIV__ | ) |
(((__DIV__) == RCC_CRS_SYNC_DIV1) || ((__DIV__) == RCC_CRS_SYNC_DIV2) || \ ((__DIV__) == RCC_CRS_SYNC_DIV4) || ((__DIV__) == RCC_CRS_SYNC_DIV8) || \ ((__DIV__) == RCC_CRS_SYNC_DIV16) || ((__DIV__) == RCC_CRS_SYNC_DIV32) || \ ((__DIV__) == RCC_CRS_SYNC_DIV64) || ((__DIV__) == RCC_CRS_SYNC_DIV128))
Definition at line 3005 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_CRSConfig().
#define IS_RCC_CRS_SYNC_POLARITY | ( | __POLARITY__ | ) |
(((__POLARITY__) == RCC_CRS_SYNC_POLARITY_RISING) || \ ((__POLARITY__) == RCC_CRS_SYNC_POLARITY_FALLING))
Definition at line 3010 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_CRSConfig().
#define IS_RCC_CRS_SYNC_SOURCE | ( | __SOURCE__ | ) |
(((__SOURCE__) == RCC_CRS_SYNC_SOURCE_GPIO) || \ ((__SOURCE__) == RCC_CRS_SYNC_SOURCE_LSE) || \ ((__SOURCE__) == RCC_CRS_SYNC_SOURCE_USB))
Definition at line 3001 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_CRSConfig().
#define IS_RCC_I2C1CLKSOURCE | ( | __SOURCE__ | ) |
(((__SOURCE__) == RCC_I2C1CLKSOURCE_PCLK1) || \ ((__SOURCE__) == RCC_I2C1CLKSOURCE_SYSCLK)|| \ ((__SOURCE__) == RCC_I2C1CLKSOURCE_HSI))
Definition at line 2693 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_PeriphCLKConfig().
#define IS_RCC_I2C2CLKSOURCE | ( | __SOURCE__ | ) |
(((__SOURCE__) == RCC_I2C2CLKSOURCE_PCLK1) || \ ((__SOURCE__) == RCC_I2C2CLKSOURCE_SYSCLK)|| \ ((__SOURCE__) == RCC_I2C2CLKSOURCE_HSI))
Definition at line 2700 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_PeriphCLKConfig().
#define IS_RCC_I2C3CLKSOURCE | ( | __SOURCE__ | ) |
(((__SOURCE__) == RCC_I2C3CLKSOURCE_PCLK1) || \ ((__SOURCE__) == RCC_I2C3CLKSOURCE_SYSCLK)|| \ ((__SOURCE__) == RCC_I2C3CLKSOURCE_HSI))
Definition at line 2707 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_PeriphCLKConfig().
#define IS_RCC_LPTIM1CLK | ( | __SOURCE__ | ) |
(((__SOURCE__) == RCC_LPTIM1CLKSOURCE_PCLK1) || \ ((__SOURCE__) == RCC_LPTIM1CLKSOURCE_LSI) || \ ((__SOURCE__) == RCC_LPTIM1CLKSOURCE_HSI) || \ ((__SOURCE__) == RCC_LPTIM1CLKSOURCE_LSE))
Definition at line 2766 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_PeriphCLKConfig().
#define IS_RCC_LPTIM2CLK | ( | __SOURCE__ | ) |
(((__SOURCE__) == RCC_LPTIM2CLKSOURCE_PCLK1) || \ ((__SOURCE__) == RCC_LPTIM2CLKSOURCE_LSI) || \ ((__SOURCE__) == RCC_LPTIM2CLKSOURCE_HSI) || \ ((__SOURCE__) == RCC_LPTIM2CLKSOURCE_LSE))
Definition at line 2772 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_PeriphCLKConfig().
#define IS_RCC_LPUART1CLKSOURCE | ( | __SOURCE__ | ) |
(((__SOURCE__) == RCC_LPUART1CLKSOURCE_PCLK1) || \ ((__SOURCE__) == RCC_LPUART1CLKSOURCE_SYSCLK) || \ ((__SOURCE__) == RCC_LPUART1CLKSOURCE_LSE) || \ ((__SOURCE__) == RCC_LPUART1CLKSOURCE_HSI))
Definition at line 2687 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_PeriphCLKConfig().
#define IS_RCC_LSCOSOURCE | ( | __SOURCE__ | ) |
(((__SOURCE__) == RCC_LSCOSOURCE_LSI) || \ ((__SOURCE__) == RCC_LSCOSOURCE_LSE))
Definition at line 2639 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_EnableLSCO().
#define IS_RCC_PERIPHCLOCK | ( | __SELECTION__ | ) |
((((__SELECTION__) & RCC_PERIPHCLOCK_ALL) != 0x00u) && \ (((__SELECTION__) & ~RCC_PERIPHCLOCK_ALL) == 0x00u))
Definition at line 2642 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_GetPeriphCLKFreq(), and HAL_RCCEx_PeriphCLKConfig().
#define IS_RCC_PLLSAI1M_VALUE | ( | __VALUE__ | ) | ((1U <= (__VALUE__)) && ((__VALUE__) <= 8U)) |
Definition at line 2940 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_EnablePLLSAI1(), and RCCEx_PLLSAI1_Config().
#define IS_RCC_PLLSAI1N_VALUE | ( | __VALUE__ | ) | ((8U <= (__VALUE__)) && ((__VALUE__) <= 86U)) |
Definition at line 2946 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_EnablePLLSAI1(), and RCCEx_PLLSAI1_Config().
#define IS_RCC_PLLSAI1P_VALUE | ( | __VALUE__ | ) | (((__VALUE__) >= 2U) && ((__VALUE__) <= 31U)) |
Definition at line 2950 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_EnablePLLSAI1(), and RCCEx_PLLSAI1_Config().
#define IS_RCC_PLLSAI1Q_VALUE | ( | __VALUE__ | ) |
(((__VALUE__) == 2U) || ((__VALUE__) == 4U) || \ ((__VALUE__) == 6U) || ((__VALUE__) == 8U))
Definition at line 2955 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_EnablePLLSAI1(), and RCCEx_PLLSAI1_Config().
#define IS_RCC_PLLSAI1R_VALUE | ( | __VALUE__ | ) |
(((__VALUE__) == 2U) || ((__VALUE__) == 4U) || \ ((__VALUE__) == 6U) || ((__VALUE__) == 8U))
Definition at line 2958 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_EnablePLLSAI1(), and RCCEx_PLLSAI1_Config().
#define IS_RCC_PLLSAI1SOURCE | ( | __VALUE__ | ) | IS_RCC_PLLSOURCE(__VALUE__) |
Definition at line 2935 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_EnablePLLSAI1(), and RCCEx_PLLSAI1_Config().
#define IS_RCC_RNGCLKSOURCE | ( | __SOURCE__ | ) |
(((__SOURCE__) == RCC_RNGCLKSOURCE_HSI48) || \ ((__SOURCE__) == RCC_RNGCLKSOURCE_PLLSAI1) || \ ((__SOURCE__) == RCC_RNGCLKSOURCE_PLL) || \ ((__SOURCE__) == RCC_RNGCLKSOURCE_MSI))
Definition at line 2809 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_PeriphCLKConfig().
#define IS_RCC_SAI1CLK | ( | __SOURCE__ | ) |
(((__SOURCE__) == RCC_SAI1CLKSOURCE_PLLSAI1) || \ ((__SOURCE__) == RCC_SAI1CLKSOURCE_PLL) || \ ((__SOURCE__) == RCC_SAI1CLKSOURCE_PIN))
Definition at line 2740 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_PeriphCLKConfig().
#define IS_RCC_SDMMC1CLKSOURCE | ( | __SOURCE__ | ) |
(((__SOURCE__) == RCC_SDMMC1CLKSOURCE_HSI48) || \ ((__SOURCE__) == RCC_SDMMC1CLKSOURCE_PLLSAI1) || \ ((__SOURCE__) == RCC_SDMMC1CLKSOURCE_PLL) || \ ((__SOURCE__) == RCC_SDMMC1CLKSOURCE_MSI))
Definition at line 2790 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_PeriphCLKConfig().
#define IS_RCC_SWPMI1CLKSOURCE | ( | __SOURCE__ | ) |
(((__SOURCE__) == RCC_SWPMI1CLKSOURCE_PCLK1) || \ ((__SOURCE__) == RCC_SWPMI1CLKSOURCE_HSI))
Definition at line 2883 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_PeriphCLKConfig().
#define IS_RCC_USART1CLKSOURCE | ( | __SOURCE__ | ) |
(((__SOURCE__) == RCC_USART1CLKSOURCE_PCLK2) || \ ((__SOURCE__) == RCC_USART1CLKSOURCE_SYSCLK) || \ ((__SOURCE__) == RCC_USART1CLKSOURCE_LSE) || \ ((__SOURCE__) == RCC_USART1CLKSOURCE_HSI))
Definition at line 2645 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_PeriphCLKConfig().
#define IS_RCC_USART2CLKSOURCE | ( | __SOURCE__ | ) |
(((__SOURCE__) == RCC_USART2CLKSOURCE_PCLK1) || \ ((__SOURCE__) == RCC_USART2CLKSOURCE_SYSCLK) || \ ((__SOURCE__) == RCC_USART2CLKSOURCE_LSE) || \ ((__SOURCE__) == RCC_USART2CLKSOURCE_HSI))
Definition at line 2651 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_PeriphCLKConfig().
#define IS_RCC_USART3CLKSOURCE | ( | __SOURCE__ | ) |
(((__SOURCE__) == RCC_USART3CLKSOURCE_PCLK1) || \ ((__SOURCE__) == RCC_USART3CLKSOURCE_SYSCLK) || \ ((__SOURCE__) == RCC_USART3CLKSOURCE_LSE) || \ ((__SOURCE__) == RCC_USART3CLKSOURCE_HSI))
Definition at line 2659 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_PeriphCLKConfig().
#define IS_RCC_USBCLKSOURCE | ( | __SOURCE__ | ) |
(((__SOURCE__) == RCC_USBCLKSOURCE_HSI48) || \ ((__SOURCE__) == RCC_USBCLKSOURCE_PLLSAI1) || \ ((__SOURCE__) == RCC_USBCLKSOURCE_PLL) || \ ((__SOURCE__) == RCC_USBCLKSOURCE_MSI))
Definition at line 2835 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_PeriphCLKConfig().