|
MCP7952X Datasheet, PDF (17/50 Pages) Micro Analog systems – 3V SPI Real-Time Clock Calendar with Battery Switchover | |||
|
◁ |
MCP7952X/MCP7951X
REGISTER 6-4: DAY 0X0F
R/W
R/W
R/W
R/W
â
ALM0C2 ALM0C1 ALM0C0 ALM0IF
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â
bit 7
bit 6-4
bit 3
bit 2-0
Unimplemented: Read as â0â
ALM0C<2:0>: Alarm 0 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
ALM0IF: Alarm 0 Interrupt Flag bit
This bit is set by hardware when an alarm condition has been generated. The bit must be cleared in
software.
DAY<2:0>
Note 1: Contains the BCD day. The range is 1-7. Also, additional bits are used for configuration and status.
REGISTER 6-5: DATE 0X10
U-0
U-0
R/W
R/W
â
â
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â
bit 7-6
bit 5-4
bit 3-0
Unimplemented: Read as â0â
10 DATE<1:0>
DATE<3:0>
ï£ 2012 Microchip Technology Inc.
Preliminary
DS22300A-page 17
|
▷ |