Access of port pin of MPC561

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

Access of port pin of MPC561

ソリューションへジャンプ
887件の閲覧回数
vikas_vsp
Contributor I

Hello,

 

I am new to MPC561 procesor and CodeWarrior IDE. I do want to use one port pin to toggle LED ON/OFF. How should I access port pin. Like other processor I am not able to find out any ".h" file for accessing register corrosponding to pin.

 

Please provide me any document if available.

ラベル(1)
0 件の賞賛
返信
1 解決策
734件の閲覧回数
J2MEJediMaster
Specialist I

There should be a header file that accomplishes that port-to-pin mapping provided with the CodeWarrior tools. Look at some of example code that comes with the CodeWarrior installation and see what header files they use.

 

---Tom

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
735件の閲覧回数
J2MEJediMaster
Specialist I

There should be a header file that accomplishes that port-to-pin mapping provided with the CodeWarrior tools. Look at some of example code that comes with the CodeWarrior installation and see what header files they use.

 

---Tom

0 件の賞賛
返信
734件の閲覧回数
vikas_vsp
Contributor I

Thanks for reply..

 

I have got header file from codewarrior web site. I am able to inlude same.

0 件の賞賛
返信