Why there is no function

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

Why there is no function

877件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Mattoo on Thu Jul 28 12:47:25 MST 2011
allowing to get a GPIO pin in the LPC11xx library. There is a function to set a value but not the get function ?

How to achieve this ? All your suggestions are welcome ...

Thanks,

Mattoo
0 件の賞賛
返信
3 返答(返信)

871件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ferix on Thu Jul 28 16:09:48 MST 2011
take a look at this, it works perfect for me:
http://knowledgebase.nxp.com/showthread.php?t=259
0 件の賞賛
返信

871件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Mattoo on Thu Jul 28 13:05:21 MST 2011
Thank you man , i will test it tomorrow.

Mattoo
0 件の賞賛
返信

871件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Thu Jul 28 13:01:16 MST 2011
Read bit 7 of GPIO1:
 if(LPC_GPIO1->DATA  & (1<<7))
 ...
0 件の賞賛
返信