aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/stm32.h
diff options
context:
space:
mode:
authorPerry Hung <iperry@gmail.com>2011-02-28 18:16:03 -0500
committerPerry Hung <iperry@gmail.com>2011-02-28 18:16:03 -0500
commit1ba3d69c4a30c820edfd696d74346317379cc96a (patch)
tree1336d4ebf7c25973f37b4f15ff5b2eccfcc7783b /libmaple/stm32.h
parent17aeb4e3dd9001ebe63a342c00b58cb7ac0e6231 (diff)
parentf4cdcfa51096f73a49642c400681d91847137dfb (diff)
downloadlibrambutan-1ba3d69c4a30c820edfd696d74346317379cc96a.tar.gz
librambutan-1ba3d69c4a30c820edfd696d74346317379cc96a.zip
i2c merge
Diffstat (limited to 'libmaple/stm32.h')
-rw-r--r--libmaple/stm32.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/libmaple/stm32.h b/libmaple/stm32.h
new file mode 100644
index 0000000..e65b28c
--- /dev/null
+++ b/libmaple/stm32.h
@@ -0,0 +1,12 @@
+/**
+ * @brief General STM32 specific definitions
+ */
+
+#ifndef _STM32_H_
+#define _STM32_H_
+
+#define PCLK1 36000000U
+#define PCLK2 72000000U
+
+#endif
+