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
暂无评论