ATMEL: ADC IT Configuration

- Main Page
- Modules
- Data Structures
- Files
- Related Pages

# 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.