參數(shù)資料
型號: TriCore
廠商: SIEMENS AG
英文描述: 32-bit microcontrollers(32位微控制器)
中文描述: 32位微控制器(32位微控制器)
文件頁數(shù): 13/17頁
文件大?。?/td> 117K
代理商: TRICORE
How to use the
Watchdog Timer of the TriCore
13 of 17
AP3219 Rel.02
WDT Service 2
WDTPW:=TMP
WDTPW:=TMP+2
TMP = TMP+1
TMP = TMP+1
Subroutines
Subroutines
WDTPW:=12h
WDTPW:=00h
TMP = 10h
WDT Service 1
Subroutines
Init
WDT-5
Reset
6.2
Another way is to place only one Watchdog service sequence inside the program, normally
at the end of the main loop (see Figure 3). Here, again monitoring of the program flow can
be achieved if one uses a temporary variable, TMP, which is modified appropriately at
different points during the code execution. At the end of the loop, the content of this
variable is used as the WDT password. If everything was OK, the TMP value exactly
matches the password value stored in WDTCON0. However, if one or several checkpoints
in the code have been missed due to failures, TMP does not contain the correct value and
an early Watchdog Time-out will be generated, setting the bit WDTSR.WDTAE. If you want
to use this feature in your application you have to use the procedure
WDT_Pass_Secure(Oldpassword)
further below.
Single Service Sequence
Figure 3
Servicing the WDT at the end of the program loop
相關(guān)PDF資料
PDF描述
TRR-8A33 Connectorized High-speed GaAs PIN
TRS1722 KIT INSULATED TERMINAL
TRS1755 33+3/4X66FT PLSTC TAPE
TRS1766 HIGH SENSITIVITY REFLECTIVE COLOR SENSOR WITH LIGHTTOVOLTAGE CONVERTERS
TRU-600 TRU-600
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
TRIDENT SAMPLE CASE 制造商:ITT Interconnect Solutions 功能描述:TRIDENT SAMPLE CASE / 192993-3000 / Trident
TRIG26362-I 制造商:Pass & Seymour/Legrand 功能描述:IG TR DECOR RECEPT 20A 125V IV
TRIG5362-REDSP 制造商:Pass & Seymour/Legrand 功能描述:IG SPD RECP TR 20A/125V ALARM RED
TRIG8300-RED 制造商:Pass & Seymour/Legrand 功能描述:HG IG TR DUP RECEPT 20A 125V RED
TRIG8300-W 制造商:Pass & Seymour/Legrand 功能描述:HG IG TR DUP RECEPT 20A 125V WH