Electronic Components Datasheet Search
  English  ▼

X  

MCP79401 Datasheet(PDF) 20 Page - Microchip Technology

Part # MCP79401
Description  Battery-Backed I2C Real-Time Clock/Calendar with SRAM and Protected EEPROM
PDF  62 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

MCP79401 Datasheet(HTML) 20 Page - Microchip Technology

Back Button MCP79401 Datasheet HTML 16Page - Microchip Technology MCP79401 Datasheet HTML 17Page - Microchip Technology MCP79401 Datasheet HTML 18Page - Microchip Technology MCP79401 Datasheet HTML 19Page - Microchip Technology MCP79401 Datasheet HTML 20Page - Microchip Technology MCP79401 Datasheet HTML 21Page - Microchip Technology MCP79401 Datasheet HTML 22Page - Microchip Technology MCP79401 Datasheet HTML 23Page - Microchip Technology MCP79401 Datasheet HTML 24Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 20 / 62 page
background image
MCP79400/MCP79401/MCP79402
DS20005009F-page 20
 2011-2016 Microchip Technology Inc.
5.4
Alarms
The MCP7940X features two independent alarms. Each
alarm can be used to either generate an interrupt at a
specific time in the future, or to generate a periodic
interrupt every minute, hour, day, day of week, or month.
There is a separate interrupt flag, ALMxIF, for each
alarm. The interrupt flags are set by hardware when the
chosen alarm mask condition matches (Table 5-5). The
interrupt flags must be cleared in software.
If either alarm module is enabled by setting the
corresponding ALMxEN bit in the CONTROL register,
and if the square wave clock output is disabled
(SQWEN = 0), then the MFP will operate in alarm
interrupt output mode. Refer to Section 5.5 “Output
Configurations”
for details. The alarm interrupt output
is available while operating from the backup power
supply.
Both Alarm0 and Alarm1 offer identical operation. All
time and date values are stored in the registers as
binary-coded decimal (BCD) values.
TABLE 5-5:
ALARM MASKS
FIGURE 5-6:
ALARM BLOCK DIAGRAM
Note:
Throughout this section, references to the
register and bit names for the Alarm
modules are referred to generically by the
use of ‘x’ in place of the specific module
number. Thus, “ALMxSEC” might refer to
the seconds register for Alarm0 or Alarm1.
ALMxMSK<2:0>
Alarm Asserts on Match of
000
Seconds
001
Minutes
010
Hours
011
Day of Week
100
Date
101
Reserved
110
Reserved
111
Seconds, Minutes, Hours, Day of
Week, Date, and Month
Note 1:
The alarm interrupt flags must be cleared
by the user. If a flag is cleared while the
corresponding
alarm
condition
still
matches, the flag will be set again,
generating another interrupt.
2:
Loading invalid values into the alarm
registers
will
result
in
undefined
operation.
MFP
RTCSEC
RTCMIN
RTCHOUR
RTCWKDAY
RTCDATE
RTCMTH
Timekeeping
Registers
ALM1SEC
ALM1MIN
ALM1HOUR
ALM1WKDAY
ALM1DATE
ALM1MTH
Alarm1
Registers
ALM0SEC
ALM0MIN
ALM0HOUR
ALM0WKDAY
ALM0DATE
ALM0MTH
Alarm0
Registers
Alarm0 Mask
Alarm1 Mask
Comparator
Comparator
MFP Output Logic
Set
ALM0IF
Set
ALM1IF
ALM0MSK<2:0>
ALM1MSK<2:0>



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com