100%(41)41 out of 41 people found this document helpful
This preview shows page 1 - 2 out of 2 pages.
Steven RawlingsECET 365Week 5 HWChapter 44.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
You've reached the end of your free preview.
Want to read both pages?
Interrupt, Input/output, main program, Steven Rawlings