ECU Abstraction: I/O Hardware Abstraction
The I/O Hardware Abstraction is a group of modules which abstracts from the location of peripheral I/O devices (on-chip or on-board) and the ECU hardware layout (e.g. µC pin connections and signal level inversions). The I/O Hardware Abstraction does not abstract from the sensors/actuators!
The different I/O devices might be accessed via an I/O signal interface.
Task:
Represent I/O signals as they are connected to the ECU hardware (e.g. current, voltage, frequency). Hide ECU hardware and layout properties from higher software layers.
Properties:
Implementation: µC independent, ECU hardware dependent
Upper Interface: µC and ECU hardware independent, dependent on signal type specified and implemented according to AUTOSAR (AUTOSAR interface)
译文:
I/O硬件抽象是一组模块,它从外围I/O设备(芯片上或板载)和ECU硬件布局(例如,微控制器(µC)引脚连接和信号电平反转)的位置中进行抽象。但I/O硬件抽象并不对传感器/执行器进行抽象!
不同的I/O设备可能通过I/O信号接口进行访问。
任务:
表示I/O信号如何连接到ECU硬件(例如,电流、电压、频率)。对上层软件隐藏ECU硬件和布局属性。
属性:
实现:与µC无关,与ECU硬件相关
上层接口:与µC和ECU硬件无关,与指定的信号类型相关,并根据AUTOSAR(AUTOSAR接口)进行实现
1 Introduction and functional overview
This specification specifies the functionality and the configuration of the AUTOSAR Basic Software I/O Hardware Abstraction. The I/O Hardware Abstraction is part of the ECU Abstraction Layer.
The I/O Hardware Abstraction shall not be considered as a single module, as it can be implemented as more than one module. This specification for the I/O Hardware Abstraction is not intended to standardize this module or group of modules. Instead, it is intended to be a guideline for the implementation of its functional interfaces with other modules.
Aim of the I/O Hardware Abstraction is to provide access to MCAL drivers by mapping I/O Hardware Abstraction ports to ECU signals. The data provided to the software component is completely abstracted from the physical layer values. Therefore, the software component designer does not need detailed knowledge about the MCAL driver's API and the units of the physical layer values anymore.
The I/O Hardware Abstraction is always an ECU specific implementation, because the requirements of the software components to the basic software have to be fitted to the features of a certain MCAL implementation.
The I/O Hardware Abstraction shall provide the service for initializing the whole I/O Hardware Abstraction.
The intention of this document is:
- to determine which par