Subversion Repositories FlightCtrl

Rev

Blame | Last modification | View Log | RSS feed

/*************************************
* File:         analog.h
* Purpose:      header of analog.c
**************************************/

#ifndef _ANALOG_H
 #define _ANALOG_H


//-------------------- definitions ---
#define AD_NICK     0                                   // Gyro Nick
#define AD_ACC_X    7                                   // ACC Nick


// ------------------------------ declaration of variables -----------------
extern volatile int AdWertNick, AdWertAccNick;
extern volatile unsigned char AdReady;                                                                          // analog conversion ready


// ------------------------ declaration of functions -----------------
extern void init_ADC(void);

#endif //_ANALOG_H
//-----------------------------------------------------------------------------------------------------------------------------------