aboutsummaryrefslogtreecommitdiff
path: root/include/libopenstm32/gpio.h
diff options
context:
space:
mode:
authorUwe Hermann2009-07-25 03:09:36 +0200
committerUwe Hermann2009-07-25 03:09:36 +0200
commit712261bb5218bcf60a21216fc0105521aec260a4 (patch)
tree1c8a64ace9183996d781db913aec52a5ae0a208e /include/libopenstm32/gpio.h
parentc26541c4c5e2766f4f20a70867cb46d043b9273c (diff)
Add some more USART related bit definitions.
Diffstat (limited to 'include/libopenstm32/gpio.h')
-rw-r--r--include/libopenstm32/gpio.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/libopenstm32/gpio.h b/include/libopenstm32/gpio.h
index 23d633d..6a9b22f 100644
--- a/include/libopenstm32/gpio.h
+++ b/include/libopenstm32/gpio.h
@@ -52,6 +52,11 @@
#define GPIO15 (1 << 15)
#define GPIO_ALL 0xffff
+/* GPIO pins with alternate functions */
+#define GPIO_USART_TX GPIO10
+#define GPIO_USART_RX GPIO11
+/* TODO */
+
/* --- GPIO registers ------------------------------------------------------ */
/* Port configuration register low (GPIOx_CRL) */