Jump to content

Embedded C

From Wikipedia, the free encyclopedia

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 2018[1] and reviewed in 2023, providing a common standard for all implementations to adhere to. It includes a number of features not available in normal C, such as Technical Corrigenda 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

[edit]
  1. ^ "ISO/IEC 9899:2018". ISO. Retrieved 2024-10-09.