how to write gpio drivers

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

how to write gpio drivers

1,339 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by sanjeevudupi on Wed Feb 13 01:09:23 MST 2013
hi all,

i am very new to this field. i have to write gpio drivers for lpc4333FET256
will you please suggest me, how to write the same

thanks in advance


regards
sanjeev
标签 (1)
0 项奖励
回复
5 回复数

1,295 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by sanjeevudupi on Wed Feb 20 22:26:12 MST 2013
ya , i gone through the user manual for LPC4333, and the registers he has mentioned.
but i am not finding the same registers in the code base.


0 项奖励
回复

1,295 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by starblue on Tue Feb 19 01:50:02 MST 2013
Have you looked at the User Manual?
0 项奖励
回复

1,295 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by nxp21346 on Mon Feb 18 15:19:17 MST 2013

http://www.lpcware.com/content/nxpfile/lpc4350apdlzip
In this package, gpio drivers are in the Drivers\source\lpc43xx_gpio.c file.

http://www.lpcware.com/content/nxpfile/lpcopen-platform
In this package, gpio drivers are documented here:
http://docs.lpcware.com/lpcopen/group___g_p_i_o__18_x_x__43_x_x.html

-Dave @ NXP
0 项奖励
回复

1,295 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by sanjeevudupi on Sun Feb 17 23:17:22 MST 2013
thanks ,
after going through the datasheet of lpc4333 and the code(from the above link), i am not finding anything related to registers in the code

please guide me


regards
sanjeevudupi
0 项奖励
回复

1,295 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by nxp21346 on Wed Feb 13 14:43:34 MST 2013
Hi!

We have example GPIO drivers in our software packages on the web, take a look.

http://www.lpcware.com/content/nxpfile/lpc4350apdlzip
http://www.lpcware.com/content/nxpfile/lpcopen-platform

-Dave @ NXP
0 项奖励
回复