Structs and Enums used by the driver.
- Note
- This is example show how to instantiate GPIO with gpio_instance_t and gpio_hwreg_t.
#define GPIO_0 (gpio_hwreg_t*)SYSTEM_GPIO_0_IO_CTRL
.hwreg = GPIO_0,
.output = 0x00,
.outputEnable = 0x0E,
};
void gpio_applyConfig(gpio_instance_t *inst)
Apply stored GPIO configuration to hardware.