參數(shù)資料
型號: M41T93ZMY6F
廠商: STMICROELECTRONICS
元件分類: 時鐘/數(shù)據(jù)恢復(fù)及定時提取
英文描述: 1 TIMER(S), REAL TIME CLOCK, PDSO18
封裝: 0.300 INCH, ROHS COMPLIANT, PLASTIC, SOP-18
文件頁數(shù): 21/49頁
文件大?。?/td> 719K
代理商: M41T93ZMY6F
Clock operation
M41T93
Doc ID 12615 Rev 5
3.7
Watchdog timer
The watchdog timer can be used to detect an out-of-control microprocessor. The user
programs the watchdog timer by setting the desired amount of time-out into the watchdog
register, address 09h. Bits BMB4-BMB0 store a binary multiplier and the two lower order bits
RB1-RB0 select the resolution, where 00 = 1/16 second, 01 = 1/4 second, 10 = 1 second,
and 11 = 4 seconds. The amount of time-out is then determined to be the multiplication of
the five-bit multiplier value with the resolution. (For example: writing 00001110 in the
watchdog register = 3*1, or 3 seconds). If the processor does not reset the timer within the
specified period, the M41T93 sets the WDF (watchdog flag) and generates a watchdog
interrupt.
The watchdog timer can be reset by having the microprocessor perform a WRITE of the
watchdog register. The time-out period then starts over.
Should the watchdog timer time-out, a value of 00h needs to be written to the watchdog
register in order to clear the IRQ/FT/OUT pin. This will also disable the watchdog function
until it is again programmed correctly. A READ of the flags register will reset the watchdog
flag (bit D7; register 0Fh).
The watchdog function is automatically disabled upon power-up and the watchdog register
is cleared. If the watchdog function is set, the frequency test function is activated, and the
SQWE bit is '0,' the watchdog function prevails and the frequency test function is denied.
3.8
8-bit (countdown) timer
The timer value register is an 8-bit binary countdown timer. It is enabled and disabled via the
timer control register (11h) TE bit. Other timer properties such as the source clock, or
interrupt generation are also selected in the timer control register (see Table 7). For
accurate read back of the countdown value, the serial clock (SCL) must be operating at a
frequency of at least twice the selected timer clock.
The timer control register selects one of four source clock frequencies for the timer (4096,
64, 1, or 1/60 Hz), and enables/disables the timer. The timer counts down from a software-
loaded 8-bit binary value. At the end of every countdown, the timer sets the timer flag (TF)
bit. The TF bit can only be cleared by software. When asserted, the timer flag (TF) can also
be used to generate an interrupt (IRQ/FT/OUT) on the M41T93. The interrupt may be
generated as a pulsed signal every countdown period or as a permanently active signal
which follows the condition of TF. The timer interrupt/timer pulse (TI/TP) bit is used to control
this mode selection. When reading the timer, the current countdown value is returned.
Note:
Bit positions labeled with ‘0’ should always be written with logic '0.'
Table 7.
Timer control register map
Addr
D7
D6
D5
D4
D3
D2
D1
D0
Function
0Fh
WDF
AF1
AF2
BL
TF
OF
0
Flags
10h
Timer countdown value
Timer value
11h
TE
TI/TP
TIE
0
TD1
TD0
Timer control
相關(guān)PDF資料
PDF描述
M41T93ZQA6F 1 TIMER(S), REAL TIME CLOCK, PQCC16
M41T93RQA6F 1 TIMER(S), REAL TIME CLOCK, PQCC16
M41T93SQA6F 1 TIMER(S), REAL TIME CLOCK, PQCC16
M43C505-XXX-DIT 4-BIT, MROM, 2 MHz, MICROCONTROLLER, UUC
M43C505-XXX-Q44 4-BIT, MROM, 2 MHz, MICROCONTROLLER, PQCC44
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
M41T93ZQA6E 制造商:STMICROELECTRONICS 制造商全稱:STMicroelectronics 功能描述:Serial SPI bus RTC with battery switchover
M41T93ZQA6F 功能描述:實時時鐘 Serial SPI bus RTC RoHS:否 制造商:Microchip Technology 功能:Clock, Calendar. Alarm RTC 總線接口:I2C 日期格式:DW:DM:M:Y 時間格式:HH:MM:SS RTC 存儲容量:64 B 電源電壓-最大:5.5 V 電源電壓-最小:1.8 V 最大工作溫度:+ 85 C 最小工作溫度: 安裝風(fēng)格:Through Hole 封裝 / 箱體:PDIP-8 封裝:Tube
M41T94 制造商:STMICROELECTRONICS 制造商全稱:STMicroelectronics 功能描述:512 Bit 64 bit x8 SERIAL RTC SPI SRAM
M41T94_06 制造商:STMICROELECTRONICS 制造商全稱:STMicroelectronics 功能描述:Serial Real Time Clock with 44Bytes NVRAM and Reset
M41T94_07 制造商:STMICROELECTRONICS 制造商全稱:STMicroelectronics 功能描述:Serial real-time clock with 44 bytes NVRAM and reset