Rev 146 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 146 | Rev 672 | ||
---|---|---|---|
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 Ch0; |
|
6 | u16 Ch1; |
7 | u16 Ch1; |
7 | u16 Ch2; |
8 | u16 Ch2; |
8 | u16 Ch3; |
9 | u16 Ch3; |
9 | u16 Ch4; |
10 | u16 Ch4; |
10 | u16 Ch5; |
11 | u16 Ch5; |
11 | u16 Ch6; |
12 | u16 Ch6; |
12 | u16 Ch7; |
13 | u16 Ch7; |
13 | } __attribute__((packed)) AnalogData_t; |
14 | } __attribute__((packed)) AnalogData_t; |
14 | 15 | ||
15 | extern AnalogData_t AnalogData; |
16 | extern AnalogData_t AnalogData; |
16 | 17 | ||
17 | void Analog_Init(void); |
18 | void Analog_Init(void); |
18 | void Analog_Deinit(void); |
19 | void Analog_Deinit(void); |
19 | void Analog_Update(void); |
20 | void Analog_Update(void); |
20 | 21 | ||
21 | #endif // _ANALOG_H |
22 | #endif // _ANALOG_H |
22 | 23 |