Issue about GPIO API on MX6DL

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Issue about GPIO API on MX6DL

544件の閲覧回数
tony_l_cai
Contributor III

Hi,all

     I want to use the API " mxc_set_gpio_direction " in the file of  uboot-imx\include\asm-arm\arch-mx6\gpio.h, and I have included the header file <asm/arch/gpio.h> , but the  compiler cannot find the API, so the header file is wrong or anything else?

ラベル(2)
0 件の賞賛
返信
1 返信

456件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi tony

in latest u-boot (like u-boot-imx 2013.04) for gpio apis one can look at

/drivers/gpio/mxc_gpio.c, there are functions mxc_gpio_direction, gpio_request,

gpio_free and others.

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信