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: Where in Sysconfig can I find the options to control open drain in the "gpio_toggle_output_hiz" example?

Part Number: MSPM0L1306
Other Parts Discussed in Thread: SYSCONFIG

I found an example MSPM0L project where I can toggle a GPIO between output low and hi-z, and notice the auto-generated code produces the following output in: ti_msp_dl_config.c

However, I see no place in the sysconfig tool that would generate this.  Is this manually added as a hack?  If not, how do I enable this using Syscfg?

SYSCONFIG_WEAK void SYSCFG_DL_GPIO_init(void)

{

    DL_GPIO_initDigitalOutputFeatures(GPIO_OUTPUTS_USER_OUTPUT_1_IOMUX,

DL_GPIO_INVERSION_DISABLE, DL_GPIO_RESISTOR_NONE,

DL_GPIO_DRIVE_STRENGTH_LOW, DL_GPIO_HIZ_ENABLE);

    DL_GPIO_clearPins(GPIO_OUTPUTS_PORT, GPIO_OUTPUTS_USER_OUTPUT_1_PIN);

    DL_GPIO_enableOutput(GPIO_OUTPUTS_PORT, GPIO_OUTPUTS_USER_OUTPUT_1_PIN);

}