Hi Abdul Hayee,
In KL25z series there is a register SIM_SCGC5, using this we can enable n disable the clock of certain port.
But I am sorry to tell you that there are no Clock Gating Control Register for KE02 series.
There are no PORTx_PCRn[MUX] for KE02 series either.
So please notice: Many of the I/O pins are shared with on-chip peripheral functions. The peripheral modules have priority over the I/O, so when a peripheral is enabled, the associated I/O functions are disabled.
Best Regards,
Robin
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------