88 #ifndef MSP430_DEBUG_H 89 #define MSP430_DEBUG_H 93 #if defined(__cplusplus) 97 #ifndef MSP430_DEBUG_TYPES 98 #define MSP430_DEBUG_TYPES 156 #define MASKREG(REG) (1 << REG) 157 #define ALL_REGS 0xffffffff 209 #if ! defined(uController) 273 #endif // end of def uController 284 #define TCE_SMCLK (1 << 0) 286 #define ST_ACLK (1 << 1) 287 #define ST_SMCLK (1 << 2) 288 #define TCE_MCLK (1 << 3) 289 #define JT_FLLO (1 << 4) 290 #define ST_TACLK (1 << 5) 292 #define ECLK_SYN (1 << 0) 294 //#define ST_ACLK (1 << 1) 295 //#define ST_SMCLK (1 << 2) 296 #define ST_MCLK (1 << 3) 297 //#define JT_FLLO (1 << 4) 298 #define FORCE_SYN (1 << 5) 320 #define EEM_EN (1 << 0) 323 #define CLEAR_STOP (1 << 1) 325 #define EMU_CLK_EN (1 << 2) 327 #define EMU_FEAT_EN (1 << 3) 329 #define DEB_TRIG_LATCH (1 << 4) 334 #define EEM_STOPPED (1 << 7) 337 #define EMU_MODE_F44X_100 0x0000 338 #define EMU_MODE_F43X_100 0x4000 340 #define EMU_MODE_F4XX_64 0x5000 342 #define EMU_MODE_F4XX_80 0x6000 373 #define MSP430_Read_Registers(REGISTERS, MASK) MSP430_Registers(REGISTERS, MASK, READ) 374 #define MSP430_Write_Registers(REGISTERS, MASK) MSP430_Registers(REGISTERS, MASK, WRITE) 394 #define MSP430_Read_ExtRegister(ADDRESS, BUFFER) MSP430_ExtRegisters(ADDRESS, BUFFER,1 ,READ) 395 #define MSP430_Write_ExtRegister(ADDRESS, BUFFER) MSP430_ExtRegisters(ADDRESS, BUFFER, 1, WRITE) 422 #define MSP430_Read_Register(REG, REGNB) MSP430_Register(REG, REGNB, READ) 423 #define MSP430_Write_Register(REG, REGNB) MSP430_Register(REG, REGNB, WRITE) 553 #if ! defined(uController) 559 #if defined(__cplusplus) 563 #endif // MSP430_DEBUG_H Definition: MSP430_Debug.h:142
Device Emex module has 2 breakpoints and range comparison.
Definition: MSP430_Debug.h:188
Definition: MSP430_Debug.h:138
const char * GENCLKCTRL4
Definition: MSP430_Debug.h:226
Device Emex module has eight breakpoints, range comparison, state storage, and trigger sequencer...
Definition: MSP430_Debug.h:186
Definition: MSP430_Debug.h:144
DEVICE_REGISTERS
Temporary work-around to #defines in stdconst.h (and others)
Definition: MSP430_Debug.h:125
const char * MCLKCTRL09
Definition: MSP430_Debug.h:244
Definition: MSP430_Debug.h:139
const char * MCLKCTRL07
Definition: MSP430_Debug.h:246
RUN_MODES
Run modes.
Definition: MSP430_Debug.h:161
const char * MCLKCTRL1A
Definition: MSP430_Debug.h:261
Definition: MSP430_Debug.h:206
const char * MCLKCTRL00
Definition: MSP430_Debug.h:253
Definition: MSP430_Debug.h:196
Definition: MSP430_Debug.h:140
const char * MCLKCTRL17
Definition: MSP430_Debug.h:264
DLL430_SYMBOL STATUS_T WINAPI MSP430_State(int32_t *state, int32_t stop, int32_t *pCPUCycles)
Determine the state of the device. The device is optionally stopped. During single step operations...
enum DEVICE_REGISTERS DEVICE_REGISTERS_t
Temporary work-around to #defines in stdconst.h (and others)
This file contains the Application Programming Interface (API) to access an MSP430 microcontroller vi...
Definition: MSP430_Debug.h:130
Device Emex module has 4 breakpoints and range comparison.
Definition: MSP430_Debug.h:190
Definition: MSP430_Debug.h:131
Definition: MSP430_Debug.h:195
const char * MCLKCTRL04
Definition: MSP430_Debug.h:249
const char * GENCLKCTRLB
Definition: MSP430_Debug.h:219
const char * MCLKCTRL15
Definition: MSP430_Debug.h:266
enum RUN_MODES RUN_MODES_t
Run modes.
const char * MCLKCTRL1F
MCLKCTRL1F to MCLKCTRL10 reflect the bit description strings for MCLKCTRL1.
Definition: MSP430_Debug.h:256
const char * MCLKCTRL08
Definition: MSP430_Debug.h:245
Definition: MSP430_Debug.h:136
Device has no Emex module.
Definition: MSP430_Debug.h:180
Definition: MSP430_Debug.h:171
DLL430_SYMBOL STATUS_T WINAPI MSP430_Registers(int32_t *registers, int32_t mask, int32_t rw)
const char * GENCLKCTRL0
Definition: MSP430_Debug.h:230
const char * MCLKCTRL03
Definition: MSP430_Debug.h:250
Definition: MSP430_Debug.h:203
Definition: MSP430_Debug.h:213
DLL430_SYMBOL STATUS_T WINAPI MSP430_Run(int32_t mode, int32_t releaseJTAG)
Run the device using the specified mode. JTAG control signals are optionally released.
EMEX_MODE
One of the following enumerations is returned in device.emulation.
Definition: MSP430_Debug.h:178
const char * GENCLKCTRL8
Definition: MSP430_Debug.h:222
const char * GENCLKCTRLA
Definition: MSP430_Debug.h:220
const char * MCLKCTRL0C
Definition: MSP430_Debug.h:241
const char * MCLKCTRL1C
Definition: MSP430_Debug.h:259
Definition: MSP430_Debug.h:128
Device Emex module has 6 breakpoints, range comparison and trigger sequencer,.
Definition: MSP430_Debug.h:192
const char * MCLKCTRL0F
MCLKCTRL0F to MCLKCTRL00 reflect the bit description strings for MCLKCTRL0.
Definition: MSP430_Debug.h:238
const char * MCLKCTRL0E
Definition: MSP430_Debug.h:239
Definition: MSP430_Debug.h:129
const char * GENCLKCTRL2
Definition: MSP430_Debug.h:228
const char * MCLKCTRL02
Definition: MSP430_Debug.h:251
Definition: MSP430_Debug.h:126
const char * MCLKCTRL06
Definition: MSP430_Debug.h:247
const char * MCLKCTRL19
Definition: MSP430_Debug.h:262
const char * MCLKCTRL11
Definition: MSP430_Debug.h:270
const char * MCLKCTRL14
Definition: MSP430_Debug.h:267
Definition: MSP430_Debug.h:134
DLL430_SYMBOL STATUS_T WINAPI MSP430_ExtRegisters(int32_t address, uint8_t *buffer, int32_t count, int32_t rw)
const char * MCLKCTRL1B
Definition: MSP430_Debug.h:260
enum EMEX_MODE EMEX_MODE_t
One of the following enumerations is returned in device.emulation.
const char * GENCLKCTRL1
Definition: MSP430_Debug.h:229
const char * MCLKCTRL0B
Definition: MSP430_Debug.h:242
const char * MCLKCTRL0A
Definition: MSP430_Debug.h:243
const char * GENCLKCTRLF
MCLKCTRL0F to MCLKCTRL00 reflect the bit description strings for MCLKCTRL0.
Definition: MSP430_Debug.h:215
STATE_MODES
State modes.
Definition: MSP430_Debug.h:168
const char * GENCLKCTRLD
Definition: MSP430_Debug.h:217
struct EEM_MCLKCTRL EemMclkCtrl_t
Definition: MSP430_Debug.h:162
Definition: MSP430_Debug.h:169
const char * MCLKCTRL01
Definition: MSP430_Debug.h:252
const char * MCLKCTRL18
Definition: MSP430_Debug.h:263
Definition: MSP430_Debug.h:127
Definition: MSP430_Debug.h:145
const char * MCLKCTRL0D
Definition: MSP430_Debug.h:240
Definition: MSP430_Debug.h:172
Definition: MSP430_Debug.h:236
Device Emex module has two breakpoints.
Definition: MSP430_Debug.h:182
enum STATE_MODES STATE_MODES_t
State modes.
Definition: MSP430_Debug.h:133
const char * MCLKCTRL13
Definition: MSP430_Debug.h:268
const char * MCLKCTRL1E
Definition: MSP430_Debug.h:257
Definition: MSP430_Debug.h:137
Definition: MSP430_Debug.h:143
Definition: MSP430_Debug.h:174
const char * MCLKCTRL10
Definition: MSP430_Debug.h:271
const char * GENCLKCTRL9
Definition: MSP430_Debug.h:221
Definition: MSP430_Debug.h:163
DLL430_SYMBOL STATUS_T WINAPI MSP430_CcGetModuleNames(int32_t localDeviceId, EemMclkCtrl_t **CcModuleNames)
Returns the string descriptions of the devices' EEM Module Clock Control registers MCLKCTRL0 and MCLK...
int32_t STATUS_T
this is the definition for the DLL functions return value
Definition: MSP430.h:181
Definition: MSP430_Debug.h:173
DEVICE_CLOCK_CONTROL
One of the following enumerations is returned in device.clockControl.
Definition: MSP430_Debug.h:202
Definition: MSP430_Debug.h:141
DLL430_SYMBOL STATUS_T WINAPI MSP430_Register(int32_t *reg, int32_t regNb, int32_t rw)
Read and write only one register of the device.
Device Emex module has three breakpoints and range comparison.
Definition: MSP430_Debug.h:184
const char * GENCLKCTRL5
Definition: MSP430_Debug.h:225
const char * MCLKCTRL05
Definition: MSP430_Debug.h:248
const char * GENCLKCTRL6
Definition: MSP430_Debug.h:224
Device Emex module has 8 or 10 breakpoints, range comparison, state storage, and trigger sequencer...
Definition: MSP430_Debug.h:194
const char * GENCLKCTRLC
Definition: MSP430_Debug.h:218
DLL430_SYMBOL STATUS_T WINAPI MSP430_CcGetClockNames(int32_t localDeviceId, EemGclkCtrl_t **CcClockNames)
Returns the string descriptions of the devices' EEM General Clock Control register GENCLKCNTRL...
struct EEM_GCLKCTRL EemGclkCtrl_t
const char * GENCLKCTRL3
Definition: MSP430_Debug.h:227
const char * MCLKCTRL12
Definition: MSP430_Debug.h:269
Definition: MSP430_Debug.h:164
Definition: MSP430_Debug.h:170
const char * GENCLKCTRLE
Definition: MSP430_Debug.h:216
enum DEVICE_CLOCK_CONTROL DEVICE_CLOCK_CONTROL_t
One of the following enumerations is returned in device.clockControl.
const char * MCLKCTRL16
Definition: MSP430_Debug.h:265
const char * MCLKCTRL1D
Definition: MSP430_Debug.h:258
const char * GENCLKCTRL7
Definition: MSP430_Debug.h:223
Definition: MSP430_Debug.h:135
Definition: MSP430_Debug.h:204
Definition: MSP430_Debug.h:132
Definition: MSP430_Debug.h:205