MCP795B10 MAS [Micro Analog systems], MCP795B10 Datasheet - Page 19

no-image

MCP795B10

Manufacturer Part Number
MCP795B10
Description
SPI Real-Time Clock Calendar
Manufacturer
MAS [Micro Analog systems]
Datasheet
REGISTER 6-4:
REGISTER 6-5:
 2011 Microchip Technology Inc.
ALM0PIN
bit 7
Legend: R = Readable Bit W = Writable Bit U = Unimplemented bit, Read as ‘0’
bit 7
Legend: R = Readable Bit W = Writable Bit U = Unimplemented bit, Read as ‘0’
BIT 6:4
bit 2-0
bit 7-6
bit 5-4
bit 3-0
bit 7
bit 3
RW
U
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.
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 is the ALM0IF bit. This is set by hardware when an alarm condition has be generated. The bit must
be cleared in software.
Day
Unimplemented
10 Date
Date
ALM0C2
bit6
bit 6
U
DAY 0
DATE 0
X
ALM0C1
bit 5
0F
X
10
RW
RW
10 Date
ALM0C0
bit 4
bit 4
MCP795WXX/MCP795BXX
RW
Preliminary
ALM0IF
bit 3
bit 3
RW
bit 2
Date
RW
Day
RW
DS22280A-page 19
bit 0
bit 0

Related parts for MCP795B10