diff options
-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; |