1. 首页
  2. 课程学习
  3. 嵌入式
  4. 软件中断技术

软件中断技术

上传者: 2022-10-23 02:41:54上传 PDF文件 83.73 KB 热度 5次

Thisapplicationnotedescribesauniquemethodfor

implementinginterruptsinsoftwareonthePIC16C5X

seriesofmicrocontrollers.Thismethodtakes

advantageofthePIC16C5X’sarchitecturewhichallows

changingtheprogramcounterundersoftwarecontrol.

Uptoeightinterruptlinesarepossible,butthepractical

limitforsimplecodegenerationissixinterrupts,or64

possibleinputconditions.Theinterruptdetectiontimeis

undersoftwarecontrolandstandardI/Opinsareused

astheinterruptlines.AN514SoftwareInterruptTechniquesINTRODUCTIONCREATINGCONSTANTTIMEThisapplicationnotedescribesauniquemethodforPOLLINGimplementinginterruptsinsoftwareonthePIC16C5XInmostapplicationsrequiringinterrupts,itisimportantseriesofmicrocontrollers.Thismethodtakestopolltheinterruptlinesatxedtimeintervals,usuallyadvantageofthePIC16C5X’sarchitecturewhichallowsonlyafewmicrosecondsinlength.Twotechniquesmaychangingtheprogramcounterundersoftwarecontrol.beusedonthePI

下载地址
用户评论