i have added some alias definitions to the header files. the intention is that
reading sourcode that uses these gets easier and does
not require to have a databook aside to understand all the bits.
for example you can now specify OUTMOD_SET_RESET instead of OUTMOD_3 (or even
OUTMOD1|OUTMOD0) or
TASSEL_SMCLK in place of TASSEL_2.
and i added these:U0ME, U0IE, U0IFG. quote of the comment in msp430/usart.h:
/*UART0 ME/IE/IFG is different on F12x and F13x/F14x devices.
With these defines, the right sfrs are choosen automaticaly.
These defines should only be used with bit set and clear
instructions as the real ME/IE/IFG sfrs might be modified
somewhere else too!
e.g.:
ME1 = ME1_INIT; //enable all other modules first
ME2 = ME2_INIT; //enable all other modules first
U0ME |= UTXE0|URXE0; //and then the USART0
*/
if you want to know whats all new, search the header files for this: /*aliases
by mspgcc*/, i've added the new names below that
comment. (affected files are: basic_clock.h common.h compa.h flash.h timera.h
timerb.h usart.h)
hope it helps :-)
chris