This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSPM0L1306: IOMUX driver library PIN initialization

Part Number: MSPM0L1306


Tool/software:

Hi team,

I would like to confirm the following IOMUX init digital output library.

It is stated that the "GPIO functionality is always a pin function of 0x00000001, but i do not understand what that means.

As i checked on the TRM for IOMUX register, i think it the setting for Peripheral function but i do not know why it should be set as 0x00000001.

Could you please help me to understand ?

__STATIC_INLINE void DL_GPIO_initDigitalOutput(uint32_t pincmIndex)
{
    /* GPIO functionality is always a pin function of 0x00000001 */
    IOMUX->SECCFG.PINCM[pincmIndex] =
        (IOMUX_PINCM_PC_CONNECTED | ((uint32_t) 0x00000001));
}

Best regards,

Kenley