Main Content

Control Function Available Caller

Call AUTOSAR Function Inhibition Manager (FiM) service interface ControlFunctionAvailable

Since R2020a

  • Control Function Available Caller block

Libraries:
AUTOSAR Blockset / Classic Platform / Basic Software / Function Inhibition Manager (FiM)

Description

For the AUTOSAR Classic Platform, the AUTOSAR standard defines important services as part of Basic Software (BSW) that runs in the AUTOSAR Runtime Environment (RTE). Examples include services provided by the Diagnostic Event Manager (Dem), the Function Inhibition Manager (FiM), and the NVRAM Manager (NvM). In the AUTOSAR RTE, AUTOSAR software components typically access BSW services using client-server communication.

To support system-level modeling and simulation of AUTOSAR components and services, AUTOSAR Blockset provides an AUTOSAR Basic Software block library. The library contains preconfigured blocks for modeling component calls to AUTOSAR BSW services and reference implementations of the BSW services.

As defined in the AUTOSAR specification, the Function Inhibition Manager provides a control mechanism for selectively inhibiting (deactivating) function execution in software component runnables based on function identifiers (FIDs) with inhibit conditions.

The Function Inhibition Manager is closely related to the Diagnostic Event Manager because inhibiting conditions can be based on the status of diagnostic events. The Control Function Available Caller block calls the FiM service interface ControlFunctionAvailable to initiate the SetFunctionAvailable operation.

Parameters

expand all

Enter the name of the client port the AUTOSAR software component uses to call the FiM service interface FiM_ControlFunctionAvailable.

This block supports the FiM operation SetFunctionAvailable and generates inports and outports for the operation. Passing a true value marks the function associated with the client port as available, a false value marks the function as not available. A GetPermission operation (Function Inhibition Caller block) associated with a function that is not available returns false.

The Operation parameter must be set to an operation supported by the schema currently specified by the model. The list of operations on the block parameters dialog reflects the operations supported by the current schema.

Block sample time. The default sets the block to inherit its sample time from the model.

Extended Capabilities

C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.

Version History

Introduced in R2020a

expand all