Access of port pin of MPC561

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Access of port pin of MPC561

Jump to solution
493 Views
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.

Labels (1)
0 Kudos
1 Solution
340 Views
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

View solution in original post

0 Kudos
2 Replies
341 Views
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 Kudos
340 Views
vikas_vsp
Contributor I

Thanks for reply..

 

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

0 Kudos