New and changed headers for MSP430F54xx

View: New views
1 Messages — Rating Filter:   Alert me  

New and changed headers for MSP430F54xx

by JMGross :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi!

Over the last days I have worked on my new 5438 and I discovered that the header files (even the latest versions in CVS) are incomplete and/or buggy.
So I have added/changed the necessary defines for some parts as Timer A0/A1/B, CRC16 16bit GPIO ports and the clock system.

Main problem is that hardware modules in the 54xx family are far more modular than before. So different Ax timers differ only in base address and number of CCR registers. And TimerB is almost identical too. One
cannot and should not simply add more fixed definitions.
I think the whole header file structure should be redesigned and rewritten. By defining the number of CCRs per Timer or even writing a Macro that is invoked with name of the timer and number of CCRs etc.

In the meantime my headers seem to work well, but I haven't checked for side-effects with other processors, so maybe I have missed something.

So if someone can look through the changes (mostly the #if defined parts) for obvious side-effects I might have msised, and then check them into CVS...


JMGross

--
Dipl.-Ing. Jens-Michael Gross
Entwicklung und Produktion

Convia GmbH
Erich-Steinfurth-Str.6
10243 Berlin
Amtsgericht Berlin Charlottenburg
HRB 84137
Geschaeftsfuehrung: Silvio Esser

Tel:       030-72014837
Durchwahl: +49-(0)30-75651669
Fax:       +49-(0)30 -72014839


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@...
https://lists.sourceforge.net/lists/listinfo/mspgcc-users