|
US$599.00 · In stock Delivery: <= 5 days. True-PDF full-copy in English will be manually translated and delivered via email. GB/T 28169-2011: Embedded software -- C language coding specification Status: Valid
| Standard ID | Contents [version] | USD | STEP2 | [PDF] delivered in | Standard Title (Description) | Status | PDF |
| GB/T 28169-2011 | English | 599 |
Add to Cart
|
5 days [Need to translate]
|
Embedded software -- C language coding specification
| Valid |
GB/T 28169-2011
|
PDF similar to GB/T 28169-2011
Basic data | Standard ID | GB/T 28169-2011 (GB/T28169-2011) | | Description (Translated English) | Embedded software -- C language coding specification | | Sector / Industry | National Standard (Recommended) | | Classification of Chinese Standard | L74 | | Classification of International Standard | 35.060 | | Word Count Estimation | 26,284 | | Date of Issue | 2011-12-30 | | Date of Implementation | 2012-06-01 | | Quoted Standard | GB/T 15272 | | Regulation (derived from) | Announcement of Newly Approved National Standards No. 23 of 2011 | | Issuing agency(ies) | General Administration of Quality Supervision, Inspection and Quarantine of the People's Republic of China, Standardization Administration of the People's Republic of China | | Summary | This standard specifies the use of C language programming in embedded software specification requirements. This standard is also given in the embedded system development should be noted that coding-related matters. This standard applies to the embedded software life cycle of the C language design, coding, testing and use. |
GB/T 28169-2011: Embedded software -- C language coding specification---This is a DRAFT version for illustration, not a final translation. Full copy of true-PDF in English version (including equations, symbols, images, flow-chart, tables, and figures etc.) will be manually/carefully translated upon your order.
Embedded software. C language coding specification
ICS 35.060
L74
National Standards of People's Republic of China
Embedded software C language coding standards
Issued on. 2011-12-30
2012-06-01 implementation
Administration of Quality Supervision, Inspection and Quarantine of People's Republic of China
Standardization Administration of China released
Table of Contents
Introduction Ⅲ
Introduction Ⅳ
1 Scope 1
2 Normative references 1
3 Terms and definitions
4 encoding specifications 1
4.1 General Requirements 1
4.2 Memory space management class 2
4.3 interrupt handling class 3
4.4 System Interface Class 3
4.5 hardware initialization class 3
4.6 class initialization software module 3
Writing Class 4 4.7 forum
4.8 declaration defines class 6
Class 9 4.9 Control statements
4.10 Type Conversion Class 10
4.11 pointer array using the class 11
4.12 arithmetic processing class 14
4.13 function uses class 16
4.14 redundancy class 17
4.15 procedural efficiency class 17
5 Compliance 18
Appendix A (informative) Compliance matrix 19
References 20
Foreword
This standard was drafted in accordance with GB/T 1.1-2009 given rules.
Please note that some of the content of this document may involve patents. Release mechanism of the present document does not assume responsibility for the identification of these patents.
This standard by the National Information Technology Standardization Technical Committee (SAC/TC28) and focal points.
This standard was drafted. China Electronics Standardization Institute, Zhuhai Southern Software Testing Center, Actions Semiconductor has
Ltd., XJ Electric Co., Ltd. Zhuhai, Zhuhai gifted special Power Technology Co., Ltd. Eastcom Peace Smart Card Co., Ltd., Shenzhen
City Jiyang Automation Technology Co., Ltd., Hai Botai Yue Zhen Electronic Equipment Manufacturing Co., Ltd., Zhuhai Silver Post photovoltaic technology development Company Limited
Division Shanghai Embedded System Engineering Research Center, Shanghai Supercomputer parallel software limited liability company, Shanghai Information Technology Co., Lu Qixin
The company, Dalian Building Co., Ltd. and the like.
The main drafters of this standard. Hou Jianhua, Pan Ocean, Yangzhe Jun, Zhang new exhibition, Zhang Yawei, Luoqing Xia, Qi Jianhua, Chen Yong, Zhang Yang Yang, Yang Ru-Kun,
In Xiaojing, on behalf of Yuhong, Wuzhi Kai.
Introduction
Embedded Systems refers to application-centric, computer technology, hardware and software can be tailored to meet the application system functionality, reliability
Specialized computer system, cost, size and power consumption strict requirements. Embedded System includes almost all of the life of electrical equipment, also
Widely used in shipbuilding, machine tools, instrumentation, industrial automation, instrumentation and aerospace fields.
Although the C language is the main tool for embedded software development, but not the C language is designed for embedded systems applications design.
Therefore, the need for coding specifications for embedded systems software.
This standard is the standard C language to understand, based on the combination of embedded software development practices and embedded software development common
To develop non-standard encoding, focusing on software security, readability, either as an embedded software development coding requirements, but also for
Party verification and acceptance requirements for the software delivery.
Embedded software C language coding standards
1 Scope
This standard specifies the use of C language in embedded software programming specifications. This standard also gives embedded system development
We should pay attention to coding-related matters.
This standard applies to embedded software design life cycle of the C language, coding, testing and use.
2 Normative references
The following documents for the application of this document is essential. For dated references, only the dated version suitable for use herein
Member. For undated references, the latest edition (including any amendments) applies to this document.
GB/T 15272 programming language C
3 Terms and Definitions
GB/T 15272 and defined by the following terms and definitions apply to this document.
3.1
Side effects sideeffect
After execution of the expression runtime environment may be affected. Assignment, increment and other operations are typical side effects of having
Operation.
4 encoding specifications
4.1 General Requirements
4.1.1 should be read before programming hardware circuitry and chip information --- familiar with the various memory chips (region), register address, interrupt service, will
When, communications interface and other functions, as necessary, will be added to the program-related information in the comments.
4.1.2 Programming should be noted that the program memory space --- such as instruction space, data space, stack space size exceeds
Restrictions system.
4.1.3 Use of the Commonwealth, the Commonwealth of the details of the compiler should be clear --- such as storage at the end of the Commonwealth of the number of filling units, linked
How to align individual member assembly, multi-byte data type low bytes discharge order and so on.
Methods and 4.1.4 should note the difference between hardware reset and software reset --- real watchdog function in the program should be used to provide chips
Now the hardware system reset.
4.1.5 should note that a variety of CPU memory access speed --- in the program should use a variety of hardware devices to improve their own characteristics
Program efficiency.
4.1.6 It should be noted the number of bits used by the compiler of the target CPU supports standard C language debugger occupied memory, compatible
And other characteristics.
4.1.7 It should be noted compiler principles of different types of data and related details --- such as local variables static category number in the memory
According to district generated, rather than local variables static category will be generated in the stack.
4.1.8 It should be noted the difference between program development and debugging environment and the practical application environment.
Tips & Frequently Asked Questions:Question 1: How long will the true-PDF of GB/T 28169-2011_English be delivered?Answer: Upon your order, we will start to translate GB/T 28169-2011_English as soon as possible, and keep you informed of the progress. The lead time is typically 3 ~ 5 working days. The lengthier the document the longer the lead time. Question 2: Can I share the purchased PDF of GB/T 28169-2011_English with my colleagues?Answer: Yes. The purchased PDF of GB/T 28169-2011_English will be deemed to be sold to your employer/organization who actually pays for it, including your colleagues and your employer's intranet. Question 3: Does the price include tax/VAT?Answer: Yes. Our tax invoice, downloaded/delivered in 9 seconds, includes all tax/VAT and complies with 100+ countries' tax regulations (tax exempted in 100+ countries) -- See Avoidance of Double Taxation Agreements (DTAs): List of DTAs signed between Singapore and 100+ countriesQuestion 4: Do you accept my currency other than USD?Answer: Yes. If you need your currency to be printed on the invoice, please write an email to [email protected]. In 2 working-hours, we will create a special link for you to pay in any currencies. Otherwise, follow the normal steps: Add to Cart -- Checkout -- Select your currency to pay.
|