ADC IT Configuration
[ADC Macros]

Collaboration diagram for ADC IT Configuration:

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 62 of file adc_drv.h.

Referenced by init_adc().

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

Definition at line 63 of file adc_drv.h.

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

Definition at line 64 of file adc_drv.h.

Referenced by init_adc().

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

Definition at line 65 of file adc_drv.h.

Referenced by init_adc().

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

Definition at line 66 of file adc_drv.h.


Generated on Fri Mar 17 16:02:14 2006 for Atmel by  doxygen 1.4.6-NO