| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
P89V51RB2BBC bảng dữ liệu(PDF) 45 Page - NXP Semiconductors |
|
|
|||||||||||||||||||||||||||||
P89V51RB2BBC bảng dữ liệu(HTML) 45 Page - NXP Semiconductors |
|
45 / 80 page ![]() P89V51RB2_RC2_RD2_5 © NXP B.V. 2009. All rights reserved. Product data sheet Rev. 05 — 12 November 2009 45 of 80 NXP Semiconductors P89V51RB2/RC2/RD2 8-bit microcontrollers with 80C51 core 6.8 Watchdog timer The device offers a programmable Watchdog Timer (WDT) for fail safe protection against software deadlock and automatic recovery. To protect the system against software deadlock, the user software must refresh the WDT within a user-defined time period. If the software fails to do this periodical refresh, an internal hardware reset will be initiated if enabled (WDRE = 1). The software can be designed such that the WDT times out if the program does not work properly. The WDT in the device uses the system clock (XTAL1) as its time base. So strictly speaking, it is a Watchdog counter rather than a WDT. The WDT register will increment every 344064 crystal clocks. The upper 8-bits of the time base register (WDTD) are used as the reload register of the WDT. The WDTS flag bit is set by WDT overflow and is not changed by WDT reset. User software can clear WDTS by writing ‘1' to it. Figure 20 provides a block diagram of the WDT. Two SFRs (WDTC and WDTD) control WDT operation. During Idle mode, WDT operation is temporarily suspended, and resumes upon an interrupt exit from idle. The time-out period of the WDT is calculated as follows: Period = (255 − WDTD) × 344064 × 1/f CLK(XTAL1) where WDTD is the value loaded into the WDTD register and fosc is the oscillator frequency. Fig 19. SPI transfer format with CPHA = 1 002aaa530 MSB S PICLK cycle # (for reference) S PICLK (CPOL = 0) S PICLK (CPOL = 1) MOSI (from master) MISO (from slave) SS (to slave) 6 12 3 4 5 6 7 8 5 MSB 6543 2 1 LSB 4 3 2 1 LSB Fig 20. Block diagram of programmable WDT 002aaa531 WDT UPPER BYTE WDT reset internal reset 344064 clks CLK (XTAL1) external reset WDTC COUNTER WDTD |
|
Link URL |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất 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 |