MSP430x4xx Family User's Guide said that Comparator_A is implemented in all
MSP430x4xx devices. 

 

However, when I compiled my source file with mspgcc, I got the message that
Comp registers are undeclared.

 

The problem was Msp430xG461x.h does not include compa.h file.

 

This msp430xG461x header file should include msp430/compa.h.

 

 

--

Yours faithfully, 

Minkeun Ha 

 

Real-time & Embedded System Lab

National Research Lab of MOST, Auto-ID Labs Korea

Information & Communications University (ICU)

Email: [email protected], [email protected]

Mobile : 82-11-775-5919 (South Korea)

 

Reply via email to