ADC IT Configuration
[ADC Macros]

Configure the ADC IT. More...

Defines

#define Enable_all_it()   (SREG |= (0x80) )
#define Disable_all_it()   (SREG &= ~(0x80) )
#define Enable_adc_it()   (ADCSRA |= (1<<ADIE) )
#define Disable_adc_it()   (ADCSRA &= ~(1<<ADIE) )
#define Clear_adc_flag()   (ADCSRA &= (1<<ADIF) )

Detailed Description

Configure the ADC IT.


Define Documentation

 
#define Enable_all_it (  )     (SREG |= (0x80) )

Definition at line 92 of file adc_drv.h.

 
#define Disable_all_it (  )     (SREG &= ~(0x80) )

Definition at line 93 of file adc_drv.h.

 
#define Enable_adc_it (  )     (ADCSRA |= (1<<ADIE) )

Definition at line 94 of file adc_drv.h.

 
#define Disable_adc_it (  )     (ADCSRA &= ~(1<<ADIE) )

Definition at line 95 of file adc_drv.h.

 
#define Clear_adc_flag (  )     (ADCSRA &= (1<<ADIF) )

Definition at line 96 of file adc_drv.h.


Generated on Wed Sep 23 09:17:20 2009 for ATMEL by  doxygen 1.5.3