English
Language : 

M16C62_M Datasheet, PDF (534/615 Pages) Renesas Technology Corp – 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/60 SERIES
Controlling Power Applications
Mitsubishi microcomputers
M16C / 62A Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Main
Initial condition
b7
0
01
b7
11
b0
0
System clock control register 0 [Address 000616]
CM0
WAIT peripheral function clock stop bit
0 : Do not stop peripheral function clock in wait mode
XCIN-XCOUT drive capacity select bit
Port XC select bit
1 : Functions as XCIN-XCOUT oscillator
Main clock (XIN-XOUT) stop bit
0 : Oscillating
Main clock divide ratio select bit 0
System clock select bit
0 : XIN-XOUT
b0
00
Timer B2 mode register [Address 039D16]
TB2MR
Operation mode select bit
b1 b0
0 0 : Timer mode
Count source select bit
b7 b6
1 1 : fC32 (f(XCIN) divided by 32)
b15
b8 b7
b0
0316
FF16
Timer B2 register [Address 039516, 039416]
TB2
b7
b0
1
Clock prescaler reset flag [Address 038116]
CPSRF
Rrescaler is reset
b7
b0
1
Count start flag [Address 038016]
TABSR
TB2 start counting
b7
b0
001
Timer B2 interrupt control register [Address 005C16]
TB2IC
TB2 interrupt priority level
b7
0
b0 INT0 interrupt control register [Address 005D16]
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
Interrupt control register TBiIC(i=3 to 5)
[Address 004516 to 004716]
BCNIC
[Address 004A16]
DMiIC (i = 0, 1)
[Address 004B16, 004C16]
KUPIC
[Address 004D16]
ADIC
[Address 004E16]
b7
b0
0 00
SiTIC (i = 0 to 2)
SiRIC (i = 0 to 2)
TAiIC (i = 0 to 4)
[Address 005116, 005316, 004F16]
[Address 005216, 005416, 005016]
[Address 005516 to 005916]
Interrupt priority level select bit
b2 b1 b0
0 0 0 : Interrupt disabled
TBiIC (i = 0, 1)
[Address 005A16, 005B16]
INTiIC (i =3)
[Address 004416]
SiIC/INTjIC (i =4 to 3) [Address 004816 to 004916]
(j=3, 4) [Address 004816 to 004916]
INTiIC (i =1 to 2)
[Address 005E16 to 005F16]
Continued to the next page
Figure 3.8.2. Set-up procedure of controlling power using wait mode (1)
2-217