Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

TMP89FS60 Datasheet(PDF) 51 Page - Toshiba Semiconductor

Part # TMP89FS60
Description  8 Bit Microcontroller
PDF  410 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  TOSHIBA [Toshiba Semiconductor]
Direct Link  http://www.semicon.toshiba.co.jp/eng
Logo TOSHIBA - Toshiba Semiconductor

TMP89FS60 Datasheet(HTML) 51 Page - Toshiba Semiconductor

Back Button TMP89FS60 Datasheet HTML 47Page - Toshiba Semiconductor TMP89FS60 Datasheet HTML 48Page - Toshiba Semiconductor TMP89FS60 Datasheet HTML 49Page - Toshiba Semiconductor TMP89FS60 Datasheet HTML 50Page - Toshiba Semiconductor TMP89FS60 Datasheet HTML 51Page - Toshiba Semiconductor TMP89FS60 Datasheet HTML 52Page - Toshiba Semiconductor TMP89FS60 Datasheet HTML 53Page - Toshiba Semiconductor TMP89FS60 Datasheet HTML 54Page - Toshiba Semiconductor TMP89FS60 Datasheet HTML 55Page - Toshiba Semiconductor Next Button
Zoom Inzoom in Zoom Outzoom out
 51 / 410 page
background image
Page 37
TMP89FS60
RA001
Figure 2-13 Switching the Main System Clock (fm) (Switching from fs/4 to fcgck)
Example : Switching from the SLOW1 mode to the NORMAL1 mode after the stability of the high-frequency clock oscilla-
tion circuit is confirmed at the warm-up counter (fc = 8 MHz, warm-up time = 4.0 ms)
; #### Initialize routine ####
SET
(P0FC).2
; P0FC2 = 1
(Uses P02/03 as oscillators)
¦
¦
LD
(WUCCR), 0x09
; WUCCR<WUCDIV> = 10 (Divided by 2)
WUCCR<WUCSEL> = 0 (Selects fc as the source clock)
LD
(WUCDR), 0x7D
; Sets the warm-up time
(Determine the time depending on the frequency and the oscillator
characteristics)
4ms / 32us = 125
→ 0x7D
SET
(EIRL). 4
; Enables INTWUC interrupts
SET
(SYSCR2) .6
; SYSCR2<XEN> = 1
(Starts the oscillation of the high-frequency clock oscillation circuit)
¦
; #### Interrupt service routine of warm-up counter interrupts ####
PINTWUC:
CLR
(SYSCR2). 4
; SYSCR2<SYSCK> = 0
(Switches the main system clock to the gear clock)
NOP
; Waits for 2 machine cycles
NOP
CLR
(SYSCR2). 5
; SYSCR2<XTEN> = 0
(Turns off the low-frequency clock oscillation circuit)
RETI
¦
VINTWUC:
DW
PINTWUC
; INTWUC vector table
Gear clock (fcgck)
When the rising edge of fs/4 is
detected twice after SYSCR2<SYSCK>
is changed from 1 to 0, f is stopped
for synchronization.
When the rising edge of fcgck is detected
twice after fm is stopped, fm is switched to fcgck.
Quarter of the low-frequency clock
(fs/4)
Main system clock
SYSCR2<SYSCK>
2.5/fcgck(max.)



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