參數(shù)資料
型號(hào): M38837G6HP
元件分類: 微控制器/微處理器
英文描述: 8-BIT, MROM, 4 MHz, MICROCONTROLLER, PQFP80
封裝: 12 X 12 MM, 0.50 MM PITCH, PLASTIC, LQFP-80
文件頁(yè)數(shù): 5/81頁(yè)
文件大小: 766K
代理商: M38837G6HP
Rev.1.00
Oct 26, 2004
page 13 of 79
3883 Group
Pin
Name
Input/Output
I/O Structure
Non-Port Function
Ref.No.
Table 6 I/O port function (1)
Related SFRs
I/O PORTS
All I/O pins are programmable as input or output. All I/O ports
have direction registers which specify the data direction of each
pin like input/output. One bit in a direction register corresponds to
one pin. Each pin can be set to be input or output port.
Writing “0” to the bit corresponding to the pin, that pin becomes an
input mode. Writing “1” to the bit, that pin becomes an output
mode.
When the data is read from the bit of the port register correspond-
ing to the pin which is set to output, the value shows the port latch
data, not the input level of the pin. When a pin set to input, the pin
comes floating. In input port mode, writing the port register
changes only the data of the port latch and the pin remains high
impedance state.
When the P8 function selection bit of the port control register 2 is
set to “1”, reading from address 001016 reads the port P4 register,
and reading from address 001116 reads the port P7 register.
Especially, the input level of P42 to P46 pins and P70 to P75 pins
can be read regardless of the data of the direction registers in this
case.
P00-P07
P10–P17
Port P0
Port P1
CMOS compatible
input level
CMOS 3-state output
or N-channel open-
drain output
Port control register 1
(1)
(2)
P20–P27
P30/PWM0
P31/PWM1
Port P2
CMOS compatible
input level
CMOS 3-state output
(3)
Port control register 1
PWM count source
selection register
PWM control register
PWM output
Key-on wake up input
P32–P37
Port P3
(4)
Key-on wake up input
Port control register 1
P40
P41
P42/INT0
P43/INT1
P44/PWM4
Input/output,
individual bits
(5)
(6)
(7)
External interrupt input
Interrupt edge selection
register
Port control register 2
P45/PWM5
Port P4
CMOS compatible
input level
CMOS 3-state output
or N-channel open-
drain output
(8)
PWM output
P46
(9)
Port control register 2
P47
/CLKRUN
Serialized IRQ control
register
Serialized IRQ function
output
(10)
PWM count source
selection register
PWM control register
Port control register 2
相關(guān)PDF資料
PDF描述
M38B49MFH-XXXXFP 8-BIT, MROM, 4.2 MHz, MICROCONTROLLER, PQFP80
M38B49MFH-XXXXFP 8-BIT, MROM, 4.2 MHz, MICROCONTROLLER, PQFP80
M38B57MC-XXXFP 8-BIT, MROM, 4.19 MHz, MICROCONTROLLER, PQFP80
M38B59MFH-XXXXFP 8-BIT, MROM, MICROCONTROLLER, PQFP80
M38B57MCH-XXXXFP 8-BIT, MROM, MICROCONTROLLER, PQFP80
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
M3883-BK001 制造商:Alpha Wire 功能描述:
M3883-BK002 制造商:Alpha Wire 功能描述:
M3883-BK005 制造商:Alpha Wire 功能描述:
M3883-BK199 制造商:Alpha Wire 功能描述:
M3883-BLACK-100 制造商:Alpha Wire 功能描述: