On 07/18/10 05:27 pm, vasile surducan wrote:

        const bit RTC_enabled = 1
        const bit RTC_disabled = 0

        procedure RTC_writing (bit in value) is
          RTCCFG_RTCWREN = value -- 1 enabled, 0 disabled
          EECON2    = 0x55      -- \ required sequence
          EECON2    = 0xAA      -- /
          RTCCFG_RTCWREN = 1    ; allow writting to RTCCFG
        end procedure


I said the result of this procedure is always that RTCWREN is 1,
regardless if the 'value' you call it with is 0 or 1.
What is your counter-argument? None! End of discussion!

Rob

--
Rob Hamerling, Vianen, NL (http://www.robh.nl/)

--
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/jallib?hl=en.

Reply via email to