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

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
PIC18F46J11 FAMILY
When ALRMCFG = 00 and the CHIME bit = 0
(ALRMCFG<6>), the repeat function is disabled and
only a single alarm will occur. The alarm can be
repeated up to 255 times by loading the ALRMRPT
register with FFh.
After each alarm is issued, the ALRMRPT register is
decremented by one. Once the register has reached
‘00’, the alarm will be issued one last time.
After the alarm is issued a last time, the ALRMEN bit is
cleared automatically and the alarm turned off. Indefinite
repetition of the alarm can occur if the CHIME bit = 1.
When CHIME = 1, the alarm is not disabled when the
ALRMRPT register reaches ‘00’, but it rolls over to FF
and continues counting indefinitely.
FIGURE 17-6:
17.4
The timer and alarm can optionally continue to operate
while in Sleep, Idle and even Deep Sleep mode. An
alarm event can be used to wake-up the microcontroller
from any of these Low-Power modes.
17.5
17.5.1
When a device Reset occurs, the ALRMCFG and
ALRMRPT registers are forced to a Reset state
causing the alarm to be disabled (if enabled prior to the
Reset). If the RTCC was enabled, it will continue to
operate when a basic device Reset occurs.
DS39932D-page 244
RTCC Alarm Event
Low-Power Modes
Reset
ALRMEN bit
DEVICE RESET
RTCEN bit
RTCC Pin
TIMER PULSE GENERATION
17.3.2
At every alarm event, an interrupt is generated. Addi-
tionally, an alarm pulse output is provided that operates
at half the frequency of the alarm.
The alarm pulse output is completely synchronous with
the RTCC clock and can be used as a trigger clock to
other peripherals. This output is available on the RTCC
pin. The output pulse is a clock with a 50% duty cycle
and a frequency half that of the alarm event (see
Figure
The RTCC pin also can output the seconds clock. The
user can select between the alarm pulse, generated by
the RTCC module, or the seconds clock output.
The RTSECSEL (PADCFG1<1:0>) bits select between
these two outputs:
• Alarm pulse – RTSECSEL<1:0> = 00
• Seconds clock – RTSECSEL<1:0> = 0
17.5.2
The RTCCFG and ALRMRPT registers are reset only
on a POR. Once the device exits the POR state, the
clock registers should be reloaded with the desired
values.
The timer prescaler values can be reset only by writing
to the SECONDS register. No device Reset can affect
the prescalers.
17-6).
ALARM INTERRUPT
POWER-ON RESET (POR)
 2011 Microchip Technology Inc.

Related parts for PIC18F24J11