Subversion Repositories FlightCtrl

Compare Revisions

Ignore whitespace Rev 2195 → Rev 2196

/branches/V0.76g_dk9nw_balancekopter/analog.h
0,0 → 1,23
/*************************************
* 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
//-----------------------------------------------------------------------------------------------------------------------------------