diff options
| author | Vegard Storheil Eriksen <zyp@jvnv.net> | 2011-09-03 15:24:42 +0200 |
|---|---|---|
| committer | Vegard Storheil Eriksen <zyp@jvnv.net> | 2011-09-03 15:24:42 +0200 |
| commit | 7fd8db2c1c2dea60d5e96e2a47e5dde2039e94f0 (patch) | |
| tree | f0e9834f0e9639d0bd1daf62d0486baed2df4422 | |
| parent | d6c747ec1c5c27ba0940517346da75bc4945dc9e (diff) | |
Added STK register structure.
| -rw-r--r-- | stm32.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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; |
