DEVICE_MEMDEF(0x07)
Fills the definition of a memory definition (index passed by InfoIdx) into lpBuf.
DEVICE_MEMPROTECT_COUNT(0x08)
GetDeviceCfgInfo() returns the number of
DEVICE_MEMPROTECT (0x09)
Fills the definition of a memory protection definition (index passed by InfoIdx) into lpBuf.
DEVICE_VCC(0x0A)
GetDeviceCfgInfo() returns the Vcc setting for selected device in mV; lpBuf and InfoIdx are ignored.
DEVICE_VPP(0x0B)
GetDeviceCfgInfo() returns the Vpp setting for selected device in mV; lpBuf and InfoIdx are ignored.
DEVICE_VFUSE(0x0C)
GetDeviceCfgInfo() returns the
/FN0024/ AccessSFR
long int AccessSFR(LONG wAddr, void *IpData, LONG iFlags);
This function writes or reads data into the special function registers of the MSP430 device. (implemented in PRGS320.dll versions 1.05 and higher).
wAddr: SFR address that should be accessed. Allowed values: 0x0000−0x1FE (see the memory map of the corresponding device)
IpData: Pointer to the data to be written, or buffer which should receive the read data
Flags: The bits in Flags control the operation of AccessSFR()
iFlags:
SFR_READ (0x00)
SFR_Write (0x01)
Example: IFuncReturn = AccessSFR(long:0x0020, &IpData, 0)