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

no-image

MCP795B10

Manufacturer Part Number
MCP795B10
Description
SPI Real-Time Clock Calendar
Manufacturer
MAS [Micro Analog systems]
Datasheet
REGISTER 5-4:
REGISTER 5-5:
 2011 Microchip Technology Inc.
CALSGN
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’
Note:
Note:
bit 3-0
bit 7-6
bit 2-0
bit 7
bit 6
bit 5
bit 4
bit 5
bit 4
bit 3
RW
U
CALSGN
Bit 7 is the sign bit (CALSGN) for the calibration. Clearing this bit produces a positive calibration, setting
this bit produces a negative calibration.
12/24
Clearing this bit to ‘0’ enables 24-hour format, setting this bit ‘1’ enables 12-hour format.
10 Hour (AM/PM bit for 12-hour time)
10 Hour
Hour
Contains the BCD hour in bits <3:0>. Bits <5:4> contain either the 10-hour in BCD for 24-hour format or
the AM/PM indicator and the 10-hour bit for 12-hour format. Bit 5 determines the hour format.
Unimplemented bit, read as ‘0’
Bit 5 is the OSCON bit. This is set and cleared by hardware. If this bit is set the oscillator is running, if
clear, the oscillator is not running. This bit does not indicate that the oscillator is running at the correct fre-
quency. The bit will wait 32 oscillator cycles before the bit is set.
Bit 4 is the V
oscillator and the RTCC registers. This bit is cleared by software.
Bit 3 is the VBATEN bit. If this bit is set the internal circuitry is connected to the V
then the V
leakage.
Day
Contains the BCD day. The range is 1-7. Also, additional bits are used for configuration and Status.
12/24
bit 6
bit 6
RW
U
BAT
HOUR 0
DAY 0
BAT
pin is disconnected and the only current drain on the external battery is the V
bit. This bit is set by hardware when the V
X
10 Hour
AM/PM
bit 5
OSCON
bit 5
04
X
03
RW
R
10 Hour
bit 4
V
bit 4
BAT
MCP795WXX/MCP795BXX
RW
RW
Preliminary
bit 3
bit 3
VBATEN
RW
CC
fails and the V
bit 2
Hour
RW
BAT
is used to power the
BAT
Day
RW
pin. If this bit is ‘0’
DS22280A-page 13
BAT
pin
bit 0
bit 0

Related parts for MCP795B10