上传者: xiaojiaohuazi
|
上传时间:2024/10/3 2:44:38
|
文件大小:6.38MB
|
文件类型:pdf
LinuxDriverDevelopmentforEmbeddedProcessors-SecondEdition
LinuxDriverDevelopmentforEmbeddedProcessors–SecondEdition版本:LearntodevelopLinuxembeddeddriverswithkernel4.9LTSTheflexibilityofLinuxembedded,theavailabilityofpowerful,energyefficientprocessorsdesignedforembeddedcomputingandthelowcostofnewprocessorsareencouragingmanyindustrialcompaniestocomeupwithnewdevelopmentsbasedonembeddedprocessors.Currentengineershaveintheirhandspowerfultoolsfordevelopingapplicationspreviouslyunimagined,buttheyneedtounderstandthecountlessfeaturesthatLinuxofferstoday.ThisbookwillteachyouhowtodevelopdevicedriversforDeviceTreeLinuxembeddedsystems.YouwilllearnhowtowritedifferenttypesofLinuxdrivers,aswellastheappropriateAPIs(ApplicationProgramInterfaces)andmethodstointerfacewithkernelanduserspaces.Thisisabookismeanttobepractical,butalsoprovidesanimportanttheoreticalbase.Morethantwentydriversarewrittenandportedtothreedifferentprocessors.YoucanchoosebetweenNXPi.MX7D,MicrochipSAMA5D2andBroadcomBCM2837processorstodevelopandtestthedrivers,whoseimplementationisdescribedindetailinthepracticallabsectionsofthebook.Beforeyoustartreading,IencourageyoutoacquireanyoftheseprocessorboardswheneveryouhaveaccesstosomeGPIOs,andatleastoneSPIandI2Ccontrollers.OneoftheboardsusedtoimplementthedriversisthefamousRaspberryPI3ModelBboard.Youwilllearnhowtodevelopdrivers,fromthesimplestonesthatdonotinteractwithanyexternalhardware,todriversthatmanagedifferentkindofdevices:accelerometers,DACs,ADCs,RGBLEDs,Multi-DisplayLEDcontrollers,I/Oexpanders,andButtons.YouwillalsodevelopDMAdrivers,driversthatmanageinterrupts,anddriversthatwrite/readontheinternalregistersoftheprocessortocontrolexternaldevices.Toeasythedevelopmentofsomeofthesedrivers,youwillusedifferenttypesofFrameworks:
本软件ID:10901679