| поискавой системы для электроныых деталей |
|
TMP88CS38 датащи(PDF) 58 Page - Toshiba Semiconductor |
|
|
|||||||||||||||||||||||||||||
TMP88CS38 датащи(HTML) 58 Page - Toshiba Semiconductor |
|
58 / 226 page ![]() TMP88CS38/CM38A/CP38A 2007-09-12 88CS38-58 Example: Sets the watchdog timer detection time to 2 21/fc [s] and resets the CPU malfunction. LD (WDTCR2), 4EH ; Clears the binary counters LD (WDTCR1), 00001101B ; WDTT ← 10, WDTOUT ← 1 LD (WDTCR2), 4EH ; Clears the binary counters (always clear immediately before and after changing WDTT) LD (WDTCR2), 4EH ; Clears the binary counters LD (WDTCR2), 4EH ; Clears the binary counters Watchdog Timer Register 1 7 6 5 4 3 2 1 0 WDTCR1 (00034H) WDTEN WDTT WDTOUT (Initial value: **** 1001) WDTEN Watchdog timer enable/disable 0: Disable (It is necessary to write the disable code to WDTCR2) 1: Enable NORMAL mode DV1CK = 0 DV1CK = 1 00 2 25 /fc 2 26/fc 01 2 23/fc 2 24/fc 10 2 21/fc 2 22/fc WDTT Watchdog timer detection time [s] 11 2 19/fc 2 20/fc WDTOUT Watchdog timer output select 0: Interrupt request 1: Reset output Write only Note 1: WDTOUT cannot be set to “1” by program after clearing WDTOUT to “0”. Note 2: fc: High-frequency clock [Hz], *: Don’t care Note 3: WDTCR1 is a write-only register and must not be used with any of read-modify-write instructions. Note 4: The watchdog timer must be disabled or the counter must be cleared immediately before entering to the STOP mode. When the counter is cleared, the counter must be cleared again immediately after releasing the STOP mode. Note 5: Just right before disabling the watchdog timer, disable the acceptance of interrupts (DI) and clear the watchdog timer. If the watchdog timer is disabled under conditions other than the above, the proper operation cannot be guaranteed. Watchdog Timer Register 2 7 6 5 4 3 2 1 0 WDTCR2 (00035H) (Initial value: **** ****) WDTCR2 Watchdog timer control code write register 4EH: Watchdog timer binary counter clear (Clear code) B1H: Watchdog timer disable (Disable code) Others: Invalid Write only Note 1: The disable code is invalid unless written when WDTEN = 0. Note 2: *: Don’t care Note 3: The binary counter of the watchdog timer must not be cleared by the interrupt task. Note 4: Clears the binary counter does not clear the source clock. It is recommended that the time to clear is set to 3/4 of the detecting time. Note 5: The watchdog timer counter must be disabled by writing the disable code (B1H) to WDRCR2 after writing WDTCR2 to. “4EH”. Figure 2.4.2 Watchdog Timer Control Registers Within 3/4 of WDT detection time Within 3/4 of WDT detection time |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |