I have written few codes for a microcontroller, I write code in c language but I don't exactly understand what is referred to as the c startup code. Is it called before the main function or after main ?
At the beginning of my code, in the main function, I write a function that initializes all the port pins and peripherals. The main purpose of this function is to initialize the hardware.
Can you please explain what do you understand by startup code in microcontroller and is responsible for?
At the beginning of my code, in the main function, I write a function that initializes all the port pins and peripherals. The main purpose of this function is to initialize the hardware.
Can you please explain what do you understand by startup code in microcontroller and is responsible for?