Rev 883 | Details | Compare with Previous | Last modification | View Log | SVN | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 868 | migan | 1 | #ifndef SNS_SIMPLEDTMF |
| 2 | #define SNS_SIMPLEDTMF |
||
| 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 | |||
| 883 | arune | 17 | #include <drivers/DTMF/dtmf.h> |
| 868 | migan | 18 | |
| 19 | #define SNS_SIMPLEDTMF_STATE_IDLE 0 |
||
| 883 | arune | 20 | #define SNS_SIMPLEDTMF_STATE_COPYDATA 1 |
| 21 | #define SNS_SIMPLEDTMF_STATE_WAIT 2 |
||
| 22 | #define SNS_SIMPLEDTMF_STATE_SEND 3 |
||
| 868 | migan | 23 | |
| 24 | void sns_SimpleDTMF_Init(void); |
||
| 25 | void sns_SimpleDTMF_Process(void); |
||
| 26 | void sns_SimpleDTMF_HandleMessage(StdCan_Msg_t *rxMsg); |
||
| 27 | void sns_SimpleDTMF_List(uint8_t ModuleSequenceNumber); |
||
| 28 | |||
| 29 | #endif // SNS_SIMPLEDTMF |