Table 23 Clock Control Register Mr - Renesas 4513 User Manual

4500 series 4-bit single-chip microcomputer
Table of Contents

Advertisement

HARDWARE
CONTROL REGISTERS
Serial I/O mode register J1
J1
Not used
3
Serial I/O internal clock dividing ratio
J1
2
selection bit
J1
Serial I/O port selection bit
1
J1
Serial I/O synchronous clock selection bit
0
A-D control register Q1
Q1
Note used
3
Q1
2
Q1
Analog input pin selection bits (Note 2)
1
Q1
0
A-D control register Q2
Q2
A-D operation mode selection bit
3
P4
/A
and P4
3
IN7
Q2
2
tion bit (Not used for the 4513 Group)
P4
/A
pin function selection bit
1
IN5
Q2
1
(Not used for the 4513 Group)
P4
/A
pin function selection bit
0
IN4
Q2
0
(Not used for the 4513 Group)
Comparator control register Q3 (Note 3)
Q3
Voltage comparator (CMP1) control bit
3
Voltage comparator (CMP0) control bit
Q3
2
CMP1 comparison result store bit
Q3
1
Q3
CMP0 comparison reslut store bit
0
Clock control register MR
System clock selection bit
MR
3
Not used
MR
2
Not used
MR
1
MR
Not used
0
Notes 1: "R" represents read enabled, "W" represents write enabled.
2: Select A
–A
with register Q1 after setting register Q2.
IN4
IN7
3: Bits 0 and 1 of register Q3 can be only read.
1-86
Q1
2
0
0
0
0
1
1
1
1
/A
pin function selec-
2
IN6
4513/4514 Group User's Manual
at reset : 0000
2
0
This bit has no function, but read/write is enabled.
1
0
Instruction clock signal divided by 8
1
Instruction clock signal divided by 4
0
Input ports P2
, P2
, P2
0
1
1
Serial I/O ports S
, S
CK
0
External clock
1
Internal clock (instruction clock divided by 4 or 8)
at reset : 0000
2
0
This bit has no function, but read/write is enabled.
1
Q1
Q1
1
0
0
A
0
IN0
0
A
1
IN1
1
0
A
IN2
1
1
A
IN3
0
0
A
(Not available for the 4513 Group)
IN4
0
1
A
(Not available for the 4513 Group)
IN5
1
0
A
(Not available for the 4513 Group)
IN6
1
1
A
(Not available for the 4513 Group)
IN7
at reset : 0000
2
0
A-D conversion mode
1
Comparator mode
0
P4
, P4
(read/write enabled for the 4513 Group)
3
2
1
A
, A
/P4
, P4
(read/write enabled for the 4513 Group)
IN7
IN6
3
2
0
P4
(read/write enabled for the 4513 Group)
1
1
A
/P4
(read/write enabled for the 4513 Group)
IN5
1
0
P4
(read/write enabled for the 4513 Group)
0
1
A
/P4
(read/write enabled for the 4513 Group)
IN4
0
at reset : 0000
2
0
Voltage comparator (CMP1) invalid
1
Voltage comparator (CMP1) valid
0
Voltage comparator (CMP0) invalid
1
Voltage comparator (CMP0) valid
0
CMP1- > CMP1+
1
CMP1- < CMP1+
0
CMP0- > CMP0+
1
CMP0- < CMP0+
at reset : 1000
2
0
f(X
) (high-speed mode)
IN
1
f(X
)/2 (middle-speed mode)
IN
0
This bit has no function, but read/write is enabled.
1
0
This bit has no function, but read/write is enabled.
1
0
This bit has no function, but read/write is enabled.
1
at RAM back-up : state retained
selected
2
, S
/input ports P2
, P2
OUT
IN
0
1
at RAM back-up : state retained
Selected pins
at RAM back-up : state retained
at RAM back-up : state retained
at RAM back-up : 1000
2
R/W
, P2
selected
2
R/W
R/W
R/W
R/W

Advertisement

Table of Contents
loading

This manual is also suitable for:

4514

Table of Contents