Renesas M16C Series User Manual page 335

16-bit single-chip microcomputer
Hide thumbs Also See for M16C Series:
Table of Contents

Advertisement

M30245 Group
www.DataSheet4U.com
Figure 3.9.2. Set-up procedure of controlling power using wait mode (1)
Rev.2.00 Oct 16, 2006
REJ09B0340-0200
Initial condition
b7
b0
System clock control register 0 [Address 0006
0
0 1
0
0
0
CM0
Reserved bit
Must always be set to "0"
WAIT peripheral function clock stop bit
0 : Do not stop peripheral function clock in wait mode
X
-X
CIN
COUT
Port X
select bit
C
1 : Functions as X
Main clock (X
0 : Oscillating
Main clock divide ratio select bit 0
System clock select bit
0 : X
-X
IN
OUT
b7
b0
Timer A2 mode register [Address 0398
1
1
0
0
TA2MR
Operation mode select bit
b1 b0
0 0 : Timer mode
Count source select bit
b7 b6
1 1 : f
C32
b15
b8
b7
03
16
b7
b0
Clock prescaler reset flag [Address 0381
1
CPSRF
Rrescaler is reset
b7
b0
Count start flag [Address 0380
1
TABSR
TA2 start counting
b7
b0
Timer A2 interrupt control register [Address 0047
0
0
1
TA2IC
TA2 interrupt priority level
b7
b0
INT0 interrupt control register [Address 005F
0
0
0
1
INT0IC
INT0 interrupt priority level
Processor interrupt priority level (IPL) = 0
Interrupt enable flag (I) = 0
Setting interrupt except clearing wait mode
I
nterrupt control register
KUPIC
[Address 0041
]
16
SiRIC(i=0,2,3)
[Address 004A
, 0042
16
S13BCNIC
[Address 0043
]
16
TAiIC(i=0,1,3,4) [Address 0054
, 0045
16
EP0IC
[Address 0046
]
16
b7
b0
0
0
0
Interrupt priority level select bit
b2 b1 b0
0 0 0 : Interrupt disabled
INTiIC(i=1,2)
b7
b0
S1RIC
0
0
0
0
S02BCNIC
Interrupt priority level select bit
000 : Interrupt disabled
Reserved bit
Must always be set to "0"
page 326 of 354
Main
16
drive capacity select bit
-X
oscillator
CIN
COUT
-X
) stop bit
IN
OUT
]
16
(f(X
) divided by 32)
CIN
b0
Timer A2 register [Address 038A
FF
16
TA2
]
16
]
16
16
ADIC
[Address 004B
DMiIC(i=0 to 3) [Address 004C
, 0055
]
SiTIC(i=0 to 3) [Address 0053
16
16
SUSPIC
[Address 0056
, 0057
, 0059
]
RSMIC
[Address 0058
16
16
16
RSTIC
[Address 005A
SOFIC
[Address 005B
VBDIC
[Address 005C
USBFIC
[Address 005D
[Address 0044
, 005E
]
16
16
[Address 0048
]
16
[Address 0049
]
16
Continued to the next page
3. Controlling Power Applications
]
, 038B
]
16
16
]
16
]
]
16
, 004E
, 0050
, 0052
]
16
16
16
16
, 0051
, 004F
, 004D
]
16
16
16
16
]
16
]
16
]
16
]
16
]
16
]
16

Advertisement

Table of Contents
loading

Table of Contents