欢迎来到天天文库
浏览记录
ID:7942003
大小:1.69 MB
页数:349页
时间:2018-03-02
《programming embedded system ii keil 8051外语英文电子书》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、ProgrammingEmbeddedSystemsIIA10-weekcourse,usingCMichaelJ.PontUniversityofLeicester2019181716151413121110987654321VSSXTL1XTL2P3.7P3.6P3.5P3.4P3.3P3.2P3.1P3.0RSTP1.7P1.6P1.5P1.4P1.3P1.2P1.1P1.0‘8051’/PSENP2.0P2.1P2.2P2.3P2.4P2.5P2.6P2.7P0.0VCCALE/EAP0.7P0.6P0.5P0.4P0.3P0.2P0.12122232425262728
2、293031323334353637383940[v1.1]ICopyright©MichaelJ.Pont,2002-2003Thisdocumentmaybefreelydistributedandcopied,providedthatcopyrightnoticeatthefootofeachOHPpageisclearlyvisibleinallcopies.IISeminar1:Aflexibleschedulerforsingle-processorembeddedsystems1Overviewofthisseminar2Overviewofthiscourse3
3、Bytheendofthecourseyou’llbeableto…4Maincoursetext5IMPORTANT:Courseprerequisites6Review:WhyuseC?7Review:The8051microcontroller8Review:The“superloop”softwarearchitecture9Review:Anintroductiontoschedulers10Review:Buildingascheduler11Overviewofthisseminar12TheCo-operativeScheduler13Overview14The
4、schedulerdatastructureandtaskarray15Thesizeofthetaskarray16Onepossibleinitialisationfunction:17IMPORTANT:The‘oneinterruptpermicrocontroller’rule!18The‘Update’function19The‘AddTask’function20The‘Dispatcher’22Functionarguments24FunctionpointersandKeillinkeroptions25The‘Start’function28The‘Dele
5、teTask’function29Reducingpowerconsumption30Reportingerrors31Displayingerrorcodes34Hardwareresourceimplications35WhatistheCPUloadofthescheduler?36Determiningtherequiredtickinterval38Guidelinesforpredictableandreliablescheduling40Overallstrengthsandweaknessesofthescheduler41Preparationsforthen
6、extseminar42IIISeminar2:Acloserlookatco-operativetaskscheduling(andsomealternatives)43Overviewofthisseminar44Review:Co-operativescheduling45Thepre-emptivescheduler46Whydoweavoidpre-emptiveschedulersinthiscourse?47Whyisaco-operativescheduler(generally)morereliable?48Criticalsectionsofcode49Ho
7、wdowedealwithcriticalsectionsinapre-emptivesystem?50Buildinga“lock”mechanism51The“bestofbothworlds”-ahybridscheduler55Creatingahybridscheduler56The‘Update’functionforahybridscheduler.58Reliabilityandsafetyissues61Thesafestwaytousethehybridscheduler
此文档下载收益归作者所有