EasyManua.ls Logo

Elprotronic MSP430 - Page 53

Default Icon
119 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Syntax:
MSPPRG_API INT_X F_ConfigSetup( CONFIG_BLOCK config );
Return value:
0 - FALSE
1 - TRUE
-2 (0xFFFFFFFE) - FPA_INVALID_NO
typedef struct
{
INT_X Interface;
INT_X uProcIndex;
INT_X PowerTargetEn;
INT_X CommSpeedIndex;
INT_X ResetTimeIndex;
INT_X FlashEraseModeIndex;
INT_X EraseSegmA;
INT_X EraseSegmB;
LONG_X EraseFlashStartAddr;
LONG_X EraseFlashStopAddr;
INT_X FlashReadModeIndex;
INT_X ReadSegmA;
INT_X ReadSegmB;
LONG_X ReadStartAddr;
LONG_X ReadStopAddr;
INT_X VerifyModeIndex;
INT_X BlowFuseEn;
INT_X ApplicationStartEn;
INT_X BeepEnable;
INT_X EraseInfoSegmC;
INT_X EraseInfoSegmD;
INT_X DefEraseMainMemEn;
INT_X ReadInfoSegmC;
INT_X ReadInfoSegmD;
INT_X JtagSpeedIndex;
INT_X VccIndex;
LONG_X CustomResetPulseTime;
LONG_X CustomResetIdleTime;
INT_X RstVccToggleTime;
INT_X ApplResetVccTime;
} CONFIG_BLOCK;
Indexes used by the F_SetConfig and F_GetConfig functions
CFG_INTERFACE 0
CFG_MICROCONTROLLER 1 (See new function F_Set_MCU_Name(..))
CFG_POWERTARGETEN 2
CFG_COMMSPEED 3
53

Table of Contents