3 #ifndef MAINBOARD_GPIO_H
4 #define MAINBOARD_GPIO_H
13 #ifndef PAD_CFG_GPIO_BIDIRECT
14 #define PAD_CFG_GPIO_BIDIRECT(pad, val, pull, rst, trig, own) \
15 _PAD_CFG_STRUCT(pad, \
16 PAD_FUNC(GPIO) | PAD_RESET(rst) | PAD_TRIG(trig) | \
17 PAD_BUF(NO_DISABLE) | val, \
18 PAD_PULL(pull) | PAD_CFG_OWN_GPIO(own))
#define PAD_CFG_GPIO_BIDIRECT(pad, val, pull, rst, trig, own)
static const struct pad_config gpio_table[]
#define PAD_CFG_GPI_SMI(pad, pull, rst, trig, inv)
#define PAD_CFG_GPI_TRIG_OWN(pad, pull, rst, trig, own)
#define PAD_CFG_TERM_GPO(pad, val, pull, rst)
#define PAD_CFG_NF(pad, pull, rst, func)
#define PAD_CFG_GPI_APIC_HIGH(pad, pull, rst)
#define PAD_CFG_GPO(pad, val, rst)
#define PAD_CFG_GPI_SCI(pad, pull, rst, trig, inv)
#define PAD_CFG_GPI_APIC_LOW(pad, pull, rst)