EasyManua.ls Logo

Elprotronic MSP430 - F_Power_Target

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_ConfigFileLoad( char * filename );
MSPPRG_API INT_X F_Config_FileLoad( CString filename );
filename - configuration file name including path, file name and extention
Return value:
0 - FALSE
1 - TRUE
(0xFFFe & info) | state
where state is defined as follows:
0 - FALSE
1 - TRUE
-2 (0xFFFFFFFE) - FPA_INVALID_NO
info is defined as follows:
error -> OPEN_FILE_OR_READ_ERR
note: F_Config_FileLoad is available only when the Multi-FPA dll is used.
Configuration file can be created using the FlasgPro430 GUI software. Run FlashPro430 software,
select desired configuration and save the file using option Save Setup as..and_file_name
Specified parameters in the configuration file can be listed in any order. Configuration file can
specified few or all parameters. Parameter name and value must be separated by minimum one white
character like space or tabulation. See the configuration file created by the FlashPro430 software for
details. Use the Notepad to open the configuration file..
Example:
st = F_ConfigFileLoad( “c:\test\configfile.cfg” );
if(( st & 1 ) == TRUE )
{
....................
}
else
{
Info = st & 0xFFFE;
....................
....................
}
F_Power_Target
F_Power_Target - Turn ON or OFF power from programming adapter to target device.
VALID FPA index - ( 1 to 64 ) or 0 (ALL FPAs) executed sequentially.
72

Table of Contents