From 60e0fbd189ec02c7817e7db649cb41f70d445525 Mon Sep 17 00:00:00 2001 From: NIIBE Yutaka <gniibe@fsij.org> Date: Thu, 6 Jun 2013 10:56:17 +0900 Subject: update board-*.h --- board/board-olimex-stm32-h103.h | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'board/board-olimex-stm32-h103.h') 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 */ -- cgit v1.2.3