Date: agosto 25, 2025
Author: Guillermo Garcia
Categories: Embedded C programming Tags: Embedded C programming
In this article we are going to look at enumerations, which is a type of variable renaming in C and is very common in embedded system programs. Enumerations keyword An enumeration consists of a set of named integer constants (called the «enumeration set,» «enumeratorconstants,» «enumerators,» or «members») and is considered a variable type. An enumeration […]
Read full article...Date: agosto 25, 2025
Author: Guillermo Garcia
Categories: Embedded C programming Tags: Embedded C programming
In this article we will see the Bitwise operations with bits that are very common in embedded systems programming in C as well as the bit fields. It is important to know these concepts to manipulate registers in chips. Bitwise Operations All data is internally stored as a sequence of bits. Depending on the data […]
Read full article...Date: agosto 25, 2025
Author: Guillermo Garcia
Categories: Embedded C programming Tags: Embedded C programming
In this article, we’ll explore structures and unions, one of the most efficient ways to manage variables of different types as organized data in embedded system programs. Defining a structure In the articule Array in C programming the concept of arrays was introduced. These arrays are used to combine different variables into 1. Unfortunately, all […]
Read full article...Date: agosto 25, 2025
Author: Guillermo Garcia
Categories: Embedded C programming Tags: Embedded C programming
In this article, we will see how to use Function pointers. This feature is widely used in state machines used in programs for embedded systems. Function pointers Like variables, functions need to be stored in memory. Therefore, also functions have a starting address. In C, it is possible to declare a pointer that points to […]
Read full article...