summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src/str71x/str71x_timer.h
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/arch/arm/src/str71x/str71x_timer.h')
-rw-r--r--nuttx/arch/arm/src/str71x/str71x_timer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/nuttx/arch/arm/src/str71x/str71x_timer.h b/nuttx/arch/arm/src/str71x/str71x_timer.h
index 860316004..331c538de 100644
--- a/nuttx/arch/arm/src/str71x/str71x_timer.h
+++ b/nuttx/arch/arm/src/str71x/str71x_timer.h
@@ -125,6 +125,7 @@
#define STR71X_TIMERCR1_PWMI (0x4000) /* Bit 14: Pulse width modulation input */
#define STR71X_TIMERCR1_EN (0x8000) /* Bit 15: Timer count enable */
+#define STR71X_TIMERCR2_DIVMASK (0x00ff) /* Bits 0-7: Timer prescaler value */
#define STR71X_TIMERCR2_OCBIE (0x0800) /* Bit 11: Output capture B enable */
#define STR71X_TIMERCR2_ICBIE (0x1000) /* Bit 12: Input capture B enable */
#define STR71X_TIMERCR2_TOIE (0x2000) /* Bit 13: Timer overflow enable */