Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
2196 | - | 1 | /************************************* |
2 | * File: analog.h |
||
3 | * Purpose: header of analog.c |
||
4 | **************************************/ |
||
5 | #ifndef _ANALOG_H |
||
6 | #define _ANALOG_H |
||
7 | |||
8 | |||
9 | //-------------------- definitions --- |
||
10 | #define AD_NICK 0 // Gyro Nick |
||
11 | #define AD_ACC_X 7 // ACC Nick |
||
12 | |||
13 | |||
14 | // ------------------------------ declaration of variables ----------------- |
||
15 | extern volatile int AdWertNick, AdWertAccNick; |
||
16 | extern volatile unsigned char AdReady; // analog conversion ready |
||
17 | |||
18 | |||
19 | // ------------------------ declaration of functions ----------------- |
||
20 | extern void init_ADC(void); |
||
21 | |||
22 | #endif //_ANALOG_H |
||
23 | //----------------------------------------------------------------------------------------------------------------------------------- |