SLAAEL9 October 2024 MSPM0C1104 , MSPM0L1306
Figure 5-1 shows the software project, developed in CCS. The project mainly consists of three parts. Other files are the default files for the MSPM0 project.
The ti_msp_dl_config part is generated by SysConfig (graphic code generation tool), the MSPM0 initialization is for system initialization of MCU power, system controller, system clock, enabled peripherals and GPIOs.
The expander part declares the basic variables, GPIO configuration function, and interrupt function, and expander also contains some basic functions for SPI, I2C and UART protocol.
The main part includes the highest system function code, after system initialization, the MCU waits for commands from the primary and executes the corresponding GPIO operation.