upd70f3422gj-gae-qs-ax Renesas Electronics Corporation., upd70f3422gj-gae-qs-ax Datasheet - Page 505

no-image

upd70f3422gj-gae-qs-ax

Manufacturer Part Number
upd70f3422gj-gae-qs-ax
Description
32-bit Single-chip Microcontroller
Manufacturer
Renesas Electronics Corporation.
Datasheet
Watchdog Timer (WDT)
Initial Value
Address
Caution
Access
(3)
WCMD - WDT command protection register
The 8-bit WCMD register is write-only. It is used to protect the WDTM and
WDCS registers from unintended writing.
This register can be written in 8-bit units.
<base> + 2
Undefined
Any data written to this register is ignored. Only the write action is monitored.
After writing to the WCMD register, you are permitted to write once to one of
the protected registers. This must be done immediately after writing to the
WCMD register. If the second write action does not follow immediately, the
protected registers are write-locked again. See also “Write Protected
Registers“ on page 124.
With this method, the protected registers can only be rewritten in a specific
sequence. Illegal write access to a protected register is inhibited.
The following registers are protected:
• WDCS:
• WDTM:
An invalid write attempt to one of the above registers sets the error flag
WPHS.WPRERR. WPHS.WPRERR is also set, if a write access to WCMD is
not followed by an access to one of the protected registers.
Data read from the WCMD register is undefined.
In case a high level programming language is used, make sure that the
compiler translates the two write instructions to WCMD and the protected
register into two consecutive assembler “store” instructions.
Preliminary User’s Manual U17566EE1V2UM00
W
X
7
H
W
6
X
Watchdog clock selection register
Watchdog mode control register
W
X
5
W
X
4
W
X
3
W
X
2
W
X
1
Chapter 15
W
X
0
505

Related parts for upd70f3422gj-gae-qs-ax