Access of port pin of MPC561

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

Access of port pin of MPC561

跳至解决方案
891 次查看
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 解答
738 次查看
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 回复数
739 次查看
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 项奖励
回复
738 次查看
vikas_vsp
Contributor I

Thanks for reply..

 

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

0 项奖励
回复