M30240ECFP MITSUBISHI [Mitsubishi Electric Semiconductor], M30240ECFP Datasheet - Page 25

no-image

M30240ECFP

Manufacturer Part Number
M30240ECFP
Description
M30240 Group Specification
Manufacturer
MITSUBISHI [Mitsubishi Electric Semiconductor]
Datasheet
Preliminary Specifications REV. E
Specifications in this manual are tentative and subject to change
Clock Control
Figure 1.13: System clock control registers 0 and 1
2.8.3 Peripheral function clock
2.8.4 Clock Output
2.8.3.1 • f1, f8, f32
2.8.3.2 • fAD
In single-chip mode, the clock output function select bits (bits 0 and 1 at address 0006
f32 to be output from the P37/CLKOUT pin. When the WAIT peripheral function clock stop bit (bit 2 at
address 0006
Figure 1.13 shows the system clock control registers 0 and 1.
The clock for the peripheral devices is derived from the main clock or by dividing it by 8 or 32. The
peripheral function clock is stopped by stopping the main clock or by setting the WAIT peripheral func-
tion clock stop bit (bit 2 at 0006
This clock has the same frequency as the main clock and is used for A-D conversion.
16
) is set to “1”, the output of f8 and f32 stops when a WAIT instruction is executed.
System clock control register 0 (Note 1)
b7
System clock control register 1 (Note 1)
b7
b6
b6
b5
b5
b4
b4
0
b3
b3
0
b2
b2
0
b1
b1
0
b0
b0
16
Note 1: Set bit 0 of the protect register (address 000A
to this register.
Note 2: Changes to “1” when shifting to stop mode.
Note 1: Set bit 0 of the protect register (address 000A
before writing to this register.
Note 2: Changes to “1” when shifting to stop mode.
Note 3: Can be selected when bit 6 of system clock control
register 0 (address 0006
) to “1” and then executing a WAIT instruction.
Bit symbol
Bit symbol
CM02
Reserved bit
Reserved bit
Reserved bit
Reserved bit
CM00
CM01
CM15
CM16
CM17
CM06
CM10
Symbol
CM0
Symbol
CM1
Reserved bit
Reserved bit
Reserved bit
Reserved bit
1-25
WAIT peripheral function
clock stop bit
Clock output function
select bit
All clock stop control bit
X
select bit (Note 2)
Main clock division select
bit 1 (Note 3)
Main clock division select
bit 0 (Note 2)
IN
-X
OUT
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Bit name
Bit name
drive capacity
Address
0007
Address
0006
16
) is “0”. If “1”, division mode if fixed at 8.
16
16
When reset
When reset
0 : Clock on
1 : All clocks off (stop mode)
b7 b6
0 0 : No division mode
0 1 : Division by 2 mode
1 0 : Division by 4 mode
1 1 : Division by 16 mode
b1 b0
0 0 : I/O port P3
0 1 : Invalid
1 0 : f
1 1 : f
0 : Do not stop f
1 : Stop f
Always set to
Always set to
Always set to
Always set to
0 : LOW
1 : HIGH
0 : CM16 and CM17 valid
1 : Division by 8 mode
20
48
16
16
8
32
Always set to "0"
Always set to "1"
Always set to "0"
Always set to "0"
output
output
1
, f
8
, f
“0”
“0”
“0”
“0”
Function
Function
32
16
7
1
, f
in wait mode
) to “1” before writing
8
, f
16
32
Mitsubishi microcomputers
) to “1”
in wait mode
M30240 Group
R
R
W
W
16
) enable f8 or

Related parts for M30240ECFP