8
Input/Output (I/O) Ports
“We have two ears and one mouth so that we can listen twice as much as we speak.”
—Epictetus (Greek Stoic philosopher)
OUTLINE
OBJECTIVES
Upon completion of this chapter, you should be able to
1. Understand the basic concept of programmed input/output ports.
2. Understand the pin assignments of Port A to Port E.
3. Write code to output data onto the Port B pins.
4. Understand the concept of the data direction register.
5. Understand the operation and pin assignments of Port C.
6. Program the data direction of the Port ...
Get Microcontroller Programming now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.