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:

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:


Below is the formula to arrive at DIO channel value, which seems to tedious:

With respect IO_Mux.xlx, I have below questions:

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?