Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

Typo error & missing constant in GPIO drivers (StarterWare)

$
0
0

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)


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>