lab2
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
lab2 [2014/01/20 03:39] – allison | lab2 [2014/01/21 05:07] (current) – allison | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Lab 2 ====== | ====== Lab 2 ====== | ||
+ | |||
+ | |||
+ | ==== Background ==== | ||
[[ucos background|Background Information]] | [[ucos background|Background Information]] | ||
Line 40: | Line 43: | ||
By studying the source structure and Micrium/ | By studying the source structure and Micrium/ | ||
* What is the process of creating a new task in μC/OS-II? Provide sample pseudo code by studying the “KeypadTask” code block used in the lab. | * What is the process of creating a new task in μC/OS-II? Provide sample pseudo code by studying the “KeypadTask” code block used in the lab. | ||
- | * Explain how OSFlagPend function and how it prevents the “KeypadTask” from accessing the critical LCD resource. | + | * Explain how OSFlagPend function |
* Prepare a version of the demo program that guards the LCD resource using semaphores instead of OSFlag (see {{: | * Prepare a version of the demo program that guards the LCD resource using semaphores instead of OSFlag (see {{: | ||
lab2.1390189144.txt.gz · Last modified: 2014/01/20 03:39 by allison