Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/28/08 19:30
Read: times


 
#154124 - Changing the bit....
Responding to: ???'s previous message
Well the most straightforward way is to read the register with the bit that must be changed to the ACC and then ....

- if you want to clear a bit in it use a CLR bit instruction

- if you want to set the bit in it use the SETB bit instruction

Write the resulting ACC content back to the register in the RTC.

I presume since you have the RTC "working in 24 hour" mode that you have functioning RTC register level read and write routines in place that you can leverage for reading this control register at location 02h.

Michael Karas


List of 8 messages in thread
TopicAuthorDate
RTC 1307            01/01/70 00:00      
   Changing the bit....            01/01/70 00:00      
      rtc 307            01/01/70 00:00      
         What does the data sheet say....            01/01/70 00:00      
         How to post source code            01/01/70 00:00      
            1307            01/01/70 00:00      
            THANKS            01/01/70 00:00      
      THANKS            01/01/70 00:00      

Back to Subject List