Abstract
This chapter immerses readers into the array of peripherals typically found in a microcontroller, while also discussing the concepts that allow understanding how to use them in any microprocessor-based system. The chapter begins by discussing how to use interrupts and timers in microcontrollers as support peripherals for other devices. These are the two most important support peripherals in any microcontroller as they form the basis for real-time, reactive operation of embedded applications.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
Since interrupt service requests are served only at the end of each instruction, to consider two request simultaneous, they just need to arrive within the time frame of a single instruction execution.
- 2.
C-language programs do not require explicit stack allocation as it is performed by the compiler.
- 3.
C compilers take care of this detail, transparently to the programmer.
- 4.
In C-language programs the compiler takes care of that.
- 5.
A re-entrant ISR is one that safely allows being interrupted by itself.
- 6.
Instructions able to perform read-modify-write operations without interruption.
- 7.
See Appendix E.1 for terms of use.
- 8.
See Appendix E.1 for terms of use.
- 9.
See Appendix E.1 for terms of use.
- 10.
See Appendix E.1 for terms of use.
- 11.
In its origin, Random Access Memory (RAM) designated the type of memory whose contents could be randomly addressed, unlike Sequential Access Memory (SAM) where contents had to be sequentially accessed.
- 12.
The term “flash memory” was coined because of the speed, like a flash.
- 13.
This is a case where standard constant naming is not as standard as one should expect. In series 5/6, the name for the reading and writing passwords are, respectively, “FRPW” and “FWPW”. In all other cases, the constants are named “FRKEY” and “FWKEY”, respectively. The user should consult the guides or the header files if necessary.
- 14.
This modality uses independent address spaces for memory and I/O devices.
- 15.
Memory-mapped I/O places memory and I/O peripherals in the same address space.
- 16.
See Appendix E.1 for terms of use.
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
Copyright information
© 2014 Springer Science+Business Media New York
About this chapter
Cite this chapter
Jiménez, M., Palomera, R., Couvertier, I. (2014). Embedded Peripherals. In: Introduction to Embedded Systems. Springer, New York, NY. https://doi.org/10.1007/978-1-4614-3143-5_7
Download citation
DOI: https://doi.org/10.1007/978-1-4614-3143-5_7
Published:
Publisher Name: Springer, New York, NY
Print ISBN: 978-1-4614-3142-8
Online ISBN: 978-1-4614-3143-5
eBook Packages: EngineeringEngineering (R0)