diff options
Diffstat (limited to 'software/mpu/board/board.h')
-rw-r--r-- | software/mpu/board/board.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/software/mpu/board/board.h b/software/mpu/board/board.h index bcb8319..19b4fa7 100644 --- a/software/mpu/board/board.h +++ b/software/mpu/board/board.h @@ -117,6 +117,22 @@ #define VAL_GPIOEODR 0xFFFFFFFF /* + * Port F setup. + * Everything input with pull-up except: + */ +#define VAL_GPIOFCRL 0x88888888 /* PF7...PF0 */ +#define VAL_GPIOFCRH 0x88888888 /* PF15...PF8 */ +#define VAL_GPIOFODR 0xFFFFFFFF + +/* + * Port G setup. + * Everything input with pull-up except: + */ +#define VAL_GPIOGCRL 0x88888888 /* PG7...PG0 */ +#define VAL_GPIOGCRH 0x88888888 /* PG15...PG8 */ +#define VAL_GPIOGODR 0xFFFFFFFF + +/* * USB bus activation macro, required by the USB driver. */ #define usb_lld_connect_bus(usbp) palClearPad(GPIOA, GPIOA_USB_DISC) |