The CodeGen tool of SysConfig generates C source and header files which are used during the application development to avoid errors and boost productivity. This generated file can be directly imported to application for driver initialization
& configuration.
The files generated are listed below.
- ti_dpl_config.h – contains the declaration for the DPL (Driver Porting Layer) initialization API.
- ti_dpl_config.c – contains the code for DPL initialization. The DPL initialization includes initializing the Interrupt Controller, MMU & RAT configurations, Debug Logs & System tick initialization. The DPL initialization
is done using the Kernel Level API call by generated code.
- ti_drivers_config.h – contains the declaration for driver initialization APIs for all the configured drivers.
- ti_drivers_config.c - contains code for the initialization of the configured peripheral drivers, clock initialization, PinMux settings and driver initialization. This file also contains global handles for configured
peripherals.
- ti_drivers_open_close.h – contains the declaration for drivers open/close API for configured peripheral along with required handler.
- ti_drivers_open_close.c - contains code to Open/Close the driver for configured peripheral. This file also contains the handler with configured parameters required by the added peripheral.
- ti_pinmux_config.c - contains the pinmux configuration required by the configured peripheral to achieve required functionality configured via GUI.
- ti_power_clock_config.c – contains the code to enable the clock and modify the clock frequency for configured peripheral. The generated code uses the TISCI calls to configure the clock frequency.
- ti_board_config.h – contains declaration for board specific driver configuration.
- ti_board_config.c – contains definition for board specific driver configuration.
- ti_board_open_close.h – contains declaration for board specific driver open/close APIs.
- ti_board_open_close.c – contains definition for board specific driver open/close APIs.
- ti_enet_config.h – contains the definition of all macros used by enet module.
- ti_enet_config.c – contains definition for global structure and APIs required to provide enet functionality.
- ti_enet_open_close.h - contains the declaration for enet open/close API along with the required utility API.
- ti_enet_open_close.c – contains the definition for enet open/close API along with required structure definition.
- ti_enet_soc.c – contains the definition for required structure and APIs for enet interrupt setup, clock frequency configuration and to set/get other necessary configurations.
- ti_enet_lwipif.h – contains declaration of enet Lwip interface layer for driver callback.
- ti_enet_lwipif.c - contains enet Lwip interface layer implementation for driver callback.