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

使用PIC Timer1在异步时钟模式

使用PIC Timer1在异步时钟模式