A Practical Guide
Richard Barry
This page intentionally left blank
© 2009 Richard Barry All text, source code and diagrams are the exclusive property of Richard Barry. Distribution or publication in any form is strictly prohibited without prior written authority from Richard Barry. FreeRTOS™, FreeRTOS.org™ and the FreeRTOS logo are trade marks of Richard Barry. Version 1.0.5
http://www.FreeRTOS.org
CONTENTS
CONTENTS I
LIST OF FIGURES .........................................................................................................................V LIST OF CODE LISTINGS.............................................................................................................VI LIST OF TABLES...........................................................................................................................IX LIST OF NOTATION.......................................................................................................................X CHAPTER 1 TASK MANAGEMENT......................................................................................... 1 1.1 CHAPTER INTRODUCTION AND SCOPE ..................................................................................... 2 An Introduction to Multi Tasking in Small Embedded Systems ..................................................... 2 A Note About Terminology ........................................................................................................... 2 Scope........................................................................................................................................... 3 1.2 TASK FUNCTIONS ................................................................................................................... 4 1.3 TOP LEVEL TASK STATES ....................................................................................................... 5 1.4 CREATING TASKS