I need to use PTA4 as an GPIO input pin on K21 device. The pin can also be used for NMI_b/EZP_CS_b.
But I don't want to use the NMI_b/EZP_CS_b signal (but it is the default setting, ALT7/EzPort).
Do I just need to configure PORTA_PCR4[MUX] = 1 (ALT1) and then also clear set FTFA_FOPT[NMI_DIS] / FTFA_FOPT[EZPORT_DIS] = 0?
Please let me know how I should do.