drivers/AT91/timer_AT91.c
changeset 801 32d146b64a35
parent 520 cc993e72b7e6
equal deleted inserted replaced
800:f0d16976e46e 801:32d146b64a35
    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