void HardwareTimer::detachInterrupt(int channel) {
    timer_detach_interrupt(this->dev, (uint8)channel);
}
Esempio n. 2
0
static void disable_channel(timer_dev *dev, uint8 channel) {
    timer_detach_interrupt(dev, channel);
    timer_cc_disable(dev, channel);
}
Esempio n. 3
0
void speaker_detachInterrupt(int channel) {
    timer_detach_interrupt(SPEAKER_TIMER, (uint8)channel);
}