Refactoring clock support code out of clock_pin.cpp to clock_ctrl.h clock_ctrl.cpp ready for PWM functionality support.