From d6adce955cb4b4c91f574a5d89e8e0045ce75357 Mon Sep 17 00:00:00 2001 From: Jim Paris Date: Sat, 25 Sep 2010 15:33:53 -0400 Subject: [PATCH] Add pin definitions for each timer, they're fixed --- lib/include/tmr.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/include/tmr.h b/lib/include/tmr.h index 14213b36e..54e9b27a2 100644 --- a/lib/include/tmr.h +++ b/lib/include/tmr.h @@ -143,6 +143,10 @@ static volatile struct TMR_struct * const _TMR3 = (void *) (TMR3_BASE); #define TMR2 (*_TMR2) #define TMR3 (*_TMR3) +#define TMR0_PIN GPIO_08 +#define TMR1_PIN GPIO_09 +#define TMR2_PIN GPIO_10 +#define TMR3_PIN GPIO_11 /* Old timer definitions, for compatibility */ #ifndef REG_NO_COMPAT