summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src/tiva/tiva_enablepwr.h
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2015-01-08 09:47:38 -0600
committerGregory Nutt <gnutt@nuttx.org>2015-01-08 09:47:38 -0600
commitd8ac2e146891a0d9e9d1cf6360cd1c9e584f4ed3 (patch)
treee99c4eb6f31f44e1d0d7567a4b2eef01a267e890 /nuttx/arch/arm/src/tiva/tiva_enablepwr.h
parent8571c79fc8751bd4a03f0f2dece4ab26163164f4 (diff)
downloadnuttx-d8ac2e146891a0d9e9d1cf6360cd1c9e584f4ed3.tar.gz
nuttx-d8ac2e146891a0d9e9d1cf6360cd1c9e584f4ed3.tar.bz2
nuttx-d8ac2e146891a0d9e9d1cf6360cd1c9e584f4ed3.zip
Tiva Timer: Add basic framework to configure timers. Incomplete on initial commit
Diffstat (limited to 'nuttx/arch/arm/src/tiva/tiva_enablepwr.h')
-rw-r--r--nuttx/arch/arm/src/tiva/tiva_enablepwr.h42
1 files changed, 21 insertions, 21 deletions
diff --git a/nuttx/arch/arm/src/tiva/tiva_enablepwr.h b/nuttx/arch/arm/src/tiva/tiva_enablepwr.h
index f7e21be9a..28b91722e 100644
--- a/nuttx/arch/arm/src/tiva/tiva_enablepwr.h
+++ b/nuttx/arch/arm/src/tiva/tiva_enablepwr.h
@@ -75,30 +75,30 @@
/* 16/32-Bit Timer Power Control */
#ifdef TIVA_SYSCON_PCTIMER
-# define tiva_tm_enablepwr(p) tiva_enablepwr(TIVA_SYSCON_PCTIMER,SYSCON_PCTIMER(p))
-# define tiva_tm_disablepwr(p) tiva_disablepwr(TIVA_SYSCON_PCTIMER,SYSCON_PCTIMER(p))
+# define tiva_gptm_enablepwr(p) tiva_enablepwr(TIVA_SYSCON_PCTIMER,SYSCON_PCTIMER(p))
+# define tiva_gptm_disablepwr(p) tiva_disablepwr(TIVA_SYSCON_PCTIMER,SYSCON_PCTIMER(p))
#else
-# define tiva_tm_enablepwr(p)
-# define tiva_tm_disablepwr(p)
+# define tiva_gptm_enablepwr(p)
+# define tiva_gptm_disablepwr(p)
#endif
-#define tiva_tm0_enablepwr() tiva_tm_enablepwr(0)
-#define tiva_tm1_enablepwr() tiva_tm_enablepwr(1)
-#define tiva_tm2_enablepwr() tiva_tm_enablepwr(2)
-#define tiva_tm3_enablepwr() tiva_tm_enablepwr(3)
-#define tiva_tm4_enablepwr() tiva_tm_enablepwr(4)
-#define tiva_tm5_enablepwr() tiva_tm_enablepwr(5)
-#define tiva_tm6_enablepwr() tiva_tm_enablepwr(6)
-#define tiva_tm7_enablepwr() tiva_tm_enablepwr(7)
-
-#define tiva_tm0_disablepwr() tiva_tm_disablepwr(0)
-#define tiva_tm1_disablepwr() tiva_tm_disablepwr(1)
-#define tiva_tm2_disablepwr() tiva_tm_disablepwr(2)
-#define tiva_tm3_disablepwr() tiva_tm_disablepwr(3)
-#define tiva_tm4_disablepwr() tiva_tm_disablepwr(4)
-#define tiva_tm5_disablepwr() tiva_tm_disablepwr(5)
-#define tiva_tm6_disablepwr() tiva_tm_disablepwr(6)
-#define tiva_tm7_disablepwr() tiva_tm_disablepwr(7)
+#define tiva_gptm0_enablepwr() tiva_gptm_enablepwr(0)
+#define tiva_gptm1_enablepwr() tiva_gptm_enablepwr(1)
+#define tiva_gptm2_enablepwr() tiva_gptm_enablepwr(2)
+#define tiva_gptm3_enablepwr() tiva_gptm_enablepwr(3)
+#define tiva_gptm4_enablepwr() tiva_gptm_enablepwr(4)
+#define tiva_gptm5_enablepwr() tiva_gptm_enablepwr(5)
+#define tiva_gptm6_enablepwr() tiva_gptm_enablepwr(6)
+#define tiva_gptm7_enablepwr() tiva_gptm_enablepwr(7)
+
+#define tiva_gptm0_disablepwr() tiva_gptm_disablepwr(0)
+#define tiva_gptm1_disablepwr() tiva_gptm_disablepwr(1)
+#define tiva_gptm2_disablepwr() tiva_gptm_disablepwr(2)
+#define tiva_gptm3_disablepwr() tiva_gptm_disablepwr(3)
+#define tiva_gptm4_disablepwr() tiva_gptm_disablepwr(4)
+#define tiva_gptm5_disablepwr() tiva_gptm_disablepwr(5)
+#define tiva_gptm6_disablepwr() tiva_gptm_disablepwr(6)
+#define tiva_gptm7_disablepwr() tiva_gptm_disablepwr(7)
/* GPIO Power Control */