Fix the wrong initialize pwm problem
Fix wrong array access
move global struct to be static and rearrange pwm files
Let the range of CCR that control PWM be more wide
Let st-flash reset when we flash it