/* This function is used to register the pwm interrupt callback function.  */
void tls_pwm_isr_register(void(*callback)(void))
/* This function is used to register the pwm interrupt callback function.  */
void tls_pwm_isr_register(void(*callback)(void))
{
    pwm_callback = callback;
    tls_irq_enable(PWM_IRQn);
}