summaryrefslogtreecommitdiff
path: root/hal/stm32.h
diff options
context:
space:
mode:
Diffstat (limited to 'hal/stm32.h')
-rw-r--r--hal/stm32.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/hal/stm32.h b/hal/stm32.h
index 7ddb479..6c7a04b 100644
--- a/hal/stm32.h
+++ b/hal/stm32.h
@@ -42,21 +42,6 @@ struct STK_t {
static STK_t& STK = *(STK_t*)0xe000e010;
-struct I2C_t {
- volatile uint32_t CR1;
- volatile uint32_t CR2;
- volatile uint32_t OAR1;
- volatile uint32_t OAR2;
- volatile uint32_t DR;
- volatile uint32_t SR1;
- volatile uint32_t SR2;
- volatile uint32_t CCR;
- volatile uint32_t TRISE;
-};
-
-static I2C_t& I2C1 = *(I2C_t*)0x40005400;
-static I2C_t& I2C2 = *(I2C_t*)0x40005800;
-
struct TIM_t {
volatile uint32_t CR1;
volatile uint32_t CR2;