aboutsummaryrefslogtreecommitdiff
path: root/board/board-olimex-stm32-h103.h
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2013-06-06 10:56:17 +0900
committerNIIBE Yutaka <gniibe@fsij.org>2013-06-06 10:56:17 +0900
commit60e0fbd189ec02c7817e7db649cb41f70d445525 (patch)
treec664a03502738f787d8229c2181be6f89b92338b /board/board-olimex-stm32-h103.h
parent5540f9b08a2b997aaa4bfbe3aa8bbaa571945eaa (diff)
update board-*.h
Diffstat (limited to 'board/board-olimex-stm32-h103.h')
-rw-r--r--board/board-olimex-stm32-h103.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/board/board-olimex-stm32-h103.h b/board/board-olimex-stm32-h103.h
index 7063ab3..b738539 100644
--- a/board/board-olimex-stm32-h103.h
+++ b/board/board-olimex-stm32-h103.h
@@ -6,12 +6,15 @@
#define GPIO_LED_CLEAR_TO_EMIT 12
/*
- * PC0 - Digital input with PullUp. AN10 for NeuG
- * PC1 - Digital input with PullUp. AN11 for NeuG
- * PC6 - Normal input because there is an external resistor.
- * PC7 - Normal input because there is an external resistor.
- * PC11 - Open Drain output (USB disconnect).
- * PC12 - Push Pull output (LED).
+ * Port C setup.
+ * PC0 - input with pull-up. AN10 for NeuG
+ * PC1 - input with pull-up. AN11 for NeuG
+ * PC6 - input without pull-up/down
+ * PC7 - input without pull-up/down
+ * PC11 - Open-drain output 50MHz (USB disconnect).
+ * PC12 - Push Pull output 50MHz (LED).
+ * ------------------------ Default
+ * PCx - input with pull-up
*/
#define VAL_GPIO_ODR 0xFFFFFFFF
#define VAL_GPIO_CRL 0x44888888 /* PC7...PC0 */