In my project, the pins in one port require different function, for example:
PTA2 --- Input, will causing interrupt at falling edge.
PTA3 --- Input, will causing interrupt at rising edge.
PTA5 -- Input, require capture pulse width (This require Timer)
PTA8 -- Input, only for sampling H/L.
PTA10 ---Output, Do PWM (This maybe require Timer)
PTA12 --Output, H/L for control only.
I this case, how to use PE to configure?
There are lots of I/O pins in my project, it will be very mess if I use PE to configure one pin each time.