??? 09/20/08 16:58 Read: times |
#158462 - formatted Responding to: ???'s previous message |
Vijay Singh said:
rtc_init1: call delay100ms mov addr,#0bh mov zdata,#set_time_mode call rtc_write mov addr,#0bh mov zdata,#update_time call rtc_write ret rtc_init2: ;call delay1sec call delay100ms clr rtc_CS clr rtc_AS mov a,#0bh mov p3,a setb rtc_AS clr rtc_AS mov a,#11101010b ;48h for 12Hr mode, 4Ah for 12Hr mode mov p3,a clr rtc_RW setb rtc_RW mov a,#0ah mov p3,a setb rtc_AS clr rtc_AS mov a,#2fh mov p3,a clr rtc_RW setb rtc_RW ret |
Topic | Author | Date |
Plz explain me these 2 subroutines of rtc clock | 01/01/70 00:00 | |
RTC right. But which ? | 01/01/70 00:00 | |
rtc ;12887f | 01/01/70 00:00 | |
Maybe this will help...![]() | 01/01/70 00:00 | |
formatted | 01/01/70 00:00 | |
formatting, fine but here is a bold suggestion | 01/01/70 00:00 |