
General Specification of Transformers
AUTOSAR CP R19-11
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 . . . . . . . . . . . . . . . . . . . . . . . 9
3.3 Related specification . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
4 Constraints and assumptions 10
4.1 Limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
4.2 Applicability to car domains . . . . . . . . . . . . . . . . . . . . . . . . 10
5 Dependencies to other modules 11
5.1 File structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
5.1.1 Code file structure . . . . . . . . . . . . . . . . . . . . . . . . 11
5.1.2 Header file structure . . . . . . . . . . . . . . . . . . . . . . . 11
6 Requirements Tracing 12
7 Functional Specification 15
7.1 Buffer Handling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
7.2 Transformer Classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
7.2.1 Serializer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
7.2.2 Safety . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
7.2.3 Security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
7.2.4 Custom . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
7.3 Error Handling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
7.3.1 Errors of Serializer Transformers . . . . . . . . . . . . . . . . 24
7.3.2 Errors of Safety Transformers . . . . . . . . . . . . . . . . . . 24
7.3.3 Errors of Security Transformers . . . . . . . . . . . . . . . . . 26
7.3.4 Errors of Custom Transformers . . . . . . . . . . . . . . . . . 26
7.4 Development Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
7.5 Production Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
7.6 Extended Production Errors . . . . . . . . . . . . . . . . . . . . . . . . 27
7.6.1 XFRM_E_MALFORMED_MESSAGE . . . . . . . . . . . . . 27
7.7 Error Notification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
8 API specification 29
8.1 Imported types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
8.2 Type definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
8.2.1 Std_TransformerForward . . . . . . . . . . . . . . . . . . . . 29
8.3 Function definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
8.3.1 <Mip>_<transformerId> . . . . . . . . . . . . . . . . . . . . . 31
8.3.2 <Mip>_Inv_<transformerId> . . . . . . . . . . . . . . . . . . 36
4 of 71
— AUTOSAR CONFIDENTIAL —
Document ID 658: AUTOSAR_ASWS_TransformerGeneral
评论0
最新资源