參數(shù)資料
型號: S1C63653F
元件分類: 微控制器/微處理器
英文描述: 4-BIT, FLASH, 4 MHz, MICROCONTROLLER, CQFP100
封裝: CERAMIC, QFP15-100
文件頁數(shù): 71/121頁
文件大?。?/td> 1127K
代理商: S1C63653F
S1C63653 TECHNICAL MANUAL
EPSON
45
CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (I/O Ports)
4.7 I/O Ports (P00–P03 and P10–P13)
4.7.1 Configuration of I/O ports
The S1C63653 has eight bits of general-purpose I/O ports. Figure 4.7.1.1 shows the configuration of the I/
O port.
Address
Data
register
Data
bus
Pxx
Address
I/O control
register (IOC)
Pull-down control
register (PUL)
Mask
option
VSS
Fig. 4.7.1.1 Configuration of I/O port
The I/O ports can be set to either input mode or output mode individually (in 1-bit unit). Modes can be
set by writing data to the I/O control registers.
Note: If an output of this IC is used to drive an external component that consumes a large amount of
current such as a bipolar transistor, design the pattern of traces on the printed circuit board so that
the operation of the external component does not affect the IC power supply. Refer to <Output
Terminals> in Section 5.3, "Precautions on Mounting", for more information.
4.7.2 Mask option
The output specification of each I/O port during output mode can be selected from either complemen-
tary output or P-channel open drain output by mask option. This selection can be done in 1-bit units.
When P-channel open drain output is selected, do not apply a voltage exceeding the power supply
voltage to the port.
The mask option also permits selection of whether the pull-down resistor is used or not during input
mode. This selection can be done in 1-bit units.
When "without pull-down" during the input mode is selected, take care that the floating status does not
occur.
4.7.3 I/O control registers and input/output mode
Input or output mode can be set for the I/O ports by writing data into the corresponding I/O control
registers IOCxx.
To set the input mode, write "0" to the I/O control register. When an I/O port is set to input mode, it
becomes high impedance status and works as an input port.
However, when the pull-down explained in the following section has been set by software, the input line
is pulled down only during this input mode.
To set the output mode, write "1" is to the I/O control register. When an I/O port is set to output mode, it
works as an output port, it outputs a high level (VDD) when the port output data is "1", and a low level
(VSS) when the port output data is "0".
If perform the read out in each mode; when output mode, the register value is read out, and when input
mode, the port value is read out.
At initial reset, the I/O control registers are set to "0", and the I/O ports enter the input mode.
相關(guān)PDF資料
PDF描述
S1C6F567D0A0100 MICROCONTROLLER, UUC141
S1C6N3B0D0A0100 MICROCONTROLLER, UUC54
S1C6P366D0A0100 4-BIT, FLASH, 4.1 MHz, MICROCONTROLLER, UUC102
S1C6P466D0A0A00 MICROCONTROLLER, UUC140
S1C6S2L7D 4-BIT, MROM, 0.032 MHz, MICROCONTROLLER, UUC58
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
S1C63656 制造商:EPSON 制造商全稱:EPSON 功能描述:4-bit Single Chip Microcomputer
S1C63657 制造商:EPSON 制造商全稱:EPSON 功能描述:CMOS 4-bit Single Chip Microcontroller
S1C63658 制造商:EPSON 制造商全稱:EPSON 功能描述:4-bit Single Chip Microcomputer
S1C63666 制造商:EPSON 制造商全稱:EPSON 功能描述:4-bit Single Chip Microcomputer
S1C63709 制造商:EPSON 制造商全稱:EPSON 功能描述:4-bit Single Chip Microcomputer