Hello Arman Samimi:
You are right, sorry for my inaccurate response. Actually the statement I presented above means that the GPIO module loses control of the pin and the control is taken by the alternate peripheral, in this case the FTM, but you can still read the GPIOx_PDIR register.
The situation is similar to the next thread: Re: Read the pin value of a configured peripheral
As in that case, I think that having an extra component just to read the pin is not necessary, especially since each component generates code and its configuration structures need to be allocated, which consumes valuable memory.
However, thanks a lot for your feedback, let me pass it to the Processor Expert development team.
Regards!,
Jorge Gonzalez
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------