mucahitdemir / STM32F4xx-Timers-PWM-PLL-CANbus-Low-Power-Modes

This repository covers a famous online course on Udemy mentioned above. I learned different peripherals with code exercices related with PWM, CAN, and Low-power Mode MCUs.
8 stars 1 forks source link

What is Embedded C Programming? How is Embedded C different from C programming language? #3

Open mucahitdemir opened 2 years ago

mucahitdemir commented 2 years ago

Embedded C is a programming language that is an extension of C programming. It uses the same syntax as C and it is called “embedded” because it is used widely in embedded systems. Embedded C supports I/O hardware operations and addressing, fixed-point arithmetic operations, memory/address space access, and various other features that are required to develop fool-proof embedded systems. (Source: interviewbit)

image

mucahitdemir commented 2 years ago

What do you understand by startup code? A startup code is that piece of code that is called before the execution of the main function. This is used for creating a basic platform for the application and it is written in assembly language.

The reset handler or startup code is the first piece of software to execute after a system reset. Typically, the reset handler is used for setting up configuration data for the C startup code (such as the address range for stack and heap memories), which then branches into the C startup code