Refactored pwm scheduling within onIdleCpu handlers (drivers no longer need to know their index to schedule pwm)