PxSEL0 and PxSEL1 select 4 uses that a pin can have. However, some pins have more than 4 uses so something else must be included. What????
Also, I do not see which of the possible pins uses correspond to primary, secondary, and tertiary pin functions.
All of this should be in the users guide or data sheet, but I can not find it.
Please define how the registers are set to get all of the possible pin uses or functions.