Defines

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

Referenced by init_adc().

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

Definition at line 103 of file adc_drv.h.

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

Definition at line 104 of file adc_drv.h.

Referenced by ADC_Init(), and init_adc().

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

Definition at line 105 of file adc_drv.h.

Referenced by init_adc().

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

Definition at line 106 of file adc_drv.h.