Is there a way to make port and dio and other configuration easy?
To configure PTA29, below is configuration and someone reviewing it later will be finding it hard to read as it requires cross verifying Mscr value to IO_Mux.xlx:
Vijay_Arwapally_0-1645781860870.png
Is there a symbolic way to do this instead?
Similar is the problem with DIO channel, where-in it requires calculation for portH and port L and then 16 bits to arrive at the dio channel value:
Vijay_Arwapally_1-1645782280922.png
Vijay_Arwapally_2-1645782297764.png
Below is the formula to arrive at DIO channel value, which seems to tedious:
Vijay_Arwapally_4-1645782672908.png
With respect IO_Mux.xlx, I have below questions:
Vijay_Arwapally_3-1645782437456.png
Why is the direction for LPSPI1_SIN set to O-output??
There is no mention of IMCR in port configuration? Is it required to IMCR rows, whenever the pin is required to be configured as input?
Can you please clarify the doubts?