Overview of Low Layer drivers
LL_PPP_CommonInitType
Def* PPP_CommonInitStruct
Fills each PPP_CommonInitStruct
member with its default value
Example:
LL_ADC_CommonStructInit(LL_AD
C_CommonInitTypeDef
*ADC_CommonInitStruct)
PPP_TypeDef* PPPx
LL_PPP_ClockInit
TypeDef*
PPP_ClockInitStruct
Initializes the peripheral clock
configuration in synchronous mode.
Example:
LL_USART_ClockInit(USART_Type
Def *USARTx,
LL_USART_ClockInitTypeDef
*USART_ClockInitStruct)
LL_PPP_ClockInitTypeDef*
PPP_ClockInitStruct
Fills each PPP_ClockInitStruct
member with its default value
Example:
LL_USART_ClockStructInit(LL_USA
RT_ClockInitTypeDef
*USART_ClockInitStruct)
3.2.1.1 Run-time checking
Like HAL drivers, LL initialization functions implement run-time failure detection by
checking the input values of all LL driver functions. For more details please refer to Section
2.12.4.3: "Run-time checking".
When using the LL drivers in standalone mode (without calling HAL functions), the
following actions are required to use run-time checking:
1. Copy stm32_assert_template.h to the application folder and rename it to
stm32_assert.h. This file defines the assert_param macro which is used when run-
time checking is enabled.
2. Include stm32_assert.h file within the application main header file.
3. Add the USE_FULL_ASSERT compilation switch in the toolchain compiler
preprocessor or in any generic header file which is processed before the
stm32_assert.h driver.
Run-time checking is not available for LL inline functions.