MCP795WXX/MCP795BXX
REGISTER 7-4:
HOURS 0X15
U
RW
12/24
RW
RW
RW
10 Hour
AM/PM
10 Hour
Hour
bit 7
bit 6
bit 5
bit 4
bit 3
bit 0
Legend: R = Readable Bit W = Writable Bit U = Unimplemented bit, Read as ‘0’
bit 7
bit 6
bit 5
bit 4
Unimplemented
12/24
10 Hour AM/PM
10 Hour
bit 3-0 Hour
REGISTER 7-5:
DAY 0X16
RW
RW
RW
ALM1C1
bit 5
RW
ALM1C0
bit 4
RW
ALM1IF
bit 3
RW
Day
ALM1PIN
bit 7
ALM1C2
bit 6
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– Hundredths/Tenth of Seconds
110– Unimplemented do not use
111– Seconds, Minutes, Hour, Day and Date
bit 3
Bit 3 is the ALM1IF bit. This is set by hardware when an alarm condition has be generated. The bit must
be cleared in software.
bit 2-0 Day
DS22280A-page 22
Preliminary
2011 Microchip Technology Inc.