Function Inhibition Caller
Call AUTOSAR Function Inhibition Manager (FiM) service interface
AUTOSAR Blockset / Classic Platform / Basic Software / Function Inhibition Manager (FiM)
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 by 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 Function Inhibition
Caller block calls the FiM service interface
FunctionInhibition to initiate
Client port name — Name of client port AUTOSAR component uses to call FiM service interface
FiM_FunctionInhibition (default) | character vector
Enter the name of the client port the AUTOSAR software component uses to call the
FiM service interface
Operation — Specify operation defined in FiM service interface
This block supports the FiM operation
generates inports and outports for this operation. This operation queries the Function
Inhibition Manager to check if it has permission to run associated functionality.
Permissions are based on the inhibition configuration created by using the Diagnostic
Service Component block. The operation returns true if the functionality has permission
or false if the functionality is inhibited.
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.
Sample time — Block sample time
-1 (default) | scalar
Block sample time. The default sets the block to inherit its sample time from the model.
C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.
Version HistoryIntroduced in R2020a
R2023a: Basic Software caller blocks support all AUTOSAR schema versions
Starting in 23a, Basic Software caller (BSW) blocks support all AUTOSAR schema versions supported by AUTOSAR Blockset. The BSW blocks inherit the same schema version specified by the model. Code and ARXML generated from the component reflect the schema version specified on the model. When you change the schema version specified by the model, the software automatically replaces software calls to the correct operation. In some cases, the software may prompt you to confirm a change when moving between schema versions.