PICmicro微控制器的一个实时操作系统
EverdreamofhavingaReal-TimeKernelforthe
PIC16CXXXfamilyofmicrocontrollers?Oreverwon-
derwhatMultitaskingorThreadsareallabout?Then
thisarticleisforyou.Wewillexplorehowtoimplement
allofthefeaturesofalargeReal-TimeMultitasking
Kernelinmuchlessspace,withmorecontrol,andwith-
outthelargeoverheadofexistingkernels.Byplanning
ahead,andusingthetechniquesoutlinedhere,youcan
buildyourownfast,light,powerful,flexiblereal-time
kernelwithjustthefeaturesneededtogetthejobdone.AN585AReal-TimeOperatingSystemforPICmicroMicrocontrollersWhydoINeedaReal-TimeKernel?Author:JerryFarmerReal-timedesigntechniquesallowtheengineer/MyriadDevelopmentCompanydesignertobreak-uplarge,complicatedproblemsintosmallersimplertasksorthreads.Thesemoremanageableunitsofcodeallowfasterresponsetoimpor