Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Hi,-Assume all your tasks raised a GPIO pin high when they start being run and lower it when theyve finished their work. They then use

Hi,-Assume all your tasks raised a GPIO pin high when they start being run and lower it when theyve finished their work. They then use vTaskDelayUntil() to allow the task to run for the appropriate fixed amount of time. You have Task A running every 5ms at priority 1 and using 1.9ms of CPU time and Task B running every 3ms at priority 2 and using 0.9ms of CPU time. Assume the scheduler has no delay.

Q-Draw a graph of what the GPIO pins of task A and task B would look like starting at time 0 (when both wish to run) and ending at 15ms. Assume that when a task does a DelayUntil the scheduler is run immediately to pick out the next task that should run.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts International Edition

Authors: David M. Kroenke

6th Edition International Edition

0133098222, 978-0133098228

More Books

Students also viewed these Databases questions

Question

Discuss termination of employees at various levels.

Answered: 1 week ago

Question

a. Do team members trust each other?

Answered: 1 week ago

Question

a. How will the leader be selected?

Answered: 1 week ago