Forum Index
RTOS TimeSlice Shell For ZX-xx Microcontrollers

 
Author Message
zbasicandy



Joined: 26 Jan 2006

Posted: 25 May 2006, 17:28 PM    Post subject: RTOS TimeSlice Shell For ZX-xx Microcontrollers

With the RTOS_Timeslice_R1.bas "locked timeslice" code you can do the following:

#1 Execute any number of tasks at regular locked intervals.(e.g. every 20 ms./100 ms./500 ms.)
Blocks of user code can executed in the non-interleaved multitasking interval mode.
#2 You can choose the frequency of executing each task by altering the Time_Class_x_Counter_Max.
#3 You can choose the order of execution by having the most important task first.
#4 You can have the slow, infrequent tasks run in the periodic background in the Sub "Main Do/Loop".
#5 PID can be easily implemented in this fixed non-interleaved interval multitasking routine.
Note: PID requires a fixed "non-interleaved" timeslice for the PID calculations and tuning.



RTOS_Timeslice_R1.bas
 Description:
RTOS TimeSlice Shell

Download
 Filename:  RTOS_Timeslice_R1.bas
 Filesize:  20.17 KB
 Downloaded:  1075 Time(s)

Back to top
Display posts from previous:   
Page 1 of 1

 



ZBasic Microcontrollers Home
All content Copyright © 2005, 2006, 2007, 2008 Elba Corp. All Rights Reserved.
Opinions expressed in posts are those of the author and not necessarily those of Elba Corp.
Powered by phpBB © 2001, 2005 phpBB Group