EasyManuals Logo

ST STM32F2 User Manual

ST STM32F2
1371 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #66 background imageLoading...
Page #66 background image
Overview of Low Layer drivers
UM1940
66/1371
DocID028236 Rev 2
Functions
Return
Type
Parameters
Examples
LL_PPP_
CommonStructInit
void
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)
LL_PPP_ClockInit
Error
Status
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_
ClockStructInit
void
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.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ST STM32F2 and is the answer not in the manual?

ST STM32F2 Specifications

General IconGeneral
BrandST
ModelSTM32F2
CategoryMicrocontrollers
LanguageEnglish

Related product manuals