MCP795WXX/MCP795BXX
REGISTER 6-4:
DAY 0X0F
RW
RW
ALM0C1
RW
ALM0IF
bit 3
RW
Day
ALM0PIN
bit 7
ALM0C2
bit6
ALM0C0
bit 4
bit 2
bit 0
Legend: R = Readable Bit W = Writable Bit U = Unimplemented bit, Read as ‘0’
bit 7
Bit 7 configures the pin that is used for the Alarm 0 output. If this bit is clear the IRQ pin is used. If set, the
WDO pin is used. If the WDT is enabled then a valid Alarm will assert the WDO pin for 122 us.
BIT 6:4 Bits <6:4> sets the condition on what the Alarm will trigger. The following options are available:
000– Seconds match
001– Minutes match
010– Hours match (logic takes into account 12/24 operation)
011– Day match. Generates interrupt at 12:00:00 AM
100– Date match
101– Unimplemented, do not use
110– Unimplemented, do not use
111– Seconds, Minutes, Hour, Day, Date and Month
bit 3
Bit 3 is the ALM0IF bit. This is set by hardware when an alarm condition has be generated. The bit must
be cleared in software.
bit 2-0 Day
REGISTER 6-5:
DATE 0X10
RW
U
U
RW
RW
10 Date
bit 4
Date
bit 7
bit 6
bit 5
bit 3
bit 0
Legend: R = Readable Bit W = Writable Bit U = Unimplemented bit, Read as ‘0’
bit 7-6 Unimplemented
bit 5-4 10 Date
bit 3-0 Date
2011 Microchip Technology Inc.
Preliminary
DS22280A-page 19