參數(shù)資料
型號(hào): SM8578
廠商: Seiko NPC Corporation
英文描述: Real-time Clock IC
中文描述: 實(shí)時(shí)時(shí)鐘IC
文件頁(yè)數(shù): 14/16頁(yè)
文件大?。?/td> 117K
代理商: SM8578
SM8578BV
NIPPON PRECISION CIRCUITS INC.—14
Alarm Interrupt
Alarms can be set for day, day-of-week, hour, and minute. Also, multiple day-of-week alarms can be set.
It is recommended that the AF bit and AIE bit be initialized to “0” to avoid unexpected hardware interrupts dur-
ing the alarm setting procedure. Subsequent alarm data can be set and then the AF flag can be reset to zero for
reliable initialization. Then the AIE bit should be set to “1”. If hardware interrupts are never used, the AIE
should be set to “0” and the AF bit should be monitored using software as necessary.
Example 1) Alarm output for 6pm tomorrow:
Write “0” to AIE bit, and “0” to AF bit.
Write “1” to day alarm AE bit.
Write register 3’s current day-of-week data left-shifted by 1 bit into the day-of-week alarm register.
If bit 6 in register 3 is “1”, left shift into the fr bit is not allowed. Instead, write “01h” (Sunday).
Write “18h” to the hour alarm register.
Write “00h” to the minute alarm register.
Reset the AF bit to zero.
Write “1” to the AIE bit.
Example 2) Alarm output for 6am every day excluding Saturday and Sunday:
Write “0” to AIE bit, and “0” to AF bit.
Write “1” to day alarm AE bit.
Write “3Eh” to the day-of-week alarm register.
Write “06h” to the hour alarm register.
Write “00h” to the minute alarm register.
Reset the AF bit to zero.
Write “1” to the AIE bit.
Interrupt Output (INTN)
I
The INTN output mode can be selected, by internal mode setting, for timer interrupt output, alarm interrupt
output, or arbitrary frequency output.
I
The output mode setting is set by the TIE, AIE, and FE bits as shown in the following table.
Note that multiple “1” bits are invalid.
Mode
Bit
TIE
AIE
FE
Timer interrupt output
1
0
0
Alarm interrupt output
0
1
0
Arbitrary frequency output
0
0
1
Output disabled
0
0
0
相關(guān)PDF資料
PDF描述
SM8580AM Real-time Clock IC with 4-bit Interface and Built-in Temperature Sensor
SM8580 Real-time Clock IC with 4-bit Interface and Built-in Temperature Sensor
SM8701 DVD Player Clock Generator
SM8701BM DVD Player Clock Generator
SM8702AM Clock Generator IC
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
SM8578BV 制造商:NPC 制造商全稱:Nippon Precision Circuits Inc 功能描述:Real-time Clock IC
SM8580 制造商:NPC 制造商全稱:Nippon Precision Circuits Inc 功能描述:Real-time Clock IC with 4-bit Interface and Built-in Temperature Sensor
SM8580AM 制造商:NPC 制造商全稱:Nippon Precision Circuits Inc 功能描述:Real-time Clock IC with 4-bit Interface and Built-in Temperature Sensor
SM8580AM_06 制造商:NPC 制造商全稱:Nippon Precision Circuits Inc 功能描述:Real-time Clock IC with 4-bit Interface and Built-in Temperature Sensor
SM86/16MMPX21/11MMPX21/100MM 制造商:HUBER+SUHNER 功能描述:ASSEMBLY MMPX STR-RA 100MM