所需E币: 3
时间: 2019-12-24 21:23
大小: 88.25KB
ThisapplicationnotediscussestheuseofthePIC16CXXXTimer1moduleasanasynchronousclock.TheTimer1modulehasitownoscillatorcircuitry,whichallowsthetimertokeepreal-time,evenwhenthedeviceisinSLEEPmode.Whenthedeviceisinsleep,theoscillatorwillcontinuetoincrementTMR1.Anover-flowoftheTMR1registercausesaTMR1OverflowInterrupt(ifenabled)andwillwaketheprocessorfromsleep.Theinterruptserviceroutinecanthenperformthedesiredtask.MUsingTimer1inAsynchronousClockModeAN580Inasynchronousoperation,iftheclocksourceisanAuthor:MarkPalmerexternalclock,itisinputontheT1CKIpin.IftheclockMicrochipTechnologyInc.sourceisacrystaloscillator,thecrystalisconnectedacrosstheT1OSOandT1OSIpins.INTRODUCTIONWhenusingTimer1inAsynchronousmode,theuseofThisapplicationnotediscussestheuse……