Overview of Low Layer drivers
Figure 8: Low Layer driver CMSIS files
Application files have to include only the used Low Layer driver header files.
3.2 Overview of Low Layer APIs and naming rules
3.2.1 Peripheral initialization functions
The LL drivers offer three set of initialization functions. They are defined in
stm32f2xx_ll_ppp.c file:
Functions to initialize peripheral main features according to the parameters specified
in data structures
A set of functions used to fill initialization data structures with the reset values of each
field
Function for peripheral de-initialization (peripheral registers restored to their default
values)
The definition of these LL initialization functions and associated resources (structure,
literals and prototypes) is conditioned by a compilation switch: USE_FULL_LL_DRIVER. To
use these functions, this switch must be added in the toolchain compiler preprocessor or to
any generic header file which is processed before the LL drivers.
The below table shows the list of the common functions provided for all the supported
peripherals: