Electrical Engineering 145M - Spring 1998 - Derenzo - Midterm 1

Electrical Engineering 145M - Spring 1998 - Derenzo - Midterm 1

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Name (Last, First) Student ID number EECS145M 1998 Midterm #1 Page 1 Derenzo UNIVERSITY OF CALIFORNIA College of Engineering Electrical Engineering and Computer Sciences Department EECS 145M: Microcomputer Interfacing Laboratory Spring Midterm #1 (Closed book- calculators OK) Monday, March 2, 1998 PROBLEM 1 (30 points) Design an interface and computer program that allows a computer to control a temperature sensor and reliably read its digital output. The temperature sensor has a “take data” control line and converts the temperature into a 12-bit digital number whenever the “take data” line goes from low to high. The temperature sensor also produces an "output data available" line that goes from low to high when the 12 digital output lines are stable and valid. When the “take data” line is brought low, the temperature sensor brings its “output data available” line low. The computer has a digital I/O port with 16 lines of input and 16 lines of output read from and write to the digital I/O port. After "PutSingleValue(value)", the value is continually asserted on the output lines until a new
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 5

Electrical Engineering 145M - Spring 1998 - Derenzo - Midterm 1

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online