Hello abhishek.kumar@chassisbrakes.com,
PINS_DRV_SetPullSel(PORTC, 12, PORT_INTERNAL_PULL_NOT_ENABLED);
is an example for setting PUE = PUS = 0 for PTC12;
for other ports use: PORTA, PORTB, etc.
for pins use the number (e;g; for PTD5 use 5 as pin number).
As for question number 1, you can put your code (the SetPullSel call) into System Start Function Exit Code section to be sure that this is called after the initialization of the pin. You have to do this to make sure the resulting application is working as expected, and the PUE, PUS values are not overwritten by a GPIO block.
To sum it up, if you call PINS_DRV_SetPullSel(PORTC, 12, PORT_INTERNAL_PULL_NOT_ENABLED); in System Start Function Exit Code section of System Start block, you'll be able to change PUE and PUS for PTC12 pin.
Hope this helps,
Razvan.