aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/AT91SAM7/hal_lld.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-11-30 19:11:03 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-11-30 19:11:03 +0000
commit770c4873d20623f6d4f678d62b67eb6218e259bf (patch)
treec461c249b3738e0bf33039a43876fd7da5578c70 /os/hal/platforms/AT91SAM7/hal_lld.h
parent39d171f7ef1cf093a1b1a05650afb0256b7c7ce1 (diff)
downloadChibiOS-770c4873d20623f6d4f678d62b67eb6218e259bf.tar.gz
ChibiOS-770c4873d20623f6d4f678d62b67eb6218e259bf.tar.bz2
ChibiOS-770c4873d20623f6d4f678d62b67eb6218e259bf.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1367 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/AT91SAM7/hal_lld.h')
-rw-r--r--os/hal/platforms/AT91SAM7/hal_lld.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/os/hal/platforms/AT91SAM7/hal_lld.h b/os/hal/platforms/AT91SAM7/hal_lld.h
index 741062679..733ef9a51 100644
--- a/os/hal/platforms/AT91SAM7/hal_lld.h
+++ b/os/hal/platforms/AT91SAM7/hal_lld.h
@@ -35,12 +35,19 @@
/*===========================================================================*/
/**
- * @brief Default action for the spurious handler, nothing.
+ * @brief Default action for the spurious handler, nothing.
*/
#if !defined(AT91SAM7_SPURIOUS_HANDLER_HOOK) || defined(__DOXYGEN__)
#define AT91SAM7_SPURIOUS_HANDLER_HOOK()
#endif
+/**
+ * @brief Default divider for the USB clock - half the PLL clock.
+ */
+#if !defined(AT91SAM7_USBDIV) || defined(__DOXYGEN__)
+#define AT91SAM7_USBDIV AT91C_CKGR_USBDIV_1
+#endif
+
/*===========================================================================*/
/* Driver constants. */
/*===========================================================================*/