Abstract
In this chapter more input and output user interfaces are discussed. In earlier chapters, for user interface UART terminal on host PC and switches were used. So, this chapter will discuss a bit more complex interfaces like 16\(\times \)2 LCD, 16 key keypad and PS/2 based keyboard. LCD and 16 key Keypad are driven using serial shift registers. So, that both of these can be controlled by using just the 5 GPIO’s. Having, such interfaces helps in developing standalone projects, as the user may not need to use host terminal to display messages and for user input. The user can display the messages on LCD and give input using 16 key keypad or PS/2 keyboard.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
If the multiple switches belonging to the same scan line are pressed, then switch with high priority will be considered. Let scan line 0 detected logic high, it implies that switch (or switches) belonging to this line is pressed. Then, start checking for each switches from the MSB of the output bus, once the switch is determined then do not check the lower output lines.
- 2.
This can be avoided by transmitting the MSB first. In the program code data is shifted out with LSB first.
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). User Input and Output Devices. In: Getting Started with Tiva ARM Cortex M4 Microcontrollers. Springer, New Delhi. https://doi.org/10.1007/978-81-322-3766-2_16
Download citation
DOI: https://doi.org/10.1007/978-81-322-3766-2_16
Published:
Publisher Name: Springer, New Delhi
Print ISBN: 978-81-322-3764-8
Online ISBN: 978-81-322-3766-2
eBook Packages: EngineeringEngineering (R0)