Custom board.h. Minor fixes.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4218 35acf78f-673a-0410-8e92-d51de3d6d3f4master
parent
ec65999d9b
commit
73a2000ab2
|
@ -430,7 +430,7 @@
|
||||||
PIN_MODE_INPUT(GPIOE_MMA8451_INT2))
|
PIN_MODE_INPUT(GPIOE_MMA8451_INT2))
|
||||||
/* 0x00000000 */
|
/* 0x00000000 */
|
||||||
#define VAL_GPIOE_OTYPER (PIN_OTYPE_PUSHPULL(GPIOE_XBEE_SLEEP) | \
|
#define VAL_GPIOE_OTYPER (PIN_OTYPE_PUSHPULL(GPIOE_XBEE_SLEEP) | \
|
||||||
PIN_OTYPE_OPENDRAIN(GPIOE_XBEE_RESET) | \
|
PIN_OTYPE_PUSHPULL(GPIOE_XBEE_RESET) | \
|
||||||
PIN_OTYPE_PUSHPULL(GPIOE_USB_DISCOVERY) | \
|
PIN_OTYPE_PUSHPULL(GPIOE_USB_DISCOVERY) | \
|
||||||
PIN_OTYPE_OPENDRAIN(GPIOE_GPS_PWR_EN) | \
|
PIN_OTYPE_OPENDRAIN(GPIOE_GPS_PWR_EN) | \
|
||||||
PIN_OTYPE_PUSHPULL(GPIOE_PWM5) | \
|
PIN_OTYPE_PUSHPULL(GPIOE_PWM5) | \
|
||||||
|
@ -442,8 +442,8 @@
|
||||||
/* 0x00000000 */
|
/* 0x00000000 */
|
||||||
#define VAL_GPIOE_PUPDR (PIN_PUDR_PULLDOWN(GPIOE_GPS_PPS) | \
|
#define VAL_GPIOE_PUPDR (PIN_PUDR_PULLDOWN(GPIOE_GPS_PPS) | \
|
||||||
PIN_PUDR_PULLUP(GPIOE_XBEE_SLEEP) | \
|
PIN_PUDR_PULLUP(GPIOE_XBEE_SLEEP) | \
|
||||||
PIN_PUDR_PULLUP(GPIOE_XBEE_RESET) | \
|
PIN_PUDR_FLOATING(GPIOE_XBEE_RESET) | \
|
||||||
PIN_PUDR_PULLUP(GPIOE_SDIO_DETECT) | \
|
PIN_PUDR_PULLUP(GPIOE_SDIO_DETECT) | \
|
||||||
PIN_PUDR_FLOATING(GPIOE_USB_DISCOVERY) | \
|
PIN_PUDR_FLOATING(GPIOE_USB_DISCOVERY) | \
|
||||||
PIN_PUDR_FLOATING(GPIOE_GPS_PWR_EN) | \
|
PIN_PUDR_FLOATING(GPIOE_GPS_PWR_EN) | \
|
||||||
PIN_PUDR_PULLDOWN(GPIOE_BMP085_EOC) | \
|
PIN_PUDR_PULLDOWN(GPIOE_BMP085_EOC) | \
|
||||||
|
|
Loading…
Reference in New Issue