04 04-EmbeddedSoftwareArchitectures

August 9, 2022 | Author: Anonymous | Category: N/A
Share Embed Donate


Short Description

Download 04 04-EmbeddedSoftwareArchitectures...

Description

  mbedded Software Architecture

Real Time Embedded Systems, GWU, Spring 2006

1

CSCI-190 CSCI-190 & & CSCI CSCI 297 297 Real Real Time Time Embedded Embedded Systems Systems

Embedded Embedded Software Architectures ss Software Architecture Architectures Architecture

 

©© 2005-2010 2005-2010 Dan Dan Eisenreich Eisenreich www.atomicrhubarb.com www.atomicrhubarb.com

Real Time Embedded Systems, GWU, Spring 2006

2

Survey Of mbedded Software Architectures



Round Robin



State Machine



Round Robin with Interrupts



Just interrupts





Function Queue Scheduling Real-Time Operating System

Real Time Embedded Systems, GWU, Spring 2006

3

Round Robin ●



Round Robin / Control Loop Everything is a function call from the main loop main { ...   while(1) {   check_buttons(); scan_display();   read_tempsensor();   operate_motor();   } }

Real Time Embedded Systems, GWU, Spring 2006

4

Round Robin ●

Low priority tasks need to be slowed down while(1) {               }

... if (display_skips
View more...

Comments

Copyright ©2017 KUPDF Inc.
SUPPORT KUPDF