Abstract
This chapter deals with the basic structure of embedded C programming.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
Global variables by default are stored in the SRAM location. But generally, in microcontrollers, the size of flash memory is more than the size of SRAM, so if there is a large array of coefficients like FIR, filter coefficients are required and they can be stored in flash memory. But these coefficients cannot be updated during run time.
- 2.
If there is a large array which is needed to be stored in RAM, then that array must be declared globally because by default, the size allocated for stack is less than the size allocated for global variables in RAM for Tiva series.
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
Copyright information
© 2018 Springer (India) Pvt. Ltd.
About this chapter
Cite this chapter
Gadre, D.V., Gupta, S. (2018). Structure of Embedded C Program. In: Getting Started with Tiva ARM Cortex M4 Microcontrollers. Springer, New Delhi. https://doi.org/10.1007/978-81-322-3766-2_7
Download citation
DOI: https://doi.org/10.1007/978-81-322-3766-2_7
Published:
Publisher Name: Springer, New Delhi
Print ISBN: 978-81-322-3764-8
Online ISBN: 978-81-322-3766-2
eBook Packages: EngineeringEngineering (R0)