

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
The solutions to homework 9 for ece 331 spring 2009. It covers topics such as i/o addressing approaches, microcontroller registers, i/o ports, setting port directions, and using specific mcu registers for an hcs12 device. It also includes questions related to secondary functions of various ports and monitoring signals.
Typology: Assignments
1 / 2
This page cannot be seen from the preview
Don't miss anything!


ECE 331 Spring 2009 Homework 9 -solution
Due Friday April 10 at the beginning of class.
Memory locations that store MCU configuration data or provide interfaces to on-chip I/O devices.
Set (generally 8) of signals connected to MCU pins that can be read/written by software through a data register. Ports can be input, output, or bi- directional.
Port direction is controlled by values stored in a Data Direction Register. For the HC12, storing a ‘1’ in the DDR sets the port to output.
All ports are general purpose I/O in single chip mode.