Rev 1447 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | SVN | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 851 | migan | 1 | #ifndef <TEMPLATE> |
| 2 | #define <TEMPLATE> |
||
| 847 | migan | 3 | |
| 4 | /*----------------------------------------------------------------------------- |
||
| 5 | * Includes |
||
| 6 | *---------------------------------------------------------------------------*/ |
||
| 7 | /* system files */ |
||
| 8 | #include <avr/io.h> |
||
| 9 | #include <avr/interrupt.h> |
||
| 10 | #include <stdio.h> |
||
| 11 | /* lib files */ |
||
| 12 | #include <config.h> |
||
| 13 | #include <bios.h> |
||
| 14 | #include <drivers/can/stdcan.h> |
||
| 15 | #include <drivers/timer/timer.h> |
||
| 1157 | arune | 16 | #include <drivers/mcu/gpio.h> |
| 1447 | arune | 17 | #include <drivers/adc/adc.h> |
| 1451 | linlun | 18 | #include <drivers/mcu/pcint.h> |
| 847 | migan | 19 | |
| 851 | migan | 20 | void <template>_Init(void); |
| 21 | void <template>_Process(void); |
||
| 22 | void <template>_HandleMessage(StdCan_Msg_t *rxMsg); |
||
| 23 | void <template>_List(uint8_t ModuleSequenceNumber); |
||
| 847 | migan | 24 | |
| 1062 | linlun | 25 | |
| 26 | #ifdef <template>_USEEEPROM |
||
| 27 | struct <template>_Data{ |
||
| 28 | ///TODO: Define EEPROM variables needed by the module |
||
| 29 | uint8_t x; |
||
| 30 | uint16_t y; |
||
| 31 | }; |
||
| 1106 | linlun | 32 | #endif |
| 1062 | linlun | 33 | |
| 851 | migan | 34 | #endif // <TEMPLATE> |