aboutsummaryrefslogtreecommitdiff
path: root/02-usart/include/core/usart.h
diff options
context:
space:
mode:
authorJosh Rahm <joshuarahm@gmail.com>2020-11-21 01:25:26 -0700
committerJosh Rahm <joshuarahm@gmail.com>2020-11-21 01:25:26 -0700
commit14a651cda0bd8dfb992d2a6a1544300c39492ca3 (patch)
treea3f4b148fe64736f7bb73784498871009faf1fe0 /02-usart/include/core/usart.h
parentfd763486d875968941c77386e23936e817856c8e (diff)
downloadstm32l4-14a651cda0bd8dfb992d2a6a1544300c39492ca3.tar.gz
stm32l4-14a651cda0bd8dfb992d2a6a1544300c39492ca3.tar.bz2
stm32l4-14a651cda0bd8dfb992d2a6a1544300c39492ca3.zip
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.
Diffstat (limited to '02-usart/include/core/usart.h')
-rw-r--r--02-usart/include/core/usart.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/02-usart/include/core/usart.h b/02-usart/include/core/usart.h
index 667b931..8d841df 100644
--- a/02-usart/include/core/usart.h
+++ b/02-usart/include/core/usart.h
@@ -8,8 +8,8 @@
#include "rcc.h"
#include <assert.h>
-#define USART1 (* (__IO usart_t*) USART1_BASE)
-#define USART2 (* (__IO usart_t*) USART2_BASE)
+#define USART1 (* (usart_t*) USART1_BASE)
+#define USART2 (* (usart_t*) USART2_BASE)
/*
* Possible USART clock sources.