欢迎来到天天文库
浏览记录
ID:34749287
大小:2.48 MB
页数:284页
时间:2019-03-10
《Programming Embedded Systems using C .pdf》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、ProgrammingEmbeddedSystemsIA10-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.6
2、P0.5P0.4P0.3P0.2P0.12122232425262728293031323334353637383940[v1.2a]Furtherinfo:http://www.le.ac.uk/engineering/mjp9/ICopyright©MichaelJ.Pont,2002-2006Thisdocumentmaybefreelydistributedandcopied,providedthatcopyrightnoticeatthefootofeachOHPpageisclearlyvis
3、ibleinallcopies.IISeminar1:“Hello,EmbeddedWorld”1Overviewofthisseminar2Overviewofthiscourse3Bytheendofthecourse…4Maincoursetextbook5WhyuseC?6Pre-requisites!7The8051microcontroller8The“superloop”softwarearchitecture9Strengthsandweaknessesesof“superloops”10
4、Example:Central-heatingcontroller11Readingfrom(andwritingto)portpins12SFRsandports13SFRsandports14Creatingandusingsbitvariables15Example:Readingandwritingbytes16Creating“softwaredelays”17Usingtheperformanceanalyzertotestsoftwaredelays18Strengthsandweaknes
5、sesofsoftware-onlydelays19Preparationforthenextseminar20IIISeminar2:Basichardwarefoundations(resets,oscillatorsandportI/O)21Review:The8051microcontroller22Review:Central-heatingcontroller23Overviewofthisseminar24OscillatorHardware25Howtoconnectacrystaltoa
6、microcontroller27Oscillatorfrequencyandmachinecycleperiod28Keeptheclockfrequencyaslowaspossible29Stabilityissues30Improvingthestabilityofacrystaloscillator31Overallstrengthsandweaknesses32ResetHardware34Morerobustresetcircuits35DrivingDCLoads36Useofpull-u
7、presistors38Drivingalow-powerloadwithoutusingabuffer39UsinganICBuffer40Example:BufferingthreeLEDswitha74HC0441Whatisamulti-segmentLED?42Drivingasingledigit43Preparationforthenextseminar44IVSeminar3:ReadingSwitches45Introduction46Review:Basictechniquesforr
8、eadingfromportpins47Example:Readingandwritingbytes(review)48Example:Readingandwritingbits(simpleversion)49Example:Readingandwritingbits(genericversion)51Theneedforpull-upresistors56Theneedforpull-upresistors57Thenee
此文档下载收益归作者所有