Subversion Repositories NaviCtrl

Rev

Rev 139 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 139 Rev 146
1
#ifndef _ANALOG_H
1
#ifndef _ANALOG_H
2
#define _ANALOG_H
2
#define _ANALOG_H
3
 
3
 
4
typedef struct
4
typedef struct
5
{
5
{
6
        u16 Ch1;
6
        u16 Ch1;
7
        u16 Ch2;
7
        u16 Ch2;
8
        u16 Ch3;
8
        u16 Ch3;
9
        u16 Ch4;
9
        u16 Ch4;
10
        u16 Ch5;
10
        u16 Ch5;
11
        u16 Ch6;
11
        u16 Ch6;
12
        u16 Ch7;
12
        u16 Ch7;
13
} __attribute__((packed)) AnalogData_t;
13
} __attribute__((packed)) AnalogData_t;
14
 
14
 
15
extern AnalogData_t AnalogData;
15
extern AnalogData_t AnalogData;
16
 
16
 
17
void Analog_Init(void);
17
void Analog_Init(void);
18
void Analog_Deinit(void);
18
void Analog_Deinit(void);
-
 
19
void Analog_Update(void);
19
 
20
 
20
#endif  // _ANALOG_H
21
#endif  // _ANALOG_H
21
 
22