- Category:
- SCM
- Tags:
-
[C/C++]
[源码]
- File Size:
- 534kb
- Update:
- 2013-11-01
- Downloads:
- 0 Times
- Uploaded by:
- zixing
Description: If the task is very large, the timer big trouble, because the microcontroller interrupt program should end as soon as possible. Moreover, if the timing of the task A and task B simultaneously timed to the implementation of what? If you do A, then B must abandon, note that is discarded and not wait for a while before running B. Also, if a task execution time jitter occurs, the entire system and other tasks have to suffer, and so on. In my code, to try to resolve these issues. At this point, I do not intend to bring everyone to the code line by line analysis. This stuff is useless to explain, understand themselves to realize is king, my code was already very detailed notes in fact. Code is focused SCH51.C and T0_INIT.C two documents, we must first look CONFIG.H before using the configuration. task.c contents of the file you can customize to achieve. I have another comment.
To Search:
File list (Check if you may need any files):
SCH51 ★★★★★★★ -抢占式-完\SCH51\debug\Main.obj
...............................\.....\.....\Sch51.obj
...............................\.....\.....\SCH51_App
...............................\.....\.....\SCH51_App.hex
...............................\.....\.....\SCH51_App.lnp
...............................\.....\.....\SCH51_App.plg
...............................\.....\.....\T0_init.obj
...............................\.....\.....\task.obj
...............................\.....\pdf\config.h.pdf
...............................\.....\...\Main.c.pdf
...............................\.....\...\Sch51.c.pdf
...............................\.....\...\SCH51.h.pdf
...............................\.....\...\T0_init.c.pdf
...............................\.....\...\T0_init.h.pdf
...............................\.....\...\task.c.pdf
...............................\.....\...\TASK.h.pdf
...............................\.....\Read me.txt
...............................\.....\SCH51\config.h
...............................\.....\.....\Sch51.c
...............................\.....\.....\Sch51.h
...............................\.....\.....\T0_init.c
...............................\.....\.....\T0_init.h
...............................\.....\task\task.c
...............................\.....\....\task.h
...............................\.....\user\Main.c
...............................\.....\....\Main.LST
...............................\.....\....\Sch51.lst
...............................\.....\....\SCH51_App.m51
...............................\.....\....\SCH51_App.uvopt
...............................\.....\....\SCH51_App.uvproj
...............................\.....\....\SCH51_App_uvopt.bak
...............................\.....\....\SCH51_App_uvproj.bak
...............................\.....\....\T0_init.lst
...............................\.....\....\task.lst
...............................\.....\debug
...............................\.....\pdf
...............................\.....\SCH51
...............................\.....\task
...............................\.....\user
...............................\SCH51
SCH51 ★★★★★★★ -抢占式-完