PIC18F24J11 MICROCHIP [Microchip Technology], PIC18F24J11 Datasheet - Page 243

no-image

PIC18F24J11

Manufacturer Part Number
PIC18F24J11
Description
28/44-Pin, Low-Power, High-Performance USB Microcontrollers with nanoWatt XLP Technology
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F24J11-I/ML
Manufacturer:
MICROCHIP
Quantity:
49 000
Part Number:
PIC18F24J11-I/SO
Manufacturer:
Microchip Technology
Quantity:
1 960
17.3
The alarm features and characteristics are:
• Configurable from half a second to one year
• Enabled using the ALRMEN bit (ALRMCFG<7>,
• Offers one-time and repeat alarm options
17.3.1
The alarm feature is enabled using the ALRMEN bit.
This bit is cleared when an alarm is issued. The bit will
not be cleared if the CHIME bit = 1 or if ALRMRPT  0.
The interval selection of the alarm is configured
through the ALRMCFG bits (AMASK<3:0>). (See
Figure
many digits of the alarm must match the clock value for
the alarm to occur.
FIGURE 17-5:
 2011 Microchip Technology Inc.
Register
Note 1:
0000 – Every half second
0001 – Every second
0010 – Every 10 seconds
0011 – Every minute
0100 – Every 10 minutes
0101 – Every hour
0110 – Every day
0111 – Every week
1000 – Every month
1001 – Every year
17-5.) These bits determine which and how
Alarm Mask Setting
Alarm
AMASK<3:0>
17-4)
CONFIGURING THE ALARM
Annually, except when configured for February 29.
ALARM MASK SETTINGS
(1)
Day of the
Week
d
Month
m
m
PIC18F46J11 FAMILY
The alarm can also be configured to repeat based on a
preconfigured interval. The number of times this occurs
after the alarm is enabled is stored in the ALRMRPT
register.
Note:
d
d
Day
d
d
While the alarm is enabled (ALRMEN =
1), changing any of the registers – other
than the RTCCAL, ALRMCFG and ALRM-
RPT registers and the CHIME bit – can
result in a false alarm event leading to a
false alarm interrupt. To avoid this, only
change the timer and alarm values while
the alarm is disabled (ALRMEN = 0). It is
recommended that the ALRMCFG and
ALRMRPT registers and CHIME bit be
changed when RTCSYNC = 0.
Hours
h
h
h
h
h
h
h
h
Minutes
m
m
m
m
m
m
m
m
m
m
m
DS39932D-page 243
Seconds
s
s
s
s
s
s
s
s
s
s
s
s
s
s
s

Related parts for PIC18F24J11