Hi, I notice that there is a typo error in GPIO drivers:
In GPIOIntTypeSet() function (gpio_v2.c), one of the case is GPIO_INT_TYPE_BOTH_EDGE. In the example of gpioCardDetect.c, it is GPIOIntTypeSet(SOC_GPIO_0_REGS, 65, GPIO_INT_TYPE_BOTHEDGE).
Also, can you advice where are the below constant was defined?
1. GPIO_OE (exist in GPIODirModeSet function) - this is the offset and supposed to have value that depend on GPIO bank number.
2. GPIO_LEVELDETECT() (exist in GPIOIntTypeSet function)