Rev.2.00 Oct 16, 2006 page 327 of 354
REJ09B0340-0200
M30245 Group
3. Controlling Power Applications
Figure 3.9.3. Set-up procedure of controlling power using wait mode (2)
Canceling protect
Protect register [Address 000A
16
]
PRCR
b7
b0
1
Enables writing to system clock control registers 0 and 1 (address 0006
16
and 0007
16
)
1 : write-enabled
Switching system clock
b7
b0
System clock select bit
1 : X
CIN
-X
COUT
1
System clock control register 0 [Address 0006
16
]
CM0
b7
b0
Main clock (X
IN
-X
OUT
) stop bit
1 : Off
1
System clock control register 0 [Address 0006
16
]
CM0
Stopping main clock
[F_WIT] = 1
WAIT instruction
b7
b0
Main clock (X
IN
-X
OUT
) stop bit
0 : On
0
System clock control register 0 [Address 0006
16
]
CM0
Starting main clock oscillator
[F_WIT] : 1
=
≠
TA2 interrupt request generated
INT0 interrupt request generated
NOP instruction X 4
Continued from the previous page
Interrupt enable flag (I flag) “1”
Switching system clock
b7
b0
System clock select bit
0 : X
IN
-X
OUT
0
System clock control register 0 [Address 0006
16
]
CM0
Wait until the main clock has stabilized
Reserved bit
Must always be set to “0”
0
0
Reserved bit
Must always be set to “0”
0
0
Reserved bit
Must always be set to “0”
0
0
Reserved bit
Must always be set to “0”
0
0
JMP.B instruction
Содержание M16C FAMILY
Страница 12: ...Chapter 1 Hardware...
Страница 13: ...See M30245 group datasheet...
Страница 14: ...Chapter 2 Peripheral Functions Usage...
Страница 303: ...THIS PAGE IS BLANK FOR REASONS OF LAYOUT...
Страница 304: ...Chapter 3 Examples of Peripheral Functions Applications...
Страница 340: ...Chapter 4 External Buses...
Страница 361: ...THIS PAGE IS BLANK FOR REASONS OF LAYOUT...
Страница 362: ...Chapter 5 Standard Characteristics...
Страница 369: ...1753 Shimonumabe Nakahara ku Kawasaki shi Kanagawa 211 8668 Japan M30245 Group REJ09B0340 0200 User s Manual...