Rev 625 | Rev 815 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 625 | Rev 694 | ||
|---|---|---|---|
| Line 3... | Line 3... | ||
| 3 | #include <stdio.h> |
3 | #include <stdio.h> |
| 4 | #include <string.h> |
4 | #include <string.h> |
| 5 | #include <config.h> // All configuration parameters |
5 | #include <config.h> // All configuration parameters |
| 6 | #include <bios.h> // BIOS interface declarations, including CAN structure and ID defines. |
6 | #include <bios.h> // BIOS interface declarations, including CAN structure and ID defines. |
| 7 | #include <drivers/uart/serial.h> |
7 | #include <drivers/uart/serial.h> |
| 8 | #include <drivers/ |
8 | #include <drivers/DTMF/mt8870/mt8870.h> |
| 9 | 9 | ||
| 10 | #define STATE_IDLE 0 |
10 | #define STATE_IDLE 0 |
| 11 | #define STATE_GET_DATA 1 |
11 | #define STATE_GET_DATA 1 |
| 12 | #define STATE_START_WAIT 2 |
12 | #define STATE_START_WAIT 2 |
| 13 | #define STATE_WAIT 3 |
13 | #define STATE_WAIT 3 |