big PWM refactor: drive both LEDs and buzzer from TCC

This commit is contained in:
Joey Castillo
2021-08-29 17:40:44 -04:00
parent 7dc4b0fdc6
commit 6353d25d46
8 changed files with 120 additions and 76 deletions

View File

@@ -331,13 +331,6 @@ static void tcc_pwm_interrupt_handler(struct _pwm_device *device)
}
}
/**
* \brief TCC interrupt handler
*/
void TCC0_Handler(void)
{
tcc_pwm_interrupt_handler(_tcc0_dev);
}
static struct tcc_cfg *_get_tcc_cfg(void *hw)
{