Embedded C

C language extensions for embedded systems

Embedded C is a set of language extensions for the C programming language by the C Standards Committee to address commonality issues that exist between C extensions for different embedded systems.

Embedded C programming typically requires nonstandard extensions to the C language in order to support enhanced microprocessor features such as fixed-point arithmetic, multiple distinct memory banks, and basic I/O operations. The C Standards Committee produced a Technical Report, most recently revised in 2008[1] and reviewed in 2013,[2] providing a common standard for all implementations to adhere to. It includes a number of features not available in normal C, such as fixed-point arithmetic, named address spaces and basic I/O hardware addressing. Embedded C uses most of the syntax and semantics of standard C, e.g., main() function, variable definition, datatype declaration, conditional statements (if, switch case), loops (while, for), functions, arrays and strings, structures and union, bit operations, macros, etc.

References

  1. ^ "Project status and milestones". www.open-std.org. Retrieved 2022-03-31.
  2. ^ "ISO/IEC TR 18037:2008". ISO. Retrieved 2022-03-31.
  • v
  • t
  • e
C programming language
  • ANSI C
  • C99
  • C11
  • C17
  • C23
  • Embedded C
  • MISRA C
Features
  • Functions
  • Header files
  • Operators
  • String
  • Syntax
  • Preprocessor
  • Data types
Standard library
Implementations
CompilersIDEsComparison with
other languagesDescendant
languages
Designer
  • Category
  • v
  • t
  • e
General terms
Firmware and controls
Boot loaders
Software libraries
Programming tools
Operating systems
Programming languages


Stub icon

This programming-language-related article is a stub. You can help Wikipedia by expanding it.

  • v
  • t
  • e