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

no-image

MCP795B10

Manufacturer Part Number
MCP795B10
Description
SPI Real-Time Clock Calendar
Manufacturer
MAS [Micro Analog systems]
Datasheet
MCP795WXX/MCP795BXX
REGISTER 7-4:
REGISTER 7-5:
DS22280A-page 22
bit 7
Legend: R = Readable Bit W = Writable Bit U = Unimplemented bit, Read as ‘0’
ALM1PIN
bit 7
Legend: R = Readable Bit W = Writable Bit U = Unimplemented bit, Read as ‘0’
BIT 6:4
bit 3-0
bit 2-0
bit 7
bit 6
bit 5
bit 4
bit 7
bit 3
RW
U
Unimplemented
12/24
10 Hour AM/PM
10 Hour
Hour
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 – Hundredths/Tenth of Seconds
110 – Unimplemented do not use
111 – Seconds, Minutes, Hour, Day and Date
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.
Day
12/24
bit 6
ALM1C2
bit 6
RW
RW
HOURS 0
DAY 0
X
10 Hour
AM/PM
bit 5
ALM1C1
bit 5
16
X
RW
RW
15
10 Hour
bit 4
ALM1C0
bit 4
RW
RW
Preliminary
bit 3
ALM1IF
bit 3
RW
bit 2
Hour
RW
 2011 Microchip Technology Inc.
Day
RW
bit 0
bit 0

Related parts for MCP795B10