各位大神:
我想问下DM365的SDK里有gpio的驱动源码吗?谢谢!
如果有,生成设备文件后,是不是在测试程序中用open()函数来打开设备文件,调用驱动里的函数?
多谢了。
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
各位大神:
我想问下DM365的SDK里有gpio的驱动源码吗?谢谢!
如果有,生成设备文件后,是不是在测试程序中用open()函数来打开设备文件,调用驱动里的函数?
多谢了。
好的,谢谢你。
本来以为psp/linux-2.6.32.17/arch/arm/mach-davinci/gpio.c 或者psp/linux-driver-examples-psp03.01.01.38/gpio/gpio_test.c里是驱动的源码,
那我就只能自己写驱动了。