MSP430EEMTarget.cpp File Reference
#include "stdafx.h"
#include "MSP430EEMTarget.h"
#include <MSP430_EEM.h>
#include "SoftwareBreakpointManager.h"

Go to the source code of this file.

Macros

#define REPORT_AND_RETURN(msg, result)   { ReportLastMSP430Error(msg); return result; }
 
#define MAKE_BP_COOKIE(type, data)   (((type) & kBpCookieTypeMask) | ((data) & kBpCookieDataMask))
 

Enumerations

enum  {
  kBpCookieTypeMask = 0xF0000000, kBpCookieTypeHardware = 0x10000000, kBpCookieTypeSoftwareFLASH = 0x20000000, kBpCookieTypeSoftwareRAM = 0x30000000,
  kBpCookieDataMask = 0x0000FFFF
}
 
enum  MSP430_MSG {
  WMX_SINGLESTEP = WM_USER + 1, WMX_BREKAPOINT, WMX_STORAGE, WMX_STATE,
  WMX_WARNING, WMX_STOPPED
}
 

Macro Definition Documentation

#define MAKE_BP_COOKIE (   type,
  data 
)    (((type) & kBpCookieTypeMask) | ((data) & kBpCookieDataMask))

Definition at line 24 of file MSP430EEMTarget.cpp.

#define REPORT_AND_RETURN (   msg,
  result 
)    { ReportLastMSP430Error(msg); return result; }

Definition at line 8 of file MSP430EEMTarget.cpp.

Enumeration Type Documentation

anonymous enum
Enumerator:
kBpCookieTypeMask 
kBpCookieTypeHardware 
kBpCookieTypeSoftwareFLASH 
kBpCookieTypeSoftwareRAM 
kBpCookieDataMask 

Definition at line 18 of file MSP430EEMTarget.cpp.

enum MSP430_MSG
Enumerator:
WMX_SINGLESTEP 
WMX_BREKAPOINT 
WMX_STORAGE 
WMX_STATE 
WMX_WARNING 
WMX_STOPPED 

Definition at line 26 of file MSP430EEMTarget.cpp.