Small fix to the board IOs.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2533 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
gdisirio 2010-12-25 18:47:24 +00:00
parent 1604490dc9
commit f13e3253c3
1 changed files with 8 additions and 5 deletions

View File

@ -49,10 +49,11 @@
#define GPIOB_SPI2NSS 12 #define GPIOB_SPI2NSS 12
#define GPIOC_USB_P 4
#define GPIOC_MMCWP 6 #define GPIOC_MMCWP 6
#define GPIOC_MMCCP 7 #define GPIOC_MMCCP 7
#define GPIOC_CANCNTL 10 #define GPIOC_CAN_CNTL 10
#define GPIOC_DISC 11 #define GPIOC_USB_DISC 11
#define GPIOC_LED 12 #define GPIOC_LED 12
/* /*
@ -104,13 +105,15 @@
/* /*
* Port C setup. * Port C setup.
* Everything input with pull-up except: * Everything input with pull-up except:
* PC4 - Normal input because there is an external resistor.
* PC6 - Normal input because there is an external resistor. * PC6 - Normal input because there is an external resistor.
* PC7 - Normal input because there is an external resistor. * PC7 - Normal input because there is an external resistor.
* PC11 - Push Pull output (CAN CNTRL). * PC10 - Push Pull output (CAN CNTRL).
* PC11 - Push Pull output (USB DISC).
* PC12 - Push Pull output (LED). * PC12 - Push Pull output (LED).
*/ */
#define VAL_GPIOCCRL 0x44888888 /* PC7...PC0 */ #define VAL_GPIOCCRL 0x44848888 /* PC7...PC0 */
#define VAL_GPIOCCRH 0x88833888 /* PC15...PC8 */ #define VAL_GPIOCCRH 0x88833388 /* PC15...PC8 */
#define VAL_GPIOCODR 0xFFFFFFFF #define VAL_GPIOCODR 0xFFFFFFFF
/* /*