From 39a5d7c632ec25bcaaa6f296effe719bbc62a6ed Mon Sep 17 00:00:00 2001 From: Karl Palsson Date: Sun, 19 Sep 2021 21:56:37 +0000 Subject: stm32l1: initial support, incomplete --- rcc/rcc_reg.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'rcc') diff --git a/rcc/rcc_reg.h b/rcc/rcc_reg.h index 4a1e881..2612580 100644 --- a/rcc/rcc_reg.h +++ b/rcc/rcc_reg.h @@ -111,6 +111,24 @@ struct RCC_reg_l0_t { volatile uint32_t CSR; }; +struct RCC_reg_l1_t { + volatile uint32_t CR; + volatile uint32_t ICSCR; + volatile uint32_t CFGR; + volatile uint32_t CIR; + volatile uint32_t AHBRSTR; + volatile uint32_t APB2RSTR; + volatile uint32_t APB1RSTR; + volatile uint32_t AHBENR; + volatile uint32_t APB2ENR; + volatile uint32_t APB1ENR; + // Use "standard" _SM_ names, not _LP_ as in Refman. + volatile uint32_t AHBSMENR; + volatile uint32_t APB2SMENR; + volatile uint32_t APB1SMENR; + volatile uint32_t CSR; +}; + struct RCC_reg_wb_t { volatile uint32_t CR; volatile uint32_t ICSCR; -- cgit v1.2.3