English
Language : 

UM0563 Datasheet, PDF (8/46 Pages) STMicroelectronics – L9952GXP software driver user manual
Architecture of the L9952GXP software driver
UM0563
3.1
L9952GXP software driver file structure
The L9952GXP sofware driver includes a set of source files which are shown in Figure 4.
These files are described in more detail in Section 8: Using the L9952GXP software driver
on page 43.
Figure 4. Software driver file structure
L9952drv.c (1)
Include
L9952drv.h (2)
Include
L9952drv_Cfg.h(3)
Include
Include
Std_Types.h(4)
Include
Platform_Types.h(5)
Include
Compiler.h (6)
Include
optionally
Arbitrary_micro
controller_reg.h (7)
L9952drv_AL.c(8) Include
L9952drv_AL.h(8)
1. L9952drv.c file contains all functionality of the L9952GXP software driver.
2. L9952drv.h file contains the headers of the L9952GXP software driver functions.
3. L9952drv_Cfg.h file contains the configuration of the L9952GXP software driver functions.
4. Std_Types.h file contains the standard platform types of the L9952GXP software driver functions.
5. Platform_Types.h file contains the standard platform types for an 8-bit microcontroller platform.
6. Compiler.h: File contains the compiler dependent definitions.
7. Arbitrary_microcontroller_reg.h file contains the microcontroller dependent definitions. This is not
necessary for the L9952GXP driver itself, which is hardware independent. This file is useful when the
Std_Types.h/Compiler.h file is shared with other modules.
8. L9952drv_AL.c and L9952drv_AL.h files adapt the L9952GXP software driver to the low level SPI driver
which allows the software driver to control the L9952GXP device.
8/46