- Joined Oct 29, 2009
Why does RTCWREN need to be enabled to write to RTC registers on the Pic? Maybe a better question is why is there an RTCWREN? What makes the RTC registers different from any other SFR? The datasheet mentions RTCWREN should be locked when no writes to RTC registers are occurring to prevent "accidental" writes. How could that happen if the code does not let it occur?