From 14a651cda0bd8dfb992d2a6a1544300c39492ca3 Mon Sep 17 00:00:00 2001 From: Josh Rahm Date: Sat, 21 Nov 2020 01:25:26 -0700 Subject: Implemented DMA abstraction in the peri/dma.c source file. This abstraction makes it much more intuitive to use the DMA features on the STM32L4 boards. --- 02-usart/include/core/rcc.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to '02-usart/include/core/rcc.h') diff --git a/02-usart/include/core/rcc.h b/02-usart/include/core/rcc.h index 9c82501..45f64b5 100644 --- a/02-usart/include/core/rcc.h +++ b/02-usart/include/core/rcc.h @@ -1,11 +1,10 @@ #ifndef H__RCC_ #define H__RCC_ +#include "arch.h" #include "common.h" #include -#define RCC_BASE ((uint32_t)0x40021000) - typedef struct { __IO uint32_t c_r; /* Clock control register. 0x00 */ __IO uint32_t icsc_r; /* Internal clock srcs calibration register. 0x04 */ -- cgit