Open book in-person text file exam
Overview
You are required to fully describe how to answer the question.
You do not have to write code as long as you accurately describe the
design of a solution. You must specify which language elements (like bit-wise
operators) are used and how they are used.
If you use ONLY code for your answer make sure it is 100% valid code.
Topics
- C Language bitwise operations including an 8 bit hardware register using |, ~, << , >> , and & bitwise operators.
- How to mask one or a few bits on an 8 bit register (setting the selected bits to 0 without altering the other bits).
- 8 bit signed and unsigned integers.
- Two's complement for 8 bit values.
- Reasonable proficiency with hexadecimal is expected. I will provide a hexadecimal chart.
- Code quality question on some provided C code.
- Non-blocking versus blocking operation.
- For a specific timing (like 1 ms) Determine the correct SysTick Reload value.
- Accumulating a user command character by character and validating resulting command.
L. Kiser Oct. 17, 2024