app/demo-sn-gpio/sapl/sapl.c
/**
 * @brief This function is a callback function which is provided by the openSAFETY Application. The function is called by the
 * openSAFETY Stack (unit SNMTS) to check whether the "parameter set" downloaded by the SCM is already processed.
 *
 * @param        b_instNum        instance number, valid range: 0 .. &lt;EPLS_cfg_MAX_INSTANCES&gt; - 1
 *
 * @return
 * - TRUE           - "parameter set" is already processed
 * - FALSE          - "parameter set" is not processed
 */
@brief This function is a callback function which is provided by the openSAFETY Application. The function is called by the
openSAFETY Stack (unit SNMTS) to check whether the "parameter set" downloaded by the SCM is already processed.

@param        b_instNum        instance number, valid range: 0 ..

@return
- TRUE           - "parameter set" is already processed
- FALSE          - "parameter set" is not processed
@brief This function is a callback function which is provided by the openSAFETY Application . The function is called by the openSAFETY Stack ( unit SNMTS ) to check whether the " parameter set " downloaded by the SCM is already processed . @param b_instNum instance number valid range : 0 .. @return - TRUE - " parameter set " is already processed - FALSE - " parameter set " is not processed
BOOLEAN SAPL_SNMTS_ParameterSetProcessed(BYTE_B_INSTNUM)
{
    BOOLEAN procFin = FALSE;
#if (EPLS_cfg_MAX_INSTANCES > 1)
    UNUSED_PARAMETER(b_instNum);    
#endif
    if((saplInstance_l.activeTasks_m & SAPL_TASK_PROCESS_PARAM_SET_PARSE_MASK) == 0)
    {
        procFin = TRUE;
    }
    return procFin;
}
BOOLEAN SAPL_SNMTS_ParameterSetProcessed ( BYTE_B_INSTNUM ) { BOOLEAN procFin = FALSE ; #if ( EPLS_cfg_MAX_INSTANCES > 1 ) UNUSED_PARAMETER ( b_instNum ) ; #endif if ( ( saplInstance_l . activeTasks_m & SAPL_TASK_PROCESS_PARAM_SET_PARSE_MASK ) == 0 ) { procFin = TRUE ; } return procFin ; }
@brief This function is a callback function which is provided by the openSAFETY Application.
@brief This function is a callback function which is provided by the openSAFETY Application .
/* to avoid warnings */ /* Indicate processing finished */