Defines

conversion is finished or not
[ADC Macros]

Check conversion status. More...

Defines

#define Is_adc_conv_finished()   ((ADCSRA & (1<<ADIF)) ? TRUE : FALSE)
#define Is_adc_conv_not_finished()   ((ADCSRA | ~(1<<ADIF)) ? TRUE : FALSE)

Detailed Description

Check conversion status.


Define Documentation

#define Is_adc_conv_finished (  )    ((ADCSRA & (1<<ADIF)) ? TRUE : FALSE)

Definition at line 162 of file adc_drv.h.

Referenced by get_temp_sensor_val().

#define Is_adc_conv_not_finished (  )    ((ADCSRA | ~(1<<ADIF)) ? TRUE : FALSE)

Definition at line 163 of file adc_drv.h.