1. 首页
  2. 课程学习
  3. 嵌入式
  4. 使用PIC Timer1在异步时钟模式

使用PIC Timer1在异步时钟模式

上传者: 2022-10-20 12:24:40上传 PDF文件 88.25 KB 热度 12次

Thisapplicationnotediscussestheuseofthe

PIC16CXXXTimer1moduleasanasynchronousclock.

TheTimer1modulehasitownoscillatorcircuitry,which

allowsthetimertokeepreal-time,evenwhenthe

deviceisinSLEEPmode.Whenthedeviceisinsleep,

theoscillatorwillcontinuetoincrementTMR1.Anover-flowoftheTMR1registercausesaTMR1Overflow

Interrupt(ifenabled)andwillwaketheprocessorfrom

sleep.Theinterruptserviceroutinecanthenperform

thedesiredtask.

MUsingTimer1inAsynchronousClockModeAN580Inasynchronousoperation,iftheclocksourceisanAuthor:MarkPalmerexternalclock,itisinputontheT1CKIpin.IftheclockMicrochipTechnologyInc.sourceisacrystaloscillator,thecrystalisconnectedacrosstheT1OSOandT1OSIpins.INTRODUCTIONWhenusingTimer1inAsynchronousmode,theuseofThisapplicationnotediscussestheuse

下载地址
用户评论