removed overclocking
enabled PWM
refactored HAL driver