| 数据搜索系统,热门电子元器件搜索 |
|
PCF8523T/1 数据表(PDF) 35 Page - NXP Semiconductors |
|
|
|||||||||||||||||||||||||||||
PCF8523T/1 数据表(HTML) 35 Page - NXP Semiconductors |
|
35 / 75 page ![]() PCF8523 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2012. All rights reserved. Product data sheet Rev. 4 — 5 July 2012 35 of 74 NXP Semiconductors PCF8523 Real-Time Clock (RTC) and calendar 8.9.1.7 Programmable timer characteristics 8.9.2 Timer A With the bit field TAC[1:0] in register Tmr_CLKOUT_ctrl (0Fh) Timer A can be configured as a countdown timer (TAC[1:0] = 01) or watchdog timer (TAC[1:0] = 10). 8.9.2.1 Watchdog timer function The 3 bits TAQ[2:0] in register Tmr_A_freq_ctrl (10h) determine one of the five source clock frequencies for the watchdog timer: 4.096 kHz, 64 Hz, 1 Hz, 1⁄60 Hz or 1⁄3600 Hz (see Table 36). The generation of interrupts from the watchdog timer is controlled by using WTAIE bit (register Control_2). When configured as a watchdog timer (TAC[1:0] = 10), the 8-bit timer value in register Tmr_A_reg (11h) determines the watchdog timer-period. The watchdog timer counts down from value n in register Tmr_A_reg (11h). When the counter reaches 1, the watchdog timer flag WTAF (register Control_2) is set logic 1 on the next rising edge of the timer clock (see Figure 19). In that case: • If WTAIE = 1, an interrupt will be generated • If WTAIE = 0, no interrupt will be generated The interrupt generated by the watchdog timer function of timer A may be generated as pulsed signal or a permanentiy active signal. The TAM bit (register Tmr_CLKOUT_ctrl) is used to control the interrupt generation mode. The counter does not automatically reload. When loading the counter with any valid value of n, except 0: • The flag WTAF is reset (WTAF = 0) • Interrupt is cleared • The watchdog timer starts Table 40. Programmable timer characteristics TAQ[2:0] TBQ[2:0] Timer source clock frequency Units Minimum timer-period (n = 1) Units Maximum timer-period (n = 255) Units 000 4.096 kHz 244 s 62.256 ms 001 64 Hz 15.625 ms 3.984 s 010 1 Hz 1 s 255 s 011 1⁄60 Hz 1 min 255 min 111 110 100 1⁄3600 Hz 1 hour 255 hour |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| 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 |