Element14 LPC4357 eval board example2 code for GPIO has incorrect comments

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

Element14 LPC4357 eval board example2 code for GPIO has incorrect comments

457件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by jcottier on Thu May 09 05:02:16 MST 2013
The code for GPIO blinky has incorrect comments on it which can lead to  utter confusion of how the GPIO and pin configuration works! :-


scu_pinmux(0xE ,7 , MD_PDN, FUNC4);     // P8.1 : USB0_IND1 LED

As per the Embset schematic, the LED is in fact connected to Pin PE.7, which is GPIO7.7 (GPIO = Function 4 on this pin).


Now, all the parameters make sense, and I still have some hair left.
0 件の賞賛
返信
0 返答(返信)