AUTOSAR Communication
The communication interface of an AUTOSAR software-component consists of well-defined ports. An AUTOSAR component communicates through its ports with other AUTOSAR software components or Basic Software (BSW) services. A port provides information to, or requires information from, its communication partners. Each port owned by the component maps to a communication interface, based on the component functional requirements, for example:
Sender-receiver (S-R) interface, for message passing
Client-server (C-S) interface, for function invocation
Mode-switch (M-S) interface, for managing mode-based execution
Nonvolatile (NV) data interface, for port-based access to NV data
Parameter interface, for port-based access to parameter data
Trigger interface, for managing trigger-based execution
To configure AUTOSAR communication for a component port, you create an AUTOSAR interface, map the port to the interface, and map Simulink®elements, such as a root inport or outport, to the AUTOSAR port, as required by the type of interface. Use the AUTOSAR Dictionary and the Code Mappings editor or equivalent AUTOSAR property and map functions.
Blocks
Signal Invalidation | Control AUTOSAR root outport data element invalidation |
Functions
getFunction |
Get AUTOSAR mapping information for万博1manbetxentry-point function |
getFunctionCaller |
Get AUTOSAR mapping information for万博1manbetxfunction-caller block |
getInport |
Get AUTOSAR mapping information for万博1manbetxinport |
getOutport |
Get AUTOSAR mapping information for万博1manbetxoutport |
mapFunction |
Map万博1manbetxentry-point function to AUTOSAR runnable and software address methods |
mapFunctionCaller |
Map万博1manbetxfunction-caller block to AUTOSAR client port and operation |
mapInport |
Map万博1manbetxinport to AUTOSAR port |
mapOutport |
Map万博1manbetxoutport to AUTOSAR port |
overflowed |
Determine when a message queue overflows |
Topics
- Configure AUTOSAR Sender-Receiver Communication
使用基于端口的发送者通信读取和编写Autosar数据。
- Configure AUTOSAR Queued Sender-Receiver Communication
Read and write queued AUTOSAR data by using port-based sender-receiver communication.
- Configure AUTOSAR Ports By Using Simulink Bus Ports
Model AUTOSAR ports by using SimulinkIn Bus ElementandOut Bus Elementblocks.
- Configure AUTOSAR Client-Server Communication
使用Autosar客户端和服务器运行万博1manbetx仿真软件的功能and功能呼叫者blocks.
- Configure AUTOSAR Mode-Switch Communication
Define AUTOSAR modes and mode elements to activate runnables in response to system mode changes.
- Configure AUTOSAR Nonvolatile Data Communication
Read and write AUTOSAR nonvolatile (NV) data by using port-based NV data communication.
- Configure AUTOSAR Port Parameters for Communication with Parameter Component
Configure AUTOSAR parameter receiver component for port-based access to parameter data.
- Configure Receiver for AUTOSAR External Trigger Event Communication
Define trigger interface that activates AUTOSAR runnables in response to external trigger events.