swallen wrote:
WDT_A register is defined wrong per the datasheet ().

from the listing:
00000150 l       *ABS*  00000000 WDTCTL

from datasheet (SLAS612–SEPTEMBER 2008):

REGISTER BASE OFFSET
WDTCTL  0150h 0Ch (=0x15C)

Yes, you are right. Wrong offset in wdt_a.h. Fixed in repository:
http://mspgcc.cvs.sourceforge.net/viewvc/mspgcc/msp430-libc/include/msp430/wdt_a.h?r1=1.3&r2=1.4

--
Regards,
  Sergey A. Borshch            mailto: [email protected]
    SB ELDI ltd. Riga, Latvia


Reply via email to