tag 标签: pic16f1827

相关资源
  • 所需E币: 4
    时间: 2019-12-24 19:15
    大小: 69.09KB
    上传者: givh79_163.com
    INTRODUCTIONThisapplicationnotedescribestheimplementationofsoftwareReal-TimeClockandCalendar(RTCC).Theimplementationcanbeusedeitherseparately,replacingoneofthehardwareRTCCdevicesonthemarket,oraspartofanapplication.Inthelatterexample,thereisnoneedfortheI2C™communicationchannel.Theimplementationprovidesthetime(seconds,minutes,andhour),date(day,month,andyear),dayofweek,andonealarm.Theusercancustomizethefirmwareaccordingtohis/herownneeds.AN1303SoftwareReal-TimeClockandCalendarUsingPIC16F1827Author:CristianTomaDATAINTERFACEMicrochipTechnologyInc.TheReal-TimeClockandCalendarcommunicateswiththehostsystemviaatwo-wireI2Cbusasaslavedevice.AsetofI2CcommandsandRTCCregistersareINTRODUCTIONimplementedtoallowthehosttoreadandwritetimeThisapplicationnotedescribestheimplementationofanddateinformation.Allregistersarereadand……