Electronic Components Datasheet Search
  English  ▼

X  

SH7021 Datasheet(PDF) 350 Page - Renesas Technology Corp

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

SH7021 Datasheet(HTML) 350 Page - Renesas Technology Corp

Back Button SH7021 Datasheet HTML 346Page - Renesas Technology Corp SH7021 Datasheet HTML 347Page - Renesas Technology Corp SH7021 Datasheet HTML 348Page - Renesas Technology Corp SH7021 Datasheet HTML 349Page - Renesas Technology Corp SH7021 Datasheet HTML 350Page - Renesas Technology Corp SH7021 Datasheet HTML 351Page - Renesas Technology Corp SH7021 Datasheet HTML 352Page - Renesas Technology Corp SH7021 Datasheet HTML 353Page - Renesas Technology Corp SH7021 Datasheet HTML 354Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 350 / 509 page
background image
RENESAS 334
Writing to the RSTCSR: The RSTCSR must be written by a word access to address
H'5FFFFFBA. 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.
Writing 0 to the WOVF bit
15
8
7
0
Address:
H'5FFFFBA
H'A5
H'00
Writing to the RSTE and RSTS bits
15
8
7
0
Address:
H'5FFFFBA
H'5A
Write data
Figure 12.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'5FFFFB8 for the TCSR,
H'5FFFFB9 for the TCNT, and H'5FFFFBB for the RSTCSR.
12.3
Operation
12.3.1
Operation in the 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. If the TCNT fails to be rewritten and overflows due to a system crash or the like,
a
WDTOVF signal is output (figure 12.4). The WDTOVF signal can be used to reset external
system devices. The
WDTOVF signal is output for 128
φ clock cycles.
If the RSTE bit in the RSTCSR is set to 1, a signal to reset the chip will be generated internally
simultaneous to the
WDTOVF signal when TCNT overflows. Either a power-on reset or a manual
reset can be selected by the RSTS bit. The internal reset signal is output for 512
φ clock cycles.
When a watchdog reset is generated simultaneously with input at the
RES pin, the software
distinguishes the
RES reset from the watchdog reset by checking the WOVF bit in the RSTCSR.
The
RES reset takes priority. The WOVF bit is cleared to 0.



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