@Zhiming_Liu
I'm using the MCUXpresso SDK for the i.MX93 Cortex-M33 MCU and working with GPIO input capture. The SDK-generated pin_mux.c file uses the IOMUXC_SetPinMux() API, which includes the inputOnfield parameter that controls the SION bit (Software Input On).
I understand that SION forces the input path to be always active, but I'm not sure:
What value should I pass for inputOnfield when using a pin as GPIO input only?
Is it safe to always set inputOnfield = 1, or could this cause issues in power or logic behavior?
How does this affect dual-use pins (e.g., GPIO + PWM or GPIO + UART)?
Could someone clarify the recommended practice for setting this field?