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) ) |
Configure the ADC IT.
| #define Enable_all_it | ( | ) | (SREG |= (0x80) ) |
Definition at line 102 of file adc_drv.h.
Referenced by init_adc().
| #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().
1.7.2