add dir set and reset

This commit is contained in:
Mariano Alvira 2010-03-08 17:35:34 -05:00
parent 6ab2c0e69a
commit 0f9f67d002

View file

@ -20,6 +20,10 @@
#define GPIO_DATA_SET1 ((volatile uint32_t *) 0x8000004c) #define GPIO_DATA_SET1 ((volatile uint32_t *) 0x8000004c)
#define GPIO_DATA_RESET0 ((volatile uint32_t *) 0x80000050) #define GPIO_DATA_RESET0 ((volatile uint32_t *) 0x80000050)
#define GPIO_DATA_RESET1 ((volatile uint32_t *) 0x80000054) #define GPIO_DATA_RESET1 ((volatile uint32_t *) 0x80000054)
#define GPIO_PAD_DIR_SET0 ((volatile uint32_t *) 0x80000058)
#define GPIO_PAD_DIR_SET1 ((volatile uint32_t *) 0x8000005c)
#define GPIO_PAD_DIR_RESET0 ((volatile uint32_t *) 0x80000060)
#define GPIO_PAD_DIR_RESET1 ((volatile uint32_t *) 0x80000064)
/* select pullup or pulldown for GPIO 0-31 (b=0-31) */ /* select pullup or pulldown for GPIO 0-31 (b=0-31) */