Real-Time Embedded Components and Systems With Linux and RTOS by Sam Siewert & John Pratt
Author:Sam Siewert & John Pratt [Siewert, Sam & Pratt, John]
Language: eng
Format: epub
Tags: Computers, Microprocessors, Software Development & Engineering, General, Computer Engineering, Hardware
ISBN: 9781942270041
Google: ShTNrQEACAAJ
Amazon: 1942270046
Publisher: Mercury Learning & Information
Published: 2015-08-14T21:00:00+00:00
Exercises
Create a user-defined interrupt handler for the timer ISR and a task for processing. The timer should be scheduled on a regular basis, and the interrupt handler should signal the processing task. To ensure that the timer is being triggered with the correct periodicity, pass the interrupt timing to the processing task.
Create a pair of tasks that signal each other. The first task performs some computation, signals the other task, and waits for a signal from that task. The second task repeats the same pattern so that they alternate. Each task should complete a defined amount of work, such as computing a specified number of Fibonacci values. Profile each task so that one task is executing for 10 ms and the other for 40 ms.
Modify the timer ISR to signal two tasks with different frequencies: one task every 30 ms and the other every 80 ms. Use your processing load from #2 to run 10 ms of processing on the 30-ms task and 40 ms of processing on the 80-ms task.
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Computer Design | Control Systems |
DSPs | Embedded Systems |
Microprocessor Design | PIC Microcontroller |
Building Low Latency Applications with C++ by Sourav Ghosh(2933)
Fusion 360 for Makers by Lydia Sloan Cline(1987)
Networking A Beginner's Guide by Bruce Hallberg(1933)
But How Do It Know? by J. Clark Scott(1817)
Computers For Seniors For Dummies by Nancy C. Muir(1769)
Arduino Project Handbook, Volume 2: 25 Simple Electronics Projects for Beginners by Geddes Mark(1755)
Hands-On Linux for Architects by Denis Salamanca(1738)
Hack and HHVM by Owen Yamauchi(1676)
31 Days Before Your CompTIA A+ Exams (Shanette Luellen's Library) by Benjamin Patrick Conry(1665)
MicroPython Projects by Jacob Beningo(1472)
PrestaShop Recipes by Arnaldo Pérez Castaño(1467)
9781803246888-ENHANCING DEEP LEARNING WITH BAYESIAN INFERENCE by Unknown(1456)
Hands-On Internet of Things with MQTT by Tim Pulver(1417)
Raspberry Pi Electronics Projects for the Evil Genius (Tab) by Norris Donald & Norris Donald(1384)
Getting Started with Soldering: A Hands-On Guide to Making Electrical and Mechanical Connections by Vinck Marc de(1379)
Embedded Systems Architecture by Daniele Lacamera(1377)
Healthcare Information Security and Privacy (All-In-One) by Sean Murphy(1370)
Shaping the Fourth Industrial Revolution by Klaus Schwab & Nicholas Davis & Satya Nadella(1358)
Mastering Kubernetes by Gigi Sayfan(1349)