I am using the TM4c1294NCPDT and in that controller the ,the 7th pin of port D was not able to program and came to know that this is a pin with special consideration which is configured as GPIO by default but is locked and can only be programmed by unlocking it.