equal
deleted
inserted
replaced
21 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
21 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
22 */ |
22 */ |
23 |
23 |
24 // Includes for the Canfestival driver |
24 // Includes for the Canfestival driver |
25 #include "canfestival.h" |
25 #include "canfestival.h" |
26 #include "timer.h" |
26 #include "timers.h" |
27 |
27 |
28 // Define the timer registers |
28 // Define the timer registers |
29 #define AT91C_BASE_TC AT91C_BASE_TC2 |
29 #define AT91C_BASE_TC AT91C_BASE_TC2 |
30 #define AT91C_ID_TC AT91C_ID_TC2 |
30 #define AT91C_ID_TC AT91C_ID_TC2 |
31 #define TimerAlarm AT91C_BASE_TC2->TC_RC |
31 #define TimerAlarm AT91C_BASE_TC2->TC_RC |