Which headerfile for mc9s12c32?

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

Which headerfile for mc9s12c32?

1,794 Views
Dietrich
Contributor II

This message contains an entire topic ported from a separate forum. The original message and all replies are in this single message. We have seeded this new forum with selected information that we expect will be of value to you as you search for answers to your questions.

 

Posted: Wed Jan 26, 2005 5:31am

 

Subject: Which headerfile for mc9s12c32? 

 

    Hello!

Which headerfile must be include for an mc9s12c32?
I will use PORTT and this one is't defined in mc9s12c32.h?

Exist there an other headerfile i can use?

Thanks for help!
---------------------------------------------------------------------

Posted: Wed Jan 26, 2005 5:50am


I don't know what compiler you are using. If you are using
Codewarrior, it is defined in that h-file, as the correct name PTT.

Note that Motorola has messed up the register names a bit:

Ports A,B and E are called PORTA, PORTB, PORTE, PORTK.
They are external bus ports, check manual "MEBI".

Ports T,S,M,J,P,H are called PTT, PTS, PTM, PTJ, PTP, PTH.
They belong to port integration module, check manual "PIM".
 
---------------------------------------------------------------------

Posted: Wed Jan 26, 2005 6:24am

 
    That was it!

Labels (1)
0 Kudos
0 Replies