ATMEL: conversion is finished or not

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

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

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

Definition at line 155 of file adc_drv.h.