PIC18F25J50 MICROCHIP [Microchip Technology], PIC18F25J50 Datasheet - Page 241

no-image

PIC18F25J50

Manufacturer Part Number
PIC18F25J50
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:
PIC18F25J50-I/SO
Manufacturer:
MICROCHIP
Quantity:
1 001
Part Number:
PIC18F25J50-I/SP
Manufacturer:
MICROCHIP
Quantity:
1 001
Part Number:
PIC18F25J50-I/SS
Manufacturer:
MICROCHIP
Quantity:
1 001
Part Number:
PIC18F25J50T-I/SO
Manufacturer:
MICROCHIP
Quantity:
1 001
Part Number:
PIC18F25J50T-I/SS
Manufacturer:
MICROCHIP
Quantity:
1 001
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
PIC18F46J50 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
ALRMRPT registers, and CHIME bit be
While the alarm is enabled (ALRMEN = 1),
changing any of the registers, other than
the RTCCAL, ALRMCFG and ALRMRPT
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 recom-
mended
changed when RTCSYNC = 0.
Hours
h
h
h
h
h
h
h
h
that
Minutes
m
m
m
m
m
the
m
m
m
m
m
m
DS39931D-page 241
ALRMCFG
Seconds
s
s
s
s
s
s
s
s
s
s
s
s
s
s
s
and

Related parts for PIC18F25J50