參數(shù)資料
型號(hào): TriCore
廠商: SIEMENS AG
英文描述: 32-bit microcontrollers(32位微控制器)
中文描述: 32位微控制器(32位微控制器)
文件頁數(shù): 9/17頁
文件大?。?/td> 117K
代理商: TRICORE
How to use the
Watchdog Timer of the TriCore
9 of 17
AP3219 Rel.02
4
How to change the Watchdog Timer Registers
4.1
The first step to change the WDTCON0 register is to unlock it with the Password Access
by a procedure as stated further above. This unlocked condition is indicated by
WDTLCK=0. The register WDTCON0 is now unlocked and you can proceed with a modify
access.
How to change the WDTCON0
It is recommended to use the procedure
WDT_Modify(Mask, Modify)
further above, in
order to avoid protocol errors. The following tables will show you how to set the values of
the variables “Mask” and “Modify”. The result values for the variables “Mask” and “Modify”
must be combined by a disjunction of the individual values.
Note:
You can configure only the WDTCON registers.
Table 4
How to set the variable Mask
Which value do you want to change
Required Value for
variable “MASK”
ENDINIT
Reload Value
0x0000 000F
0xFFFF 0000
User-definable Password
0x0000 FF00
Example Result value for the variable “Mask”
o change the value of ENDINIT and the Reload Value
(combined by a disjunction of the individual values)
0xFFFF 000F
Table 5
How to set the variable Modify
Value of the variable
Value
Required Value for
variable “Modify”
ENDINIT
0
1
YYYY
0x0000 0000
0x0000 000F
0xYYYY 0000
Reload Value
YYYY is a user-definable hexvalue of 16bit from
0x0000 to 0xFFFF (see chapter “Normal Timer
Period” for hints)
User-definable Password
ZZ is a User-definable Hexvalue of 8bit from 0x00
to 0xFF (see chapter “Extended Security” for hints
how to set this value)
ZZ
0x0000 ZZ00
Example Result value for the variable “Modify”
o change the value of the ENDINIT bit to 1 and the
Reload Value to 0xABCD (combined by a
disjunction of the individual values)
0xABCD 000F
Now you can use the procedure
WDT_Modify(Mask, Modify)
with the calculated
values. The register WDTCON0 will be changed and locked after this access again.
相關(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