Rev 869 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 869 | Rev 1140 | ||
|---|---|---|---|
| Line 5... | Line 5... | ||
| 5 | * Includes |
5 | * Includes |
| 6 | * ---------------------------------------------*/ |
6 | * ---------------------------------------------*/ |
| 7 | #include <stdlib.h> |
7 | #include <stdlib.h> |
| 8 | #include <inttypes.h> |
8 | #include <inttypes.h> |
| 9 | #include <config.h> |
9 | #include <config.h> |
| - | 10 | #include <drivers/mcu/gpio.h> |
|
| 10 | 11 | ||
| 11 | /*----------------------------------------------- |
12 | /*----------------------------------------------- |
| 12 | * Defines |
13 | * Defines |
| 13 | * ---------------------------------------------*/ |
14 | * ---------------------------------------------*/ |
| 14 | 15 | ||
| 15 | /* |
16 | /* |
| 16 | * Define which PORT/PIN to use: |
17 | * Define which PORT/PIN to use: |
| 17 | * FOST02_DATA_PIN, FOST02_DATA_DIR, FOST02_DATA_PORT |
- | |
| 18 | * FOST02_CLK_PIN, FOST02_CLK_DIR, FOST02_CLK_PORT |
- | |
| 19 | * The defines are moved to settings.h |
- | |
| 20 | */ |
18 | */ |
| 21 | #ifndef FOST02_DATA |
19 | #ifndef FOST02_DATA |
| 22 | - | ||
| 23 | #define FOST02_DATA PC4 |
- | |
| 24 | |
20 | #warning FOST02_DATA not defined, useing EXP_M |
| 25 | #define |
21 | #define FOST02_DATA EXP_M |
| 26 | #define FOST02_DATA_PORT PORTC |
- | |
| 27 | 22 | #endif |
|
| 28 | |
23 | #ifndef FOST02_CLK |
| 29 | |
24 | #warning FOST02_CLK not defined, useing EXP_L |
| 30 | #define |
25 | #define FOST02_CLK EXP_L |
| 31 | #endif |
26 | #endif |
| 32 | 27 | ||
| 33 | /*----------------------------------------------- |
28 | /*----------------------------------------------- |
| 34 | * Functions |
29 | * Functions |
| 35 | * ---------------------------------------------*/ |
30 | * ---------------------------------------------*/ |