HOME   Cart(0)   Quotation   About-Us Policy PDFs Standard-List
www.ChineseStandard.net Database: 189759 (19 Oct 2025)

GB/T 30997-2014 English PDF

US$1534.00 · In stock
Delivery: <= 5 days. True-PDF full-copy in English will be manually translated and delivered via email.
GB/T 30997-2014: Programming languages-C -- Extensions to support embedded processors
Status: Valid
Standard IDContents [version]USDSTEP2[PDF] delivered inStandard Title (Description)StatusPDF
GB/T 30997-2014English1534 Add to Cart 5 days [Need to translate] Programming languages-C -- Extensions to support embedded processors Valid GB/T 30997-2014

PDF similar to GB/T 30997-2014


Standard similar to GB/T 30997-2014

GB/T 44130.1   YD/T 3746   GB/T 39190   GB/T 39003.3   GB/T 43433   GB/T 39003.2   

Basic data

Standard ID GB/T 30997-2014 (GB/T30997-2014)
Description (Translated English) Programming languages-C -- Extensions to support embedded processors
Sector / Industry National Standard (Recommended)
Classification of Chinese Standard L74
Classification of International Standard 35.060
Word Count Estimation 77,748
Date of Issue 9/3/2014
Date of Implementation 2/1/2015
Quoted Standard ISO/IEC 9899-1999
Adopted Standard ISO/IEC TR 18037-2008, IDT
Regulation (derived from) People's Republic of China Announcement of Newly Approved National Standards No. 21 of 2014
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 a set of extensions to ISO/IEC 9899-1999 programming language C of. These extensions to support embedded processors. This Standard applies to the use of C language for embedded processor application development process.

GB/T 30997-2014: Programming languages-C -- Extensions to support embedded processors

---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.
Programming languages. C. Extensions to support embedded processors ICS 35.060 L74 National Standards of People's Republic of China C programming language support the expansion of embedded processor (ISO /IEC TR18037.2008, IDT) Issued on. 2014-09-03 2015-02-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 1 3 Compliance 4 fixed-point arithmetic 1 4.1 Overview of fixed-point data types and principles 1 4.2 pairs of ISO /IEC 9899.1999 change Detailed 7 5 Name and address space named register storage class 27 5.1 Name and Address Space Overview Principle 27 Named register storage class 5.2 Summary and Principle 28 5.3 pairs of ISO /IEC 9899.1999 30 detailed changes 6 Basic I/O hardware addressing 34 6.1 Principle 34 6.2 Terminology 35 6.3 basic I/O hardware addressing header \u003ciohw.h\u003e 36 6.4 of the I/O register 37 6.5 pairs of ISO /IEC 9899.1999 40 detailed changes Appendix A (informative) fixed-point arithmetic 46 A.1 fixed-point data types 46 A.2 _Fract and the number of data bits in 48 _Accum A.3 possible data types to achieve 48 A.4 rounding and overflow 49 A.5 type conversion, arithmetic conversion is generally 50 A.6 operations involving fixed-point type 50 A.7 1 and -1 exception multiplication results 51 A.8 linguistic variables and unsigned_Fract. Example unsigned fixed-point type 51 Annex B (informative) Name and address space named register storage class 53 Extended B.1 embedded system memory support 53 B.1.1 modifier name address space 53 B.1.2 application address space defined by a plurality of support 54 B.1.3 internal address space or a user-defined address space of the I/O register definition 54 Annex C (informative) achieve \u003cIOWH.H\u003e Header 56 C.1 General 56 C.1.1 recommended steps 56 C.1.2 compiler considerations 56 C.2 I/O connectivity options Hardware Overview 56 C.2.1 multiple addressing and I/O registers endian 57 C.2.2 address crossbar 57 C.2.3 I/O connection Overview 57 C.2.4 common buffer index 58 I C.3 different I/O addressing method/O register specifier 59 C.4 atomic operations 59 C.5 read - modify - write operations and multi-addressing the situation 60 C.6 I/O initialization 60 Intrinsic properties C.7 I/O access to the hardware 61 Annex D (informative) \u003cIOHW.H\u003e Migration path to achieve 62 D.1 \u003ciohw.h\u003e Migration path to achieve 62 D.2 C-based macros \u003ciohw.h\u003e Achieve 62 D.2.1 access specification method 62 D.2.2 one kind \u003ciohw.h\u003e Implementation Technology 62 D.2.3 features 63 D.2.4 \u003ciohw.h\u003e Header 63 D.2.5 user I/O register specifier defined 66 D.2.6 driver function 67 Annex E (informative) is not included in this standard functionality 69 E.1 circular buffer 69 E.2 complex data types 70 E.3 embedded system considering the BCD data types 70 E.4 modulo wrap overflow 70 Appendix F (Informative Appendix) C compatibility and migration issues 71 F.1 fixed-point arithmetic 71 F.2 support multiple address space 71 F.3 basic I/O hardware addressing 71

Foreword

This standard was drafted in accordance with GB/T 1.1-2009 given rules. This standard uses the translation method identical with ISO /IEC Technical Report ISO /IEC TR18037.2008 "support embedded programming language C The processor expansion ", made the following editorial changes. --- To increase the scope of the standard description; --- Meets the requirements of the original made the following editorial changes. text statements "Because this is a technical report, so there is no Compliance requirements, implementors are free to choose those specifications they need. (AsthisisaTechnicalReportthere arenoconformancerequirementsandimplementersarefreetoselectthosespecificationsthat . Theyneed) "into our national standard after, should not have this expression, it will be deleted; --- Include the original text of ISO /IEC 9899.1999 editorial changes to the programming language C section entry for this standard itself Article Head to distinguish the ISO /IEC 9899.1999 C programming language entry plus a solid frame to distinguish; --- Remove the informative Appendix G of the Technical Report 18037 second edition updates and changes. This standard by the National Information Technology Standardization Committee (SAC/TC28) and focal points. This standard was drafted. China Electronics Standardization Institute, Fudan University, Shanghai Key Laboratory of Computer Software Testing. The main drafters of this standard. Li Haibo, Yang Li Yun, Cong Yong, He Hongwei, Miao Zong Li, Wang Lei, the money Leqiu, Cai determined.

Introduction

In the fast-growing market for embedded systems, such as the use of writing applications demand high-level language like C language is increasing. Basically, the reasons for this trend, there are two. embedded systems become more complex procedures (assembly language would be difficult to maintain) and insert Lifecycle-in system processor models in shorter (which implies more frequent application to re-adapt to the new set of instructions). C language The level of programming that can be obtained on code reuse is considered an important step forward to solve the above problems. Many areas of technology defines a function provided by the processor (such as DSP), the use of these functions in embedded systems is not easy It is written in C applications. For example, fixed-point operations, the use of different memory space and the underlying I/O operation. Current mention We can only solve these cases only the technical field a small part of the problem. Embedded processor is often used to analyze analog signals, and the data received via the docking using filtering algorithms to process these signals. Typical applications can be found in all of the wireless devices. Common data types used in the filtering algorithm is fixed-point data type, and Moreover, in order to achieve the necessary speed, embedded processors often with special fixed-point devices. Since the C language (according to ISO /IEC 9899.1999 in the definition) does not provide support for fixed-point arithmetic operations, leading to the present can not be selected because the programmer had to make Write most of its algorithms in assembly language manual. This standard specifies a definition for the C language within a certain range of accuracy and saturation Fixed-point data types. Optimizing C compiler can be like for integer and floating point data as easily generate efficient fixed-point data types Code. Many embedded processor has a plurality of different memory bank and requires the data packets according to different libraries in order to achieve maximum performance. example For example, to ensure for FIR filter design concurrent data streams and collaborative data into the processor multiplier/accumulator, the operation of the processor Essential. In order to allow the programmer must be removed from the statement that a particular data object's memory space, this standard provides for more than Basic support address space. Thus, optimizing compiler that can take advantage of the ability to support multiple processor address space, for example, in a Cycle to read data from two separate memory for maximum execution speed. With the C language these years matured, language was added to the expanded access to a variety of basic I/O hardware (iohw) register to overcome Defects language. Today, almost all of the stand-alone environment and embedded systems C compiler supports a number directly from the C source level Access iohw registers. However, these extensions between different C language "dialect" is still inconsistent. This standard provides a method for the codification of common practices and provides a single, unified syntax for basic iohw register addressing. The standard recommendation with ISO /IEC 9899.1999 used in combination. C programming language support the expansion of embedded processor

1 Scope

This standard specifies the ISO /IEC 9899.1999 series of extension of the C programming language. These extensions to support embedded processors. The standard of each chapter dealing with a specific topic. 4,5,6 The first chapter contains the technical characteristics of the subject matter described Said. These provisions provide an overview and does not contain all the details. The last chapter contains for ISO /IEC 9899.1999 series Editorial changes to the programming language C, the provisions of these modifications fully ISO /IEC 9899.1999 related topic is necessary, and to provide a Complete definition. Additional explanation and principles listed in the Appendix. This standard applies to the use of C language for embedded processor application development process.

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. ISO /IEC 9899.1999 Programming Language C (ISO /IEC 9899.1999-Programminglanguages-C)

3 Compliance

This standard is divided into three chapters expressed the basic norms of three independent set of functions (fixed-point arithmetic in Chapter 4, Chapter 5, named address spaces and life Name register storage class, and Chapter 6, the basic input/output hardware addressing). If you implement the function of a chapter, the chapter recommends that implementors implement Full functionality. 4 fixed-point arithmetic 4.1 Overview of fixed-point data types and principles 4.1.1 Data Types The standard, fixed-point data value refers to small value (a value between -1.0 to 1.0) or by the integer part and a fractional part Value. Because of the decimal point position is known, the value of these types of operations, able to operate with the same efficiency integer real Now. Its value to the typical use of fixed-point data operations, can convert analog values \u200b\u200binto digital representation of some filtering algorithms After the application in Preface found. For more information about fixed-point data types, see A.1.1. This standard for the C language adds two fixed-point data types. fract type and accum type. No data values \u200b\u200bfract type Integer part, so the value fract type between -1.0 and 1.0. accum type range depending on the data type integer The number of digits. Fixed-point data type specified by the appropriate keywords and new type specifier _Fract and _Accum. These type specifier and has Some type specifier short, long, signed, unsigned combination can be used to specify the following 12 point type. unsignedshort_Fract unsignedshort_Accum unsigned_Fract unsigned_Accum unsignedlong_Fract unsignedlong_Accum

Tips & Frequently Asked Questions:

Question 1: How long will the true-PDF of GB/T 30997-2014_English be delivered?

Answer: Upon your order, we will start to translate GB/T 30997-2014_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 30997-2014_English with my colleagues?

Answer: Yes. The purchased PDF of GB/T 30997-2014_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+ countries

Question 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.