HD64F7050 RENESAS [Renesas Technology Corp], HD64F7050 Datasheet - Page 381

no-image

HD64F7050

Manufacturer Part Number
HD64F7050
Description
32-Bit RISC Microcomputer SuperH RISC engine Family/
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
HD64F7050SFJ20
Manufacturer:
RENESAS
Quantity:
100
Part Number:
HD64F7050SFJ20
Manufacturer:
RENESAS
Quantity:
1 000
Part Number:
HD64F7050SFJ20
Manufacturer:
RENESAS/瑞萨
Quantity:
20 000
Part Number:
HD64F7050SFJ20V
Manufacturer:
Renesas Electronics America
Quantity:
10 000
12.2.4
The watchdog timer’s TCNT, TCSR, and RSTCSR registers differ from other registers in that they
are more difficult to write to. The procedures for writing and reading these registers are given
below.
Writing to the TCNT and TCSR: These registers must be written by a word transfer instruction.
They cannot be written by byte transfer instructions.
The TCNT and TCSR both have the same write address. The write data must be contained in the
lower byte of the written word. The upper byte must be H'5A (for the TCNT) or H'A5 (for the
TCSR) (figure 12.2). This transfers the write data from the lower byte to the TCNT or TCSR.
Writing to the RSTCSR: The RSTCSR must be written by a word access to address
H'FFFF8612. It cannot be written by byte transfer instructions.
Procedures for writing 0 in WOVF (bit 7) and for writing to RSTE (bit 6) and RSTS (bit 5) are
different, as shown in figure 12.3.
To write 0 in the WOVF bit, the write data must be H'A5 in the upper byte and H'00 in the lower
byte. This clears the WOVF bit to 0. The RSTE and RSTS bits are not affected. To write to the
RSTE and RSTS bits, the upper byte must be H'5A and the lower byte must be the write data. The
values of bits 6 and 5 of the lower byte are transferred to the RSTE and RSTS bits, respectively.
The WOVF bit is not affected.
Register Access
Writing to the TCSR
Writing to the TCNT
Figure 12.2 Writing to the TCNT and TCSR
Address:
Address:
H'FFFF8610
H'FFFF8610
15
15
H'5A
H'A5
Rev. 5.00 Jan 06, 2006 page 361 of 818
Section 12 Watchdog Timer (WDT)
8
8
7
7
Write data
Write data
REJ09B0273-0500
0
0

Related parts for HD64F7050