ECET 365 week 5 HW - Steven Rawlings ECET 365 Week 5 HW Chapter 4 4.1 Syntactically I\/O ports are public globals In order to separate mechanisms from

ECET 365 week 5 HW - Steven Rawlings ECET 365 Week 5 HW...

This preview shows page 1 - 2 out of 2 pages.

Steven Rawlings ECET 365 Week 5 HW Chapter 4 4.1Syntactically, I/O ports are public globals. In order to separate mechanisms from policies (i.e., improve the quality of the software system), how should I/O be actually used? 4.2Why do we add the volatile qualifier in all I/O port definitions? For example,#define TCNT *(unsigned short volatile*)(0 0044) 4.3What happens if an interrupt service routine does not acknowledge or disarm? 4.4The main program synthesizes data and a periodic output-compare interrupt will output the data separated by a fixed time. A FIFO queue is used to buffer data between a main program
Image of page 1
Image of page 2

You've reached the end of your free preview.

Want to read both pages?

  • Summer '16
  • Interrupt, Input/output, main program, Steven Rawlings

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture