English
Language : 

PIC24FJ256GA110_10 Datasheet, PDF (211/330 Pages) Microchip Technology – 64/80/100-Pin, 16-Bit, General Purpose Flash Microcontrollers with Peripheral Pin Select
PIC24FJ256GA110 FAMILY
19.0 REAL-TIME CLOCK AND
CALENDAR (RTCC)
Note:
This data sheet summarizes the features of
this group of PIC24F devices. It is not
intended to be a comprehensive reference
source. For more information, refer to the
“PIC24F Family Reference Manual”,
Section 29. “Real-Time Clock and
Calendar (RTCC)” (DS39696).
The Real-Time Clock and Calendar (RTCC) provides
on-chip, hardware-based clock and calendar function-
ality with little or no CPU overhead. It is intended for
applications where accurate time must be maintained
for extended periods with minimal CPU activity and
with limited power resources, such as battery-powered
applications.
Key features include:
• Time data in hours, minutes and seconds, with a
granularity of one-half second
• 24-hour format (military time) display option
• Calendar data as date, month and year
• Automatic, hardware-based day of week and leap
year calculations for dates from 2000 through
2099
• Time and calendar data in BCD format for
compact firmware
• Highly configurable alarm function
• External output pin with selectable alarm signal or
seconds “tick” signal output
• User calibration feature with auto-adjust
A simplified block diagram of the module is shown in
Figure 19-1.The SOSC and RTCC will both remain
running while the device is held in Reset with MCLR
and will continue running after MCLR is released.
FIGURE 19-1:
RTCC BLOCK DIAGRAM
RTCC Clock Domain
32.768 kHz Input
from SOSC Oscillator
RTCC Prescalers
0.5s
Alarm
Event
RTCC Timer
Comparator
Compare Registers
with Masks
Repeat Counter
CPU Clock Domain
RCFGCAL
ALCFGRPT
RTCVAL
ALRMVAL
YEAR
MTHDY
WKDYHR
MINSEC
ALMTHDY
ALWDHR
ALMINSEC
RTCC Interrupt Logic
RTCC Interrupt
Alarm Pulse
RTCOE
RTCC Pin
 2010 Microchip Technology Inc.
DS39905E-page 211