If you are asking if the ports on the IC are interchangeable, yes to some degree. The ports on the IC have different features that will make them useful for certain applications (for example, a port with an ADC converter will be better for sensors than driving motors)