EasyManua.ls Logo

Elprotronic MSP430 - F_Disable_Fpa_Index; F_Enable_Fpa_Index

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:
INT_X MSPPRG_API F_Check_FPA_index ( void );
Return value:
current FPA index ( 0, 1 to 64)
or -2 (minus two) FPA_INVALID_NO
F_Disable_FPA_index
F_Disable_FPA_index - Disable desired FPA index (desired DLL instance)
VALID FPA index - ( 1 to 64 )
Function allows to disable communication with selected FPA adapter. From application point of
view, all responses will be the same as from the not active FPA. Communication with target devices
connected to selected FPA will be stopped. When the F_Set_FPA_index(0) will be used, then
selected FPA will be ignored. Result will not be presented in the Status results (Status and
F_LastStatus(..)).
Syntax:
void MSPPRG_API F_Disable_FPA_index ( BYTE fpa );
Parameters:
fpa -> 1 to MAX_FPA_INDEX where MAX_FPA_INDEX = 64
F_Enable_FPA_index
F_Enable_FPA_index - Enable desired FPA index (desired DLL instance)
VALID FPA index - ( 1 to 64 )
Function allows to enable communication with selected FPA adapter if the mentioned FPA has been
disabled using the function F_Disable_FPA_index(...). By default, all FPAs are enabled.
Syntax:
void MSPPRG_API F_Enable_FPA_index ( BYTE fpa );
Parameters:
fpa -> 1 to MAX_FPA_INDEX where MAX_FPA_INDEX = 64
45

Table of Contents