/* Function for enabling the IRQ for a given PWM instance.  */
__STATIC_INLINE void pwm_irq_enable(app_pwm_t const *const p_instance)
/* Function for enabling the IRQ for a given PWM instance.  */
__STATIC_INLINE void pwm_irq_enable(app_pwm_t const *const p_instance)
{
    nrf_drv_timer_compare_int_enable(p_instance->p_timer, PWM_MAIN_CC_CHANNEL);
}