English
Language : 

M37212M4 Datasheet, PDF (10/120 Pages) Mitsubishi Electric Semiconductor – SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER
MITSUBISHI MICROCOMPUTERS
M37212M4/M8–XXXSP, M37212M6–XXXSP/FP
M37212EFSP/FP
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER
with ON-SCREEN DISPLAY CONTROLLER
Table 7.2 Pin Description (continued)
Pin
Name
P40/SOUT(/IN)/ I/O port P4
A-D7,
P41/SCLK/ Serial I/O data
A-D6,
input/output
Serial I/O synchronizing
clock input/output
Analog input pin
P42/SIN/ Input port P4
A-D5,
Serial I/O data
input
Analog input
P52/R,
P53/G,
P54/B,
P55/OUT1
Output port P5
OSD output
P60PWM0– Output port P6
P63/PWM3
PWM output
Input/
Output
I/O
I/O
I/O
Input
Input
Input
Input
Output
Output
Output
Output
HSYNC
VSYNC
DA
HSYNC input
VSYNC input
DA output
Input
Input
Output
Functions
Ports P40, P41 are a 2-bit I/O port and has basically the same functions as port P0. The
output structure is N-channel open-drain output.
Pin P40 is also used as serial I/O data input/output pin SOUT(/IN). The output structure is N-
channel open-drain output.
Pin P41 is also used as serial I/O synchronizing clock input/output pin SCLK. The output
structure is N-channel open-drain output.
Pin P40, P41 are also used as analog input pins A-D7, A-D6 respectively.
Port P42 is a 1-bit input port and has basically the same functions as port P0.
Pin P42 is also used as serial I/O data input pin SIN.
Pin P42 is also used as analog input pin A-D5.
Ports P52–P55 are a 4-bit output port and has basically the same functions as port P0. The
output structure is CMOS output.
Pins P52–P55 are also used as OSD output pins R, G, B, OUT1 respectively. The output
structure is CMOS output.
Ports P60–P63 are a 4-bit I/O port and has basically the same functions as port P0. The
output structure is N-channel open-drain output.
Pins P60–P63 are also used as PWM output pins PWM0–PWM3 respectively. The output
structure is N-channel open-drain output.
This is a horizontal synchronizing signal input for OSD.
This is a vertical synchronizing signal input for OSD.
This is a 14-bit PWM output pin.
Note : Port Pi (i = 0 to 3) has the port Pi direction register which can be used to program each bit as an input (“0”) or an output (“1”). The pins programmed as “1” in
the direction register are output pins. When pins are programmed as “0,” they are input pins. When pins are programmed as output pins, the output data are
written into the port latch and then output. When data is read from the output pins, the output pin level is not read but the data of the port latch is read. This
allows a previously-output value to be read correctly even if the output “L” voltage has risen, for example, because a light emitting diode was directly driven.
The input pins are in the floating state, so the values of the pins can be read. When data is written into the input pin, it is written only into the port latch, while
the pin remains in the floating state.
Rev. 1.0
9