I'm trying to find the simplest, easiest, and cleanest way to reset all register values in the PWM peripherals of the TM320F28075, without doing a soft/hard reset. In other processors, I've seen that you can disable the clock to the peripheral and it will reset all registers automatically.
I have two separate operating behaviors for the PWM peripheral - and the two operations need to context switch without losing power and while maintaining all RAM values. I'd like to not have to reset every. single. register. on the PWMs individually, but do a complete reset of the whole peripheral.