Rev 1789 | Details | Compare with Previous | Last modification | View Log | SVN | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 928 | linlun | 1 | #ifndef ACT_KS0108 |
| 2 | #define ACT_KS0108 |
||
| 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> |
||
| 16 | |||
| 1789 | arune | 17 | #include <drivers/lcd/glcd/graphics.h> |
| 928 | linlun | 18 | #include <avr/pgmspace.h> |
| 19 | |||
| 1409 | linlun | 20 | #if act_ks0108_USE_EXTERNAL_EEPROM==1 |
| 21 | #include <drivers/mcu/TWI_Master.h> |
||
| 22 | #define MEMORY_ADDR 0xA0 // For first 256 bytes of EEPROM |
||
| 23 | #define MESSAGEBUF_SIZE 131 // Three more than the memory block length |
||
| 24 | #endif |
||
| 25 | |||
| 1809 | arune | 26 | #ifndef GRAPHICS_DRIVER |
| 27 | #define GRAPHICS_DRIVER KS0108 |
||
| 28 | #endif |
||
| 29 | |||
| 928 | linlun | 30 | void act_ks0108_Init(void); |
| 31 | void act_ks0108_Process(void); |
||
| 32 | void act_ks0108_HandleMessage(StdCan_Msg_t *rxMsg); |
||
| 33 | void act_ks0108_List(uint8_t ModuleSequenceNumber); |
||
| 34 | |||
| 35 | #endif // ACT_KS0108 |