没有合适的资源?快使用搜索试试~ 我知道了~
首页AUTOSAR的看门狗驱动规范
AUTOSAR的看门狗驱动规范
5星 · 超过95%的资源 需积分: 49 23 下载量 191 浏览量
更新于2023-05-22
评论
收藏 1.02MB PDF 举报
AUTOSAR标准中的看门狗驱动规范,分层架构中看门狗模块的底层驱动规范文档。
资源详情
资源评论
资源推荐
Specification of Watchdog Driver
AUTOSAR Release 4.2.2
1 of 44 Document ID 039: AUTOSAR_SWS_WatchdogDriver
- AUTOSAR confidential -
Document Change History
Release
Changed by
Change Description
4.2.2
AUTOSAR
Release
Management
Debugging support marked as obsolete
minor corrections / clarifications / editorial
changes; For details please refer to the
ChangeDocumentation
4.2.1
AUTOSAR
Release
Management
Adapt specification of extended production
errors.
WDG_E_INIT_FAILED added (error code is
referenced by SWS_BSWGeneral)
4.1.3
AUTOSAR
Release
Management
Minor editorial changes
4.1.2
AUTOSAR
Release
Management
Shift Dem_ReportErrorStatus from mandatory to
optional interfaces
Editorial changes
Removed chapter(s) on change documentation
4.1.1
AUTOSAR
Administration
Add chapter for production errors
Rename MemMap.h to Wdg_MemMap.h
Remove GPT usage
Added Subchapter 3.x due to SWS General
Rollout
Reworked according to the new
SWS_BSWGeneral
Reworded SWS_Wdg_00018,
SWS_Wdg_00019, SWS_Wdg_00052 for
debugging purpose
4.0.3
AUTOSAR
Administration
DET-Error for Wdg_GetVersionInfo added
3.1.5
AUTOSAR
Administration
Requirement WDG141/WDG143 removed
3.1.4
AUTOSAR
Administration
Modifications for windowed watchdog concept
Further maintenance for R4.0: see Chapter 11
Legal disclaimer revised
3.1.1
AUTOSAR
Administration
Legal disclaimer revised
Document Title
Specification of Watchdog
Driver
Document Owner
AUTOSAR
Document Responsibility
AUTOSAR
Document Identification No
039
Document Classification
Standard
Document Status
Final
Part of AUTOSAR Release
4.2.2
Specification of Watchdog Driver
AUTOSAR Release 4.2.2
2 of 44 Document ID 039: AUTOSAR_SWS_WatchdogDriver
- AUTOSAR confidential -
Document Change History
Release
Changed by
Change Description
3.0.1
AUTOSAR
Administration
Section 5.1.2 the file include structure has been
changed.
Section 8.6.2 Dem_ReportErrorStatus added as
optional interfaces.
Rephrased the requirementsWDG019,
SWS_Wdg_00031, SWS_Wdg_00034.
Modified sequence diagrams in chapter 9.
Document meta information extended
Small layout adaptations made
2.1.15
AUTOSAR
Administration
In chapter 5.1.2 the file include structure has
been changed to comply with the SPAL general
include structure.
In chapter WdgDefaultMode has been added as
PC variant and WDG003 has been changed to
allow passing NULL pointer.
For WDG037 the requirement was changed to
allow configuration of activation code if the H/W
allows for the same.
For SWS_Wdg_00078 the requirement was
changed to add reference to SPI/DIO for
accessing the external watchdog
Legal disclaimer revised
Release Notes added
“Advice for users” revised
“Revision Information” added
2.0
AUTOSAR
Administration
Document structure adapted to common
Release 2.0 SWS Template
1.0
AUTOSAR
Administration
Initial Release
Specification of Watchdog Driver
AUTOSAR Release 4.2.2
3 of 44 Document ID 039: AUTOSAR_SWS_WatchdogDriver
- AUTOSAR confidential -
Disclaimer
This specification and the material contained in it, as released by AUTOSAR, is for
the purpose of information only. AUTOSAR and the companies that have contributed
to it shall not be liable for any use of the specification.
The material contained in this specification is protected by copyright and other types
of Intellectual Property Rights. The commercial exploitation of the material contained
in this specification requires a license to such Intellectual Property Rights.
This specification may be utilized or reproduced without any modification, in any form
or by any means, for informational purposes only. For any other purpose, no part of
the specification may be utilized or reproduced, in any form or by any means, without
permission in writing from the publisher.
The AUTOSAR specifications have been developed for automotive applications only.
They have neither been developed, nor tested for non-automotive applications.
The word AUTOSAR and the AUTOSAR logo are registered trademarks.
Advice for users
AUTOSAR specifications may contain exemplary items (exemplary reference
models, "use cases", and/or references to exemplary technical solutions, devices,
processes or software).
Any such exemplary items are contained in the specifications for illustration purposes
only, and they themselves are not part of the AUTOSAR Standard. Neither their
presence in such specifications, nor any later documentation of AUTOSAR
conformance of products actually implementing such exemplary items, imply that
intellectual property rights covering such exemplary items are licensed under the
same rules as applicable to the AUTOSAR Standard.
Specification of Watchdog Driver
AUTOSAR Release 4.2.2
4 of 44 Document ID 039: AUTOSAR_SWS_WatchdogDriver
- AUTOSAR confidential -
Table of Contents
1 Introduction and functional overview ................................................................... 6
2 Acronyms and abbreviations ............................................................................... 7
3 Related documentation........................................................................................ 8
3.1 Input documents ............................................................................................ 8
3.2 Related standards and norms ....................................................................... 8
3.3 Related specification ..................................................................................... 8
4 Constraints and assumptions .............................................................................. 9
4.1 Limitations ..................................................................................................... 9
4.2 Applicability to car domains ........................................................................... 9
5 Dependencies to other modules ........................................................................ 10
5.1 File structure ................................................................................................ 10
5.1.1 Code file structure ................................................................................. 10
5.1.2 Header file structure .............................................................................. 11
5.1.3 Version check ....................................................................................... 12
5.2 System clock ............................................................................................... 12
5.3 Onboard communication handlers ............................................................... 12
6 Requirements traceability .................................................................................. 13
7 Functional specification ..................................................................................... 21
7.1 General design rules ................................................................................... 21
7.2 Error classification ....................................................................................... 22
7.2.1 Development Errors .............................................................................. 22
7.2.2 Runtime errors ...................................................................................... 22
7.2.3 Transient Faults .................................................................................... 22
7.2.4 Production errors .................................................................................. 22
7.2.5 Extended production errors ................................................................... 22
7.3 Error detection ............................................................................................. 23
7.4 Error notification .......................................................................................... 23
7.5 External watchdog driver ............................................................................. 23
7.6 Internal watchdog driver .............................................................................. 24
7.7 Triggering concept to support windowed watchdogs ................................... 25
7.8 Debugging ................................................................................................... 26
8 API specification ................................................................................................ 27
8.1 Imported types ............................................................................................. 27
8.2 Type definitions ........................................................................................... 27
8.2.1 Wdg_ConfigType .................................................................................. 27
8.3 Function definitions...................................................................................... 27
8.3.1 Wdg_Init ................................................................................................ 27
8.3.2 Wdg_SetMode ...................................................................................... 29
8.3.3 Wdg_SetTriggerCondition ..................................................................... 31
8.3.4 Wdg_GetVersionInfo ............................................................................. 32
8.4 Call-back Notifications ................................................................................. 32
8.5 Scheduled functions .................................................................................... 32
Specification of Watchdog Driver
AUTOSAR Release 4.2.2
5 of 44 Document ID 039: AUTOSAR_SWS_WatchdogDriver
- AUTOSAR confidential -
8.6 Expected interfaces ..................................................................................... 32
8.6.1 Mandatory interfaces ............................................................................ 32
8.6.2 Optional interfaces ................................................................................ 33
8.6.3 Configurable interfaces ......................................................................... 33
9 Sequence diagrams .......................................................................................... 34
9.1 Watchdog initialization, setting trigger condition and mode. ........................ 34
9.2 Data exchange between watchdog driver and hardware ............................. 35
10 Configuration specification ................................................................................ 36
10.1 How to read this chapter .......................................................................... 36
10.2 Containers and configuration parameters ................................................ 37
10.2.1 Variants ............................................................................................. 37
10.2.2 Wdg ................................................................................................... 37
10.2.3 WdgDemEventParameterRefs .......................................................... 37
10.2.4 WdgGeneral ...................................................................................... 38
10.2.5 WdgSettingsConfig ............................................................................ 41
10.2.6 WdgSettingsFast ............................................................................... 42
10.2.7 WdgSettingsSlow .............................................................................. 42
10.2.8 WdgSettingsOff ................................................................................. 42
10.2.9 WdgExternalConfiguration ................................................................. 42
10.3 Published information ............................................................................... 43
10.3.1 WdgPublishedInformation .................................................................. 43
11 Not applicable requirements .............................................................................. 44
剩余43页未读,继续阅读
hugo_d
- 粉丝: 1
- 资源: 3
上传资源 快速赚钱
- 我的内容管理 收起
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
会员权益专享
最新资源
- RTL8188FU-Linux-v5.7.4.2-36687.20200602.tar(20765).gz
- c++校园超市商品信息管理系统课程设计说明书(含源代码) (2).pdf
- 建筑供配电系统相关课件.pptx
- 企业管理规章制度及管理模式.doc
- vb打开摄像头.doc
- 云计算-可信计算中认证协议改进方案.pdf
- [详细完整版]单片机编程4.ppt
- c语言常用算法.pdf
- c++经典程序代码大全.pdf
- 单片机数字时钟资料.doc
- 11项目管理前沿1.0.pptx
- 基于ssm的“魅力”繁峙宣传网站的设计与实现论文.doc
- 智慧交通综合解决方案.pptx
- 建筑防潮设计-PowerPointPresentati.pptx
- SPC统计过程控制程序.pptx
- SPC统计方法基础知识.pptx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论10