/* * ti_msp_config.h * * Created on: 29-Feb-2024 * Author: saara */ #ifndef GENERATED_CODES_TI_MSP_CONFIG_H_ #define GENERATED_CODES_TI_MSP_CONFIG_H_ #define CONFIG_MSPM0G350X #if defined(__ti_version__) || defined(__TI_COMPILER_VERSION__) #define SYSCONFIG_WEAK __attribute__((weak)) #elif defined(__IAR_SYSTEMS_ICC__) #define SYSCONFIG_WEAK __weak #elif defined(__GNUC__) #define SYSCONFIG_WEAK __attribute__((weak)) #endif #include #include #include #ifdef __cplusplus extern "C" { #endif /* * ======== SYSCFG_DL_init ======== * Perform all required MSP DL initialization * * This function should be called once at a point before any use of * MSP DL. */ /* clang-format off */ #define POWER_STARTUP_DELAY (16) #define CPUCLK_FREQ 32000000 /* Port definition for Pin Group GPIO_LCD_B */ #define GPIO_LCD_B_PORT (GPIOB) /* Defines for PIN_0: GPIOB.22 with pinCMx 50 on package pin 21 */ #define GPIO_LCD_B_PIN_0_PIN (DL_GPIO_PIN_22) #define GPIO_LCD_B_PIN_0_IOMUX (IOMUX_PINCM50) /* Defines for PIN_1: GPIOB.26 with pinCMx 57 on package pin 28 */ #define GPIO_LCD_B_PIN_1_PIN (DL_GPIO_PIN_26) #define GPIO_LCD_B_PIN_1_IOMUX (IOMUX_PINCM57) /* Defines for PIN_2: GPIOB.27 with pinCMx 58 on package pin 29 */ #define GPIO_LCD_B_PIN_2_PIN (DL_GPIO_PIN_27) #define GPIO_LCD_B_PIN_2_IOMUX (IOMUX_PINCM58) /* Defines for PIN_RS: GPIOB.1 with pinCMx 13 on package pin 48 */ #define GPIO_LCD_B_PIN_RS_PIN (DL_GPIO_PIN_1) #define GPIO_LCD_B_PIN_RS_IOMUX (IOMUX_PINCM13) /* Defines for PIN_EN: GPIOB.3 with pinCMx 16 on package pin 51 */ #define GPIO_LCD_B_PIN_EN_PIN (DL_GPIO_PIN_3) #define GPIO_LCD_B_PIN_EN_IOMUX (IOMUX_PINCM16) /* Defines for PIN_RW: GPIOB.2 with pinCMx 15 on package pin 50 */ #define GPIO_LCD_B_PIN_RW_PIN (DL_GPIO_PIN_2) #define GPIO_LCD_B_PIN_RW_IOMUX (IOMUX_PINCM15) /* Port definition for Pin Group GPIO_LCD_A */ #define GPIO_LCD_A_PORT (GPIOA) /* Defines for PIN_DB4: GPIOA.8 with pinCMx 19 on package pin 54 */ #define GPIO_LCD_A_PIN_DB4_PIN (DL_GPIO_PIN_8) #define GPIO_LCD_A_PIN_DB4_IOMUX (IOMUX_PINCM19) /* Defines for PIN_DB5: GPIOA.9 with pinCMx 20 on package pin 55 */ #define GPIO_LCD_A_PIN_DB5_PIN (DL_GPIO_PIN_9) #define GPIO_LCD_A_PIN_DB5_IOMUX (IOMUX_PINCM20) /* Defines for PIN_DB6: GPIOA.12 with pinCMx 34 on package pin 5 */ #define GPIO_LCD_A_PIN_DB6_PIN (DL_GPIO_PIN_12) #define GPIO_LCD_A_PIN_DB6_IOMUX (IOMUX_PINCM34) /* Defines for PIN_DB7: GPIOA.13 with pinCMx 35 on package pin 6 */ #define GPIO_LCD_A_PIN_DB7_PIN (DL_GPIO_PIN_13) #define GPIO_LCD_A_PIN_DB7_IOMUX (IOMUX_PINCM35) /* clang-format on */ void DL_init(void); void DL_initPower(void); void DL_GPIO_init(void); void DL_SYSCTL_init(void); #ifdef __cplusplus } #endif #endif /* GENERATED_CODES_TI_MSP_CONFIG_H_ */