Burning a microcontroller's peripheral. is it possible?
The damage comes from the outside through the pin(s). Usually, the circuitry close to the pin will get damaged first and then all peripherals that can be assigned to this pin will stop working. If pin functions are remappable, like in PIC24 and friends, you can move your peripheral to the pin that is not yet damaged.