參數(shù)資料
型號(hào): HD4074618
廠商: Hitachi,Ltd.
英文描述: 4-Bit Single-Chip Microcomputer
中文描述: 4位單片機(jī)
文件頁數(shù): 37/89頁
文件大?。?/td> 358K
代理商: HD4074618
HD404618 Series
37
Input/Output
The MCU provides 26 input/output pins and 4 input pins, including 10 high-current pins (15 mA, max.). A
program-controlled pull-up MOS transistor is provided for each input/output pin.
The output buffer is turned on and off by the data control register (DCR) during input through an
input/output pin.
I/O pin circuit types are shown in table 19.
D Ports (D
0
–D
13
):
Consist of ten 1-bit input/output pins and four input pins. Pins D
0
–D
9
are high-current
I/O pins (15 mA, max.). The sum current of the pins can go up to 100 mA. These pins are set by the SED
and SEDD instructions, reset by the RED and REDD instructions, and tested by the TD and TDD
instructions. Output data is stored in the port data register.
The on/off status of the output buffer is controlled by D port data control registers (DCRB, DCRC, and
DCRD) that are mapped to the memory address area. Pins D
10
–D
13
are input-only pins.
Two operating modes are available to pins D
12
and D
13
: digital input mode and analog input mode. The
operating modes are set by bits 0 and 1 of port mode register B (PMRB). In the digital input mode, these
pins can be used as input pins with the same input characteristics as the I/O pins. In the analog input mode,
the result of a comparison with the reference voltage can be read as input data. The reference voltage is
input by the D
11
/VC
ref
pin.
R Ports:
Consist of sixteen 4-bit I/O ports. Data is input to these ports by the LAR and LBR instructions
and output from them by the LRA and LRB instructions.
The on/off status of the output buffers of the R ports are controlled by R port data control registers (DCR0–
DCR3) that are mapped to memory addresses.
Pins R0
0
, R0
1
, and R0
2
are multiplexed with pins
SCK
, SI, and SO, respectively.
Pins R3
1
, R3
2
, and R3
3
are multiplexed with TIMO,
INT
0
, and
INT
1
, respectively. Refer to figure 24.
Pull-Up MOS Transistor Control:
A program-controlled pull-up MOS transistor is provided for each
input/output pin.
The on/off status of all these transistors is controlled by bit 3 of port mode register B (PMRB), and the
on/off status of an individual transistor can also be controlled by the port data register (PDR) of the
corresponding pin. This enables on/off control of each individual pin. Refer to table 20.
The on/off status of each transistor and the peripheral function mode of each pin can be set independently.
How to Deal with Unused I/O Pins:
I/O pins that are not needed by the user system must be connected to
V
CC
to prevent LSI malfunctions due to noise. These pins must either be pulled up to V
CC
by their pull-up
transistors or by resistors of about 100 k
.
相關(guān)PDF資料
PDF描述
HD4074618FS CONNECTOR
HD4074618H 4-Bit Single-Chip Microcomputer
HD4074618TF 4-Bit Single-Chip Microcomputer
HD4046212R AS Microcomputer Incorporating a DTMF Generator Circuit(微計(jì)算機(jī)帶雙音多頻發(fā)生器電路)
HD404628R AS Microcomputer Incorporating a DTMF Generator Circuit(微計(jì)算機(jī)帶雙音多頻發(fā)生器電路)
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
HD4074618F 制造商:Renesas Electronics Corporation 功能描述:
HD4074618FS 制造商:HITACHI 制造商全稱:Hitachi Semiconductor 功能描述:4-Bit Single-Chip Microcomputer
HD4074618H 制造商:HITACHI 制造商全稱:Hitachi Semiconductor 功能描述:4-Bit Single-Chip Microcomputer
HD4074618TF 制造商:HITACHI 制造商全稱:Hitachi Semiconductor 功能描述:4-Bit Single-Chip Microcomputer
HD4074629 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:AS Microcomputer Incorporating a DTMF Generator Circuit