參數(shù)資料
型號: M41T82SM6F
廠商: STMICROELECTRONICS
元件分類: 時鐘/數(shù)據(jù)恢復及定時提取
英文描述: 1 TIMER(S), REAL TIME CLOCK, PDSO8
封裝: 0.150 INCH, ROHS COMPLIANT, PLASTIC, SOP-8
文件頁數(shù): 29/61頁
文件大?。?/td> 983K
代理商: M41T82SM6F
M41T82-M41T83
Clock operation
Doc ID 12578 Rev 12
A READ of the flags register will reset the watchdog flag (bit D7; register 0Fh) but not de-
assert the IRQ1/FT/OUT output. The watchdog function is automatically disabled upon
power-up and the watchdog register is cleared.
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 10). For
accurate read back of the countdown value, the I2C-bus 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 (register 10h) and decrements to 1. On the next tick of the counter,
it reloads the timer countdown value and 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 (IRQ1/FT/OUT) on the M41T83. Writing the timer countdown value (10h) has no
effect on the TF bit or the IRQ1/FT/OUT output.
3.8.1
M41T83 timer interrupt/output
On the M41T83, there are two choices for the output depending on the TI/TP configuration
bit (timer interrupt/timer pulse, bit 6, register 11h).
Normal interrupt mode
With TI/TP = 0, the output will assert like a normal interrupt, staying low until the TF bit is
cleared by software by reading the flags register (0Fh).
Free-running mode
When TI/TP is a 1, the output is a free-running waveform as depicted in Figure 21. After
being low for the specified time (as shown in Table 11), the output automatically goes high
without need of software clearing any bits. The TF bit will still be set each time the timer
reloads, but it is not necessary for the software to clear it in this mode. Furthermore, clearing
the TF bit has no effect on the output in this mode.
While writes to the timer countdown register (10h) control the reload value, reads of this
register return the current countdown timer value.
Table 9.
Watchdog register
Addr
D7
D6
D5
D4
D3
D2
D1
D0
Function
09h
OFIE
BMB4
BMB3
BMB2
BMB1
BMB0
RB1
RB0
Watchdog
相關PDF資料
PDF描述
M41T82ZM6E 1 TIMER(S), REAL TIME CLOCK, PDSO8
M41T83RM6E 1 TIMER(S), REAL TIME CLOCK, PDSO8
M41T83SQA6E 1 TIMER(S), REAL TIME CLOCK, QCC16
M41T83SQA6F 1 TIMER(S), REAL TIME CLOCK, QCC16
M41T83RQA6F 1 TIMER(S), REAL TIME CLOCK, QCC16
相關代理商/技術參數(shù)
參數(shù)描述
M41T82SMY6E 制造商:STMICROELECTRONICS 制造商全稱:STMicroelectronics 功能描述:Serial RTC with battery switchover
M41T82SMY6F 制造商:STMICROELECTRONICS 制造商全稱:STMicroelectronics 功能描述:Serial RTC with battery switchover
M41T82SQ6E 制造商:STMICROELECTRONICS 制造商全稱:STMicroelectronics 功能描述:Serial RTC with battery switchover
M41T82SQ6F 制造商:STMICROELECTRONICS 制造商全稱:STMicroelectronics 功能描述:Serial RTC with battery switchover
M41T82SQA6E 制造商:STMICROELECTRONICS 制造商全稱:STMicroelectronics 功能描述:Serial I2C bus RTC with battery switchover