English
Language : 

M30218 Datasheet, PDF (427/467 Pages) Mitsubishi Electric Semiconductor – M30218 Group
Controlling Power Applications
Mitsubishi microcomputers
M30218 Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Main
Initial condition
b7
0
01
b0
System clock control register 0 [Address 0006 16]
CM0
WAIT state internal clock stop bit
XCIN-XCOUT drive capacity select bit
Port Xc select bit
1 : Functions as X CIN-XCOUT oscillator
Main clock (X IN-XOUT) stop bit
0 : Oscillating
Main clock divide ratio select bit 0
System clock select bit
0 : XIN-XOUT
b7
11
b0
00
Timer B2 mode register [Address 039D 16]
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 0395 16, 039416]
TB2
b7
b0
1
Clock prescaler reset flag [Address 0381 16]
CPSRF
Rrescaler is reset
b7
b0
1
Count start flag [Address 0380 16]
TABSR
TB2 start counting
b7
b0
0 0 1 Timer B2 interrupt control register [Address 005C 16]
TB2IC
TB2 interrupt priority level
b7
0
b0
0 01
INT0 interrupt control register [Address 005D 16]
INT0IC
INT0 interrupt priority level
Interrupt priority level (IPL) = 0
Interrupt enable flag (I) = 1
Setting interrupt except clearing wait mode
Interrupt control register DMiIC (i = 0, 1) [Address 004B16, 004C16]
ADIC
[Address 004E16]
ASIOIC
[Address 004F16]
FLDIC
[Address 005016]
SiTIC (i = 0, 1) [Address 005116, 005316]
b7
b0
000
SiRIC (i = 0, 1) [Address 005216, 005416]
TAiIC (i = 0 to 4) [Address 005516 to 005916]
TBiIC (i = 0 to 2) [Address 005A16 to 005C16]
Interrupt priority level select bit
INTiIC (i =1 to 5) [Address 004716 to 004916]
[Address 005E16, 005F16]
b2 b1 b0
0 0 0 : Interrupt disabled
Continued to the next page
Figure 3.8.2. Set-up procedure of controlling power using wait mode (1)
413