EasyManua.ls Logo

Elprotronic MSP430 - F_Laststatus; F_Multi_Dlltypever

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...
F_LastStatus
F_LastStatus - Get current FPA index
VALID FPA index - ( 1 to 64 )
Syntax:
INT_X MSPPRG_API F_LastStatus ( BYTE fpa );
Parameters:
fpa - FPA index of the desired status
fpa index -> 1..64
Return value:
Last status from the desired FPAs
All F_xxx functions returns the same parameters (status) as the original API_DLL is returning.
When function is transferred to all API-DLLs (when the fpa=0) then returned parameter (status)
is the same as the returned value from the API-DLLs when the ALL returned values ARE THE
SAME. If not, then returned value is
FPA_UNMATCHED_RESULTS
(value of the FPA_UNMATCHED_RESULTS is minus 1).
To get the returned values from each FPAs, use the
For( n=1; n<=64; n++) status[n] = F_LastStatus( n);
where n -> desired FPA index
and get the last status data from FPA-1, 2, .. up to .64
F_Multi_DLLTypeVer
F_Multi_DLLTypeVer function returns integer number with DLL ID and software revision
version.
Syntax:
MSPPRG_API INT_X F_Multi_DLLTypeVer( void );
Return value:
VALUE = (DLL ID) | ( 0x0FFF & Version)
DLL ID = 0x1000 - Single-DLL for the FlashPro430 - Parallel Port
DLL ID = 0x2000 - Single-DLL for the FlashPro430 - USB
DLL ID = 0x3000 - Single-DLL for the GangPro430 - USB
DLL ID = 0x6000 - Multi-DLL for the FlashPro430
DLL ID = 0x7000 - Multi-DLL for the GangPro 430
46

Table of Contents