低功耗的实时时钟
ThisapplicationnoteusestheTimer1module,froma
mid-rangePIC16CXXXmicrocontroller,tocontrola
low-powerreal-timeclock.Timer1waschosenbecause
ithasitsowncrystalwhichallowsthemoduletooperate
duringsleep.Thetwoeventsthatwillwakethedevice
fromsleep(forthisapplication)areakeypressanda
Timer1overflow.MLow-PowerReal-TimeClockAN582theselectedunitsvaluesaredisplayed.Uponkeyrelease,Author:MarkPalmertheTimercountsoutonesecondandbeginsashingtheMicrochipTechnologyInc.selectedunits.TheCLR_MINKey(S3)clearstheminutesandseconds.CLR_MINisusefulforexactlysettingthetimeINTRODUCTIONtothe“topofthehour”asannouncedinradiobroadcast
用户评论