Electronic Components Datasheet Search
  English  ▼

X  

SH7018 Datasheet(PDF) 211 Page - Renesas Technology Corp

Part # SH7018
Description  SuperH??RISC engine
PDF  431 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  RENESAS [Renesas Technology Corp]
Direct Link  http://www.renesas.com
Logo RENESAS - Renesas Technology Corp

SH7018 Datasheet(HTML) 211 Page - Renesas Technology Corp

Back Button SH7018 Datasheet HTML 207Page - Renesas Technology Corp SH7018 Datasheet HTML 208Page - Renesas Technology Corp SH7018 Datasheet HTML 209Page - Renesas Technology Corp SH7018 Datasheet HTML 210Page - Renesas Technology Corp SH7018 Datasheet HTML 211Page - Renesas Technology Corp SH7018 Datasheet HTML 212Page - Renesas Technology Corp SH7018 Datasheet HTML 213Page - Renesas Technology Corp SH7018 Datasheet HTML 214Page - Renesas Technology Corp SH7018 Datasheet HTML 215Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 211 / 431 page
background image
195
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 11.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.
H'A5
H'FFFF8612
Address:
Writing 0 to the WOVF bit
15
8
7
0
H'00
H'5A
H'FFFF8612
Address:
Writing to the RSTE and RSTS bits
15
8
7
0
Write data
Figure 11.3 Writing to the RSTCSR
Reading from the TCNT, TCSR, and RSTCSR: TCNT, TCSR, and RSTCSR are read like
other registers. Use byte transfer instructions. The read addresses are H'FFFF8610 for the TCSR,
H'FFFF8611 for the TCNT, and H'FFFF8613 for the RSTCSR.
11.3
Operation
11.3.1
Watchdog Timer Mode
To use the WDT as a watchdog timer, set the WT/
IT and TME bits of the TCSR to 1. Software
must prevent TCNT overflow by rewriting the TCNT value (normally by writing H'00) before
overflow occurs. No TCNT overflows will occur while the system is operating normally, but if
RSTE of RSTCSR is set to 1 and a problem such as system runaway occurs, the value of TCNT is
not overwritten and an overflow results. This causes WDT to generate an internal reset signal for
the chip. The internal reset signal is output for 512
φ clock cycles. Figure 11.4 shows the timing.
When a watchdog overflow reset is generated simultaneously with a reset input at the
RES pin, the
RES reset takes priority, and the WOVF bit is cleared to 0.
The following are not initialized a WDT reset signal:



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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