Overview of Low Layer drivers
Functions
LL_PPP_
CommonStructInit
LL_PPP_ClockInit
LL_PPP_
ClockStructInit
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
2.12.4.3: "Run-time
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.
66/1371
Return
Parameters
Type
LL_PPP_CommonInitType
void
Def* PPP_CommonInitStruct
Error
Status
LL_PPP_ClockInitTypeDef*
void
PPP_ClockInitStruct
checking".
Run-time checking is not available for LL inline functions.
DocID028236 Rev 2
PPP_TypeDef* PPPx
LL_PPP_ClockInit
TypeDef*
PPP_ClockInitStruct
Examples
Fills each PPP_CommonInitStruct
member with its default value
Example:
LL_ADC_CommonStructInit(LL_AD
C_CommonInitTypeDef
*ADC_CommonInitStruct)
Initializes the peripheral clock
configuration in synchronous mode.
Example:
LL_USART_ClockInit(USART_Type
Def *USARTx,
LL_USART_ClockInitTypeDef
*USART_ClockInitStruct)
Fills each PPP_ClockInitStruct
member with its default value
Example:
LL_USART_ClockStructInit(LL_USA
RT_ClockInitTypeDef
*USART_ClockInitStruct)
UM1940
Section
Need help?
Do you have a question about the STM32F2 and is the answer not in the manual?
Questions and answers