Datasheet
2010-2013 Microchip Technology Inc. DS20002266E-page 19
MCP79410/MCP79411/MCP79412
REGISTER 7-4: ALARM X DAY (0X0D/0X14)
R/W-0 R/W-0 R/W-0 R/W-1
ALMxPOL ALMxC2 ALMxC1 ALMxC0 ALMxIF Day
bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 0
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
-n = Value at POR ‘1’ = Bit is set “0” = Bit is clear “X” = Bit is unknown
bit 7
ALMxPOL: The Asserted Level of the Alarm (1 = High, 0 = Low)
bit 6-4
ALMxC<2:0>: Alarm X Configuration bits
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
ALMxIF: Alarm X Interrupt Flag bit
This bit is set by hardware when an alarm condition has been generated. The bit must be cleared in
software.
1 = Alarm has been triggered
0 = No alarm pending
bit 2-0 DAY<2:0>: Binary-Coded Decimal Value of Day
Contains a value from 1 to 7
REGISTER 7-5: ALARM X DATE (0X0E/0X15)
U-0 U-0 R/W-0 R/W-1
— — 10 Date Date
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’
-n = Value at POR ‘1’ = Bit is set “0” = Bit is clear “X” = Bit is unknown
bit 7-6 Unimplemented: Read as ‘0’
bit 5-4
10 DATE<1:0>: Binary-Coded Decimal Value of Date’s Tens Digit
Contains a value from 0 to 3
bit 3-0
DATE<3:0>: Binary-Coded Decimal Value of Date’s Ones Digit
Contains a value from 0 to 9