1 基础软件模块清单
AUTOSAR 4.4.0 中所有标准化基础软件(BSW)模块及其归属层级如下表所示。"模块 ID"为 uint16 类型常量。
| 模块简称 | 模块缩写(API 服务前缀) | 模块 ID(uint16) | 规范文档 | AUTOSAR 软件层 |
|---|---|---|---|---|
| ADC Driver(ADC 驱动) | Adc | 123 | AUTOSAR_SWS_ADCDriver.pdf | I/O Drivers(I/O 驱动) |
| BSW Mode Manager(BSW 模式管理器) | BswM | 042 | AUTOSAR_SWS_BSWModeManager.pdf | System Services(系统服务) |
| BSW Scheduler Module(BSW 调度器) | SchM | 130 | "自 R4.0 起合并入 RTE" | System Services |
| Bus Mirroring(总线镜像) | Mirror | 048 | AUTOSAR_SWS_BusMirroring.pdf | Communication Services(通信服务) |
| CAN Driver(CAN 驱动) | Can | 080 | AUTOSAR_SWS_CANDriver.pdf | Communication Drivers(通信驱动) |
| CAN Interface(CAN 接口) | CanIf | 060 | AUTOSAR_SWS_CANInterface.pdf | Communication HW Abstraction(通信硬件抽象) |
| CAN Network Management(CAN 网络管理) | CanNm | 031 | AUTOSAR_SWS_CANNetworkManagement.pdf | Communication Services |
| CAN State Manager(CAN 状态管理器) | CanSM | 140 | AUTOSAR_SWS_CANStateManager.pdf | Communication Services |
| CAN Transceiver Driver(CAN 收发器驱动) | CanTrcv | 070 | AUTOSAR_SWS_CANTransceiverDriver.pdf | Communication HW Abstraction |
| CAN Transport Layer(CAN 传输层) | CanTp | 035 | AUTOSAR_SWS_CANTransportLayer.pdf | Communication Services |
| COM(通信) | Com | 050 | AUTOSAR_SWS_COM.pdf | Communication Services |
| COM Based Transformer(基于 COM 的转换器) | ComXf | 175 | AUTOSAR_SWS_COMBasedTransformer.pdf | Communication Services |
| COM Manager(COM 管理器) | ComM | 012 | AUTOSAR_SWS_COMManager.pdf | System Services |
| Complex Drivers(复杂驱动) | no prefix (AUTOSAR interface) | 255 | 不适用 | Complex Drivers(复杂驱动层) |
| Core Test(内核测试) | CorTst | 103 | AUTOSAR_SWS_CoreTest.pdf | Microcontroller Drivers(微控制器驱动) |
| Crypto Driver(加密驱动) | Crypto | 114 | AUTOSAR_SWS_CryptoDriver.pdf | Crypto Drivers(加密驱动) |
| Crypto Interface(加密接口) | CryIf | 112 | AUTOSAR_SWS_CryptoInterface.pdf | Crypto HW Abstraction(加密硬件抽象) |
| Crypto Service Manager(加密服务管理器) | Csm | 110 | AUTOSAR_SWS_CryptoServiceManager.pdf | Crypto Services(加密服务) |
| Default Error Tracer(默认错误追踪器) | Det | 015 | AUTOSAR_SWS_DefaultErrorTracer.pdf | System Services |
| Diagnostic Communication Manager(诊断通信管理器) | Dcm | 053 | AUTOSAR_SWS_DiagnosticCommunicationManager.pdf | Communication Services |
| Diagnostic Event Manager(诊断事件管理器) | Dem | 054 | AUTOSAR_SWS_DiagnosticEventManager.pdf | System Services |
| Diagnostic Log and Trace(诊断日志与跟踪) | Dlt | 055 | AUTOSAR_SWS_DiagnosticLogAndTrace.pdf | Communication Services |
| Diagnostic over IP(基于 IP 的诊断) | DoIP | 173 | AUTOSAR_SWS_DiagnosticOverIP.pdf | Communication Services |
| DIO Driver(DIO 驱动) | Dio | 120 | AUTOSAR_SWS_DIODriver.pdf | I/O Drivers |
| E2E Transformer(端到端转换器) | E2EXf | 176 | AUTOSAR_SWS_E2ETransformer.pdf | Communication Services |
| ECU State Manager(ECU 状态管理器) | EcuM | 010 | AUTOSAR_SWS_ECUStateManager.pdf | System Services |
| EEPROM Abstraction(EEPROM 抽象) | Ea | 040 | AUTOSAR_SWS_EEPROMAbstraction.pdf | Memory HW Abstraction(内存硬件抽象) |
| EEPROM Driver(EEPROM 驱动) | Eep | 090 | AUTOSAR_SWS_EEPROMDriver.pdf | Memory Drivers(内存驱动) |
| Ethernet Driver(以太网驱动) | Eth | 088 | AUTOSAR_SWS_EthernetDriver.pdf | Communication Drivers |
| Ethernet Interface(以太网接口) | EthIf | 065 | AUTOSAR_SWS_EthernetInterface.pdf | Communication HW Abstraction |
| Ethernet State Manager(以太网状态管理器) | EthSM | 143 | AUTOSAR_SWS_EthernetStateManager.pdf | Communication Services |
| Ethernet Switch Driver(以太网交换机驱动) | EthSwt | 089 | AUTOSAR_SWS_EthernetSwitchDriver.pdf | Communication HW Abstraction |
| Ethernet Transceiver Driver(以太网收发器驱动) | EthTrcv | 073 | AUTOSAR_SWS_EthernetTransceiverDriver.pdf | Communication HW Abstraction |
| Flash Driver(Flash 驱动) | Fls | 092 | AUTOSAR_SWS_FlashDriver.pdf | Memory Drivers |
| Flash EEPROM Emulation(Flash EEPROM 仿真) | Fee | 021 | AUTOSAR_SWS_FlashEEPROMEmulation.pdf | Memory HW Abstraction |
| Flash Test(Flash 测试) | FlsTst | 104 | AUTOSAR_SWS_FlashTest.pdf | Memory Drivers |
| FlexRay AUTOSAR Transport Layer(FlexRay AUTOSAR 传输层) | FrArTp | 038 | AUTOSAR_SWS_FlexRayARTransportLayer.pdf | Communication Services |
| FlexRay Driver(FlexRay 驱动) | Fr | 081 | AUTOSAR_SWS_FlexRayDriver.pdf | Communication Drivers |
| FlexRay Interface(FlexRay 接口) | FrIf | 061 | AUTOSAR_SWS_FlexRayInterface.pdf | Communication HW Abstraction |
| FlexRay ISO Transport Layer(FlexRay ISO 传输层) | FrTp | 036 | AUTOSAR_SWS_FlexRayISOTransportLayer.pdf | Communication Services |
| FlexRay Network Management(FlexRay 网络管理) | FrNm | 032 | AUTOSAR_SWS_FlexRayNetworkManagement.pdf | Communication Services |
| FlexRay State Manager(FlexRay 状态管理器) | FrSM | 142 | AUTOSAR_SWS_FlexRayStateManager.pdf | Communication Services |
| FlexRay Transceiver Driver(FlexRay 收发器驱动) | FrTrcv | 071 | AUTOSAR_SWS_FlexRayTransceiverDriver.pdf | Communication HW Abstraction |
| Function Inhibition Manager(功能抑制管理器) | FiM | 011 | AUTOSAR_SWS_FunctionInhibitionManager.pdf | System Services |
| GPT Driver(通用定时器驱动) | Gpt | 100 | AUTOSAR_SWS_GPTDriver.pdf | Microcontroller Drivers |
| ICU Driver(输入捕获单元驱动) | Icu | 122 | AUTOSAR_SWS_ICUDriver.pdf | I/O Drivers |
| IO HW Abstraction(IO 硬件抽象) | no prefix (AUTOSAR interface) | 254 | AUTOSAR_SWS_IOHardwareAbstraction.pdf | I/O HW Abstraction(IO 硬件抽象) |
| IPDU Multiplexer(IPDU 多路复用器) | IpduM | 052 | AUTOSAR_SWS_IPDUMultiplexer.pdf | Communication Services |
| Key Manager(密钥管理器) | KeyM | 109 | AUTOSAR_SWS_KeyManager.pdf | Crypto Services |
| Large Data COM(大数据量 COM) | LdCom | 049 | AUTOSAR_SWS_LargeDataCOM.pdf | Communication Services |
| LIN Driver(LIN 驱动) | Lin | 082 | AUTOSAR_SWS_LINDriver.pdf | Communication Drivers |
| LIN Interface(LIN 接口) | LinIf | 062 | AUTOSAR_SWS_LINInterface.pdf | Communication HW Abstraction |
| LIN State Manager(LIN 状态管理器) | LinSM | 141 | AUTOSAR_SWS_LINStateManager.pdf | Communication Services |
| LIN Transceiver Driver(LIN 收发器驱动) | LinTrcv | 064 | AUTOSAR_SWS_LINTransceiverDriver.pdf | Communication HW Abstraction |
| MCU Driver(微控制器驱动) | Mcu | 101 | AUTOSAR_SWS_MCUDriver.pdf | Microcontroller Drivers |
| Memory Abstraction Interface(内存抽象接口) | MemIf | 022 | AUTOSAR_SWS_MemoryAbstractionInterface.pdf | Memory Services(内存服务) |
| Network Management Interface(网络管理接口) | Nm | 029 | AUTOSAR_SWS_NetworkManagementInterface.pdf | Communication Services |
| NVRAM Manager(非易失性 RAM 管理器) | NvM | 020 | AUTOSAR_SWS_NVRAMManager.pdf | Memory Services |
| OCU Driver(输出比较单元驱动) | Ocu | 125 | AUTOSAR_SWS_OCUDriver.pdf | I/O Drivers |
| OS(操作系统) | Os(不作为 API 前缀使用) | 001 | AUTOSAR_SWS_OS.pdf | System Services - OS(系统服务 - 操作系统) |
| PDU Router(PDU 路由器) | PduR | 051 | AUTOSAR_SWS_PDURouter.pdf | Communication Services |
| Port Driver(端口驱动) | Port | 124 | AUTOSAR_SWS_PortDriver.pdf | I/O Drivers |
| PWM Driver(脉宽调制驱动) | Pwm | 121 | AUTOSAR_SWS_PWMDriver.pdf | I/O Drivers |
| RAM Test(RAM 测试) | RamTst | 093 | AUTOSAR_SWS_RAMTest.pdf | Memory Drivers |
| RTE(运行时环境) | Rte | 002 | AUTOSAR_SWS_RTE.pdf | RTE |
| SAE J1939 Diagnostic Communication Manager(SAE J1939 诊断通信管理器) | J1939Dcm | 058 | AUTOSAR_SWS_SAEJ1939DiagnosticCommunicationManager.pdf | Communication Services |
| SAE J1939 Network Management(SAE J1939 网络管理) | J1939Nm | 034 | AUTOSAR_SWS_SAEJ1939NetworkManagement.pdf | Communication Services |
| SAE J1939 Request Manager(SAE J1939 请求管理器) | J1939Rm | 059 | AUTOSAR_SWS_SAEJ1939RequestManager.pdf | Communication Services |
| SAE J1939 Transport Layer(SAE J1939 传输层) | J1939Tp | 037 | AUTOSAR_SWS_SAEJ1939TransportLayer.pdf | Communication Services |
| Secure Onboard Communication(车载安全通信) | SecOC | 150 | AUTOSAR_SWS_SecureOnboardCommunication.pdf | Communication Services |
| Service Discovery(服务发现) | Sd | 171 | AUTOSAR_SWS_ServiceDiscovery.pdf | Communication Services |
| Socket Adaptor(Socket 适配器) | SoAd | 056 | AUTOSAR_SWS_SocketAdaptor.pdf | Communication Services |
| SOME/IP Transformer(SOME/IP 转换器) | SomeIpXf | 174 | AUTOSAR_SWS_SOMEIPTransformer.pdf | Communication Services |
| SOME/IP Transport Protocol(SOME/IP 传输协议) | SomeIpTp | 177 | AUTOSAR_SWS_SOMEIPTransportProtocol.pdf | Communication Services |
| SPI Handler Driver(SPI 处理驱动) | Spi | 083 | AUTOSAR_SWS_SPIHandlerDriver.pdf | Communication Drivers |
| Synchronized Time-Base Manager(同步时基管理器) | StbM | 160 | AUTOSAR_SWS_SynchronizedTimeBaseManager.pdf | System Services |
| TCP/IP Stack(TCP/IP 协议栈) | TcpIp | 170 | AUTOSAR_SWS_TcpIp.pdf | Communication Services |
| Time Service(时间服务) | Tm | 014 | AUTOSAR_SWS_TimeService.pdf | System Services |
| Time Sync Over CAN(基于 CAN 的时间同步) | CanTSyn | 161 | AUTOSAR_SWS_TimeSyncOverCAN.pdf | Communication Services |
| Time Sync Over Ethernet(基于以太网的时间同步) | EthTSyn | 164 | AUTOSAR_SWS_TimeSyncOverEthernet.pdf | Communication Services |
| Time Sync Over FlexRay(基于 FlexRay 的时间同步) | FrTSyn | 163 | AUTOSAR_SWS_TimeSyncOverFlexRay.pdf | Communication Services |
| TTCAN Driver(时间触发 CAN 驱动) | Ttcan | 084 | AUTOSAR_SWS_TTCANDriver.pdf | Communication Drivers |
| TTCAN Interface(时间触发 CAN 接口) | TtcanIf | 066 | AUTOSAR_SWS_TTCANInterface.pdf | Communication HW Abstraction |
| UDP Network Management(UDP 网络管理) | UdpNm | 033 | AUTOSAR_SWS_UDPNetworkManagement.pdf | Communication Services |
| Vehicle-2-X Basic Transport(V2X 基础传输) | V2xBtp | 183 | AUTOSAR_SWS_V2XBasicTransport.pdf | Off-board Comm. Services(车外通信服务) |
| Vehicle-2-X Facilities(V2X 设施层) | V2xFac | 184 | AUTOSAR_SWS_V2XFacilities.pdf | Off-board Comm. Services |
| Vehicle-2-X GeoNetworking(V2X 地理组网) | V2xGn | 182 | AUTOSAR_SWS_V2XGeoNetworking.pdf | Off-board Comm. Services |
| Vehicle-2-X Management(V2X 管理) | V2xM | 185 | AUTOSAR_SWS_V2XManagement.pdf | Off-board Comm. Services |
| Watchdog Driver(看门狗驱动) | Wdg | 102 | AUTOSAR_SWS_WatchdogDriver.pdf | Microcontroller Drivers |
| Watchdog Interface(看门狗接口) | WdgIf | 043 | AUTOSAR_SWS_WatchdogInterface.pdf | Onboard Device Abstraction(车载设备抽象) |
| Watchdog Manager(看门狗管理器) | WdgM | 013 | AUTOSAR_SWS_WatchdogManager.pdf | System Services |
| Wireless Ethernet Driver(无线以太网驱动) | WEth | 087 | AUTOSAR_SWS_WirelessEthernetDriver.pdf | Wireless Comm. Drivers(无线通信驱动) |
| Wireless Ethernet Transceiver Driver(无线以太网收发器驱动) | WEthTrcv | 074 | AUTOSAR_SWS_WirelessEthernetTransceiverDriver.pdf | Wireless Comm. HW Abstraction(无线通信硬件抽象) |
| XCP(通用测量与标定协议) | Xcp | 212 | AUTOSAR_SWS_XCP.pdf | Communication Services |
2 库(Libraires)清单
AUTOSAR 4.4.0 中标准化的库(Libraries)模块:
| 库简称 | 库缩写(API 服务前缀) | 库(模块)ID(uint16) | 规范文档 |
|---|---|---|---|
| CRC Library(CRC 库) | Crc | 201 | AUTOSAR_SWS_CRCLibrary.pdf |
| BFx Library(大位域操作库) | Bfx | 205 | AUTOSAR_SWS_BFXLibrary.pdf |
| E2E Library(端到端保护库) | E2E | 207 | AUTOSAR_SWS_E2ELibrary.pdf |
| EFx Library(小位域操作库) | Efx | 208 | AUTOSAR_SWS_EFXLibrary.pdf |
| IFl Library(整型定点库) | Ifl | 209 | AUTOSAR_SWS_IFLLibrary.pdf |
| MFl Library(混合定点库) | Mfl | 210 | AUTOSAR_SWS_MFLLibrary.pdf |
| MFx Library(混合位域库) | Mfx | 211 | AUTOSAR_SWS_MFXLibrary.pdf |
| IFx Library(整型位域库) | Ifx | 213 | AUTOSAR_SWS_IFXLibrary.pdf |
3 特殊文件(Special Files)清单
AUTOSAR 中一些"特殊文件"虽不是独立模块,但在每个 ECU 工程中均会出现,其规范如下:
| AUTOSAR 名称 | 简称(API 服务前缀) | 文件名 | 模块 ID | 规范文档 |
|---|---|---|---|---|
| Platform Types(平台类型) | Platform | Platform_Types.h | 199 | AUTOSAR_SWS_PlatformTypes.pdf |
| Compiler Abstraction(编译器抽象) | Compiler | Compiler.h | 198 | AUTOSAR_SWS_CompilerAbstraction.pdf |
| Standard Types(标准类型) | Std | Std_Types.h | 197 | AUTOSAR_SWS_StandardTypes.pdf |
| Communication Stack Types(通信栈类型) | Comtype | ComStack_Types.h | 196 | AUTOSAR_SWS_CommunicationStackTypes.pdf |
| Memory Mapping(内存映射) | MemMap | (Prefix_)MemMap.h | 195 | AUTOSAR_SWS_MemoryMapping.pdf |
使用说明:本表为速查表,便于在阅读其他 AUTOSAR 文档时快速查询模块归属、ID 与对应规范文档。 模块 ID 在Dem、Det等的错误报告、RTE 接口中常被引用。