Rev 1510 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 1510 | Rev 1519 | ||
|---|---|---|---|
| Line 12... | Line 12... | ||
| 12 | #include <config.h> |
12 | #include <config.h> |
| 13 | #include <bios.h> |
13 | #include <bios.h> |
| 14 | #include <drivers/can/stdcan.h> |
14 | #include <drivers/can/stdcan.h> |
| 15 | #include <drivers/timer/timer.h> |
15 | #include <drivers/timer/timer.h> |
| 16 | #include <drivers/mcu/gpio.h> |
16 | #include <drivers/mcu/gpio.h> |
| - | 17 | #include <drivers/io/PCA95xx.h> |
|
| 17 | 18 | ||
| 18 | //to use PCINT lib. uncomment the line below |
19 | //to use PCINT lib. uncomment the line below |
| 19 | //#include <drivers/mcu/pcint.h> |
20 | //#include <drivers/mcu/pcint.h> |
| 20 | 21 | ||
| 21 | void act_output_Init(void); |
22 | void act_output_Init(void); |
| Line 49... | Line 50... | ||
| 49 | #ifdef act_output_CH6 |
50 | #ifdef act_output_CH6 |
| 50 | uint8_t ch6; |
51 | uint8_t ch6; |
| 51 | #endif |
52 | #endif |
| 52 | #ifdef act_output_CH7 |
53 | #ifdef act_output_CH7 |
| 53 | uint8_t ch7; |
54 | uint8_t ch7; |
| - | 55 | #endif |
|
| - | 56 | #ifdef act_output_CH8 |
|
| - | 57 | uint8_t ch8; |
|
| - | 58 | #endif |
|
| - | 59 | #ifdef act_output_CH9 |
|
| - | 60 | uint8_t ch9; |
|
| 54 | #endif |
61 | #endif |
| 55 | }; |
62 | }; |
| - | 63 | #endif |
|
| - | 64 | ||
| - | 65 | #ifndef act_output_NUM_SUPPORTED |
|
| - | 66 | #define act_output_NUM_SUPPORTED 10 |
|
| 56 | #endif |
67 | #endif |
| 57 | 68 | ||
| 58 | #ifndef act_output_CH0PCA95xxIO |
69 | #ifndef act_output_CH0PCA95xxIO |
| 59 | #define act_output_CH0PCA95xxIO 0 |
70 | #define act_output_CH0PCA95xxIO 0 |
| 60 | #endif |
71 | #endif |
| Line 76... | Line 87... | ||
| 76 | #ifndef act_output_CH6PCA95xxIO |
87 | #ifndef act_output_CH6PCA95xxIO |
| 77 | #define act_output_CH6PCA95xxIO 0 |
88 | #define act_output_CH6PCA95xxIO 0 |
| 78 | #endif |
89 | #endif |
| 79 | #ifndef act_output_CH7PCA95xxIO |
90 | #ifndef act_output_CH7PCA95xxIO |
| 80 | #define act_output_CH7PCA95xxIO 0 |
91 | #define act_output_CH7PCA95xxIO 0 |
| - | 92 | #endif |
|
| - | 93 | #ifndef act_output_CH8PCA95xxIO |
|
| - | 94 | #define act_output_CH8PCA95xxIO 0 |
|
| - | 95 | #endif |
|
| - | 96 | #ifndef act_output_CH9PCA95xxIO |
|
| - | 97 | #define act_output_CH9PCA95xxIO 0 |
|
| 81 | #endif |
98 | #endif |
| 82 | 99 | ||
| 83 | 100 | ||
| 84 | #endif // ACT_OUTPUT |
101 | #endif // ACT_OUTPUT |