参数资料
型号: RTC-7301SFB
元件分类: 时钟/数据恢复及定时提取
英文描述: REAL TIME CLOCK, PDSO24
封装: SSOP-24
文件页数: 9/28页
文件大小: 274K
代理商: RTC-7301SFB
RTC - 7301 SF / DG
Page - 14
MQ332-05
6-2-8. Alarm interrupt
The /IRQ pin becomes “L” output when AIE = 1 when the alarm is matched, and it becomes high impedance when AIE
= 0.
An alarm interrupt is output when a carry occurs in the seconds digit.
"1"
AIE Bit
/ IRQ Output
AF Bit
"0"
"1"
"0"
"1"
Writes to the AF bit
Alarm Interrupt Timing
Hi-Z
* Does not output this area when AIE bit is "0."
”L” Level
”1”
”0”
6-2-8-1. How to use the alarm
Alarms can be set for dates, days, hours, minutes and seconds.
It is not possible to set a multiple of days at one
time.
In order to avoid careless hardware interrupts while setting the alarms, we recommend setting both the AF and AIE
bits to “0” first.
Then, set the alarm data and clear the AF flag to zero once to ensure its initialization.
When
finished, set the AIE bit to “1”.
If you do not wish to use the hardware interrupt, set the AIE bit to “0” and monitor
the AF bit with the software as is necessary.
6-2-8-2. Example of use
1 ) Issuing an alarm at 6:00 PM the next day:
Write “0” to the AIE bit, and “0” to the AF bit.
Write “1” to the AE bit of the date alarm.
Acquire the current date in the Bank 0 register 6 to the day alarm register and write the next day’s data in the day
setting table. (If the acquired data is 6/H (Saturday), write 0/H (Sunday).)
Write “18h” to the hour alarm register.
Write “00h” to the minute alarm register.
Write “00h” to the second alarm register.
Clear the AF bit to zero.
Write “1” to the AIE bit.
2 ) Issuing an alarm at 6:00 AM every Sunday morning:
Write “0” to the AIE bit, and “0” to the AF bit.
Write “1” to the AE bit of the date alarm.
Write “0h” to the day alarm register.
Write “06h” to the hour alarm register.
Write “00h” to the minute alarm register.
Write “00h” to the second alarm register.
Clear the AF bit to zero.
Write “1” to the AIE bit.
相关PDF资料
PDF描述
RTC6581 REAL TIME CLOCK, PDIP24
RTPXA270C0C312 312 MHz, RISC PROCESSOR, PBGA356
RCPXA270C0C520 520 MHz, MICROPROCESSOR, PBGA356
RV5C387A-F 0 TIMER(S), REAL TIME CLOCK, PDSO10
RX-4571LC REAL TIME CLOCK, PDSO12
相关代理商/技术参数
参数描述
RTC-840 制造商:AAEON 制造商全称:AAEON 功能描述:Intel?? Corea?¢ Duo U2500 1.2 GHz Processor
RTC-8563JE 制造商:未知厂家 制造商全称:未知厂家 功能描述:Real-Time Clock
RTC-8563SA 制造商:EPSONTOYOCOM 制造商全称:Epson ToYoCom 功能描述:RTC-8563SA
RTC-8563SJE 制造商:EPSONTOYOCOM 制造商全称:Epson ToYoCom 功能描述:RTC-8563SA
RTC-8564JE 制造商:Epson Toyocom Corporation 功能描述:32.768kHz 275nA@3ViTyp.j 3.0V (typ.) 7.0~5.4~1.5mm +85 -40 5}23ppm@+25/3.0V 7mm 5.4mm 1.5mm 制造商:Epson Toyocom Corporation 功能描述:RTC I2C BUS INTERFACE SMD VSOJ-20 制造商:Epson Toyocom Corporation 功能描述:RTC I2C BUS INTERFACE, SMD, VSOJ-20 制造商:Epson Toyocom Corporation 功能描述:IC, RTC, FULL CALENDAR, VSOJ-20; Clock Format:12Hr / 24Hr; Clock IC Type:RTC; Supply Voltage Min:1.8V; Supply Voltage Max:5.5V; Digital IC Case Style:VSOJ; No. of Pins:20; IC Interface Type:I2C; Operating Temperature Min:-40C ;RoHS Compliant: Yes 制造商:Epson Toyocom 功能描述:RTC module,I2C Bus,Alarm,timer func