add dir set and reset
This commit is contained in:
parent
6ab2c0e69a
commit
0f9f67d002
|
@ -16,10 +16,14 @@
|
|||
#define GPIO_PAD_PU_SEL0 ((volatile uint32_t *) 0x80000030)
|
||||
#define GPIO_PAD_PU_SEL1 ((volatile uint32_t *) 0x80000034)
|
||||
|
||||
#define GPIO_DATA_SET0 ((volatile uint32_t *) 0x80000048)
|
||||
#define GPIO_DATA_SET1 ((volatile uint32_t *) 0x8000004c)
|
||||
#define GPIO_DATA_RESET0 ((volatile uint32_t *) 0x80000050)
|
||||
#define GPIO_DATA_RESET1 ((volatile uint32_t *) 0x80000054)
|
||||
#define GPIO_DATA_SET0 ((volatile uint32_t *) 0x80000048)
|
||||
#define GPIO_DATA_SET1 ((volatile uint32_t *) 0x8000004c)
|
||||
#define GPIO_DATA_RESET0 ((volatile uint32_t *) 0x80000050)
|
||||
#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) */
|
||||
|
|
Loading…
Reference in a new issue