From 7fd8db2c1c2dea60d5e96e2a47e5dde2039e94f0 Mon Sep 17 00:00:00 2001
From: Vegard Storheil Eriksen <zyp@jvnv.net>
Date: Sat, 3 Sep 2011 15:24:42 +0200
Subject: Added STK register structure.

---
 stm32.h | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/stm32.h b/stm32.h
index e17b7c5..7f7e7a0 100644
--- a/stm32.h
+++ b/stm32.h
@@ -117,6 +117,15 @@ struct RCC_t {
 
 static RCC_t& RCC = *(RCC_t*)0x40021000;
 
+struct STK_t {
+	volatile uint32_t CTRL;
+	volatile uint32_t LOAD;
+	volatile uint32_t VAL;
+	volatile uint32_t CALIB;
+};
+
+static STK_t& STK = *(STK_t*)0xe000e010;
+
 struct FLASH_t {
 	volatile uint32_t ACR;
 	volatile uint32_t KEYR;
-- 
cgit v1.2.3