Issue about GPIO API on MX6DL

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Issue about GPIO API on MX6DL

543 次查看
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 回复

455 次查看
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 项奖励
回复