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

no-image

MCP795B10

Manufacturer Part Number
MCP795B10
Description
SPI Real-Time Clock Calendar
Manufacturer
MAS [Micro Analog systems]
Datasheet
REGISTER 5-12:
 2011 Microchip Technology Inc.
bit 7
Legend: R = Readable Bit W = Writable Bit U = Unimplemented bit, Read as ‘0’
Note:
bit 5:4
bit 1:0
bit 7
bit 6
bit 3
bit 2
EVHIF
RW
When the configured number of high speed events has occurred the IRQ pin is asserted and the EVHIF
bit is set in hardware. The clear the IRQ pin and reset the EVHIF bit must be cleared in software.
When an event occurs on the low-speed pin this IRQ pin is asserted and the EVLIF bit is set. This bit must
be cleared by software to reset the module and clear the IRQ pin.
<1:0> These two bits determine what combination of the high and low-speed modules are enabled.
- 00 – Both modules are Off
- 01 – Low-speed module enabled, high speed disabled
- 10 – Low-speed module disabled, high speed enabled
- 11 – Both modules are enabled
Setting this bit overrides any setting for the High-Speed Event Detection and allows the EVHS pin to clear
the Watchdog Timer. This is edge triggered. Either and H-L or L-H transition will clear the WDT.
This is the Low-Speed Event Debounce setting. Depending on the state of this bit the low-speed pin will
have to remain at the same state for the following periods to be considered valid.
- 0 – 31.25 ms
- 1 – 500 ms
EVHS <1:0> These bits determine how many high-speed events must occur before the EVHIF bit is set.
All of these events must occur within 250 ms (based on the uncalibrated 32.768 kHz clock).
- 00 – 1st Event
- 01 – 4th Event
- 10 – 16th Event
- 11 – 32nd Event
Please see
bit 6
EVLIF
RW
EVENT DETECT 0
Section 9.1.4, Event Detection
bit 5
EVEN1
RW
X
bit 4
0B
EVEN0
MCP795WXX/MCP795BXX
RW
Preliminary
for more information.
bit 3
EVWDT
RW
bit 2
EVLDB
RW
bit 1
EVHS1
RW
DS22280A-page 17
bit 0
EVHS0
RW

Related parts for MCP795B10