From: batt Date: Thu, 1 Oct 2009 13:18:49 +0000 (+0000) Subject: Add macros that handle end of interrupt. X-Git-Tag: 2.3.0~84 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=70b369e56b83ea53b8c6332621cdfc7d185599e4;p=bertos.git Add macros that handle end of interrupt. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2996 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/hw/hw_afsk.h b/bertos/hw/hw_afsk.h index e2a9a61b..b9bacf2c 100644 --- a/bertos/hw/hw_afsk.h +++ b/bertos/hw/hw_afsk.h @@ -50,11 +50,13 @@ void afsk_adc_isr(void); #define DEFINE_AFSK_ADC_ISR() void afsk_adc_isr(void) + #define AFSK_ADC_IRQ_END() do { /* Implement me */ } while (0) #define AFSK_READ_ADC() (0) void afsk_dac_isr(void); #define DEFINE_AFSK_DAC_ISR() void afsk_dac_isr(void) + #define AFSK_DAC_IRQ_END() do { /* Implement me */ } while (0) #define AFSK_DAC_IRQ_START() do { /* Implement me */ } while (0) #define AFSK_DAC_IRQ_STOP() do { /* Implement me */ } while (0) #define AFSK_SET_DAC(val) do { (void)val; } while (0)