参数资料
型号: M37545G1KP
元件分类: 微控制器/微处理器
英文描述: 8-BIT, MROM, 4 MHz, MICROCONTROLLER, PDSO32
封装: 11 X 5.60 MM, 0.65 MM PITCH, PLASTIC, LSSOP-32
文件页数: 9/63页
文件大小: 774K
代理商: M37545G1KP
Rev.1.07
Mar 19, 2009
Page 17 of 60
REJ03B0140-0107
7545 Group
I/O PORTS
[Direction registers] PiD
The I/O ports have direction registers which determine the input/
output direction of each pin. Each bit in a direction register
corresponds to one pin, and each pin can be set to be input or
output.
When “1” is set to the bit corresponding to a pin, this pin
becomes an output port. When “0” is set to the bit, the pin
becomes an input port.
When data is read from a pin set to output, not the value of the
pin itself but the value of port latch is read. Pins set to input are
floating, and permit reading pin values.
If a pin set to input is written to, only the port latch is written to
and the pin remains floating.
[Pull-up control register] Pull
By setting the pull-up control register (address 001616), port P0
can exert pull-up control by program. However, pins set to
output are disconnected from this control and cannot exert pull-
up control.
[Port output mode selection register] PMOD
By setting the port output mode selection register (address
001716), CMOS output or N-channel open-drain can be selected
for ports P1, P2, P3 by program.
Fig. 13 Structure of pull-up control register
Fig. 14 Structure of port output mode selection register
Port P04
Port P01
Port P00
0: Pull-up transistor off
1: Pull-up transistor on
b7
b0
Port P02
Port P03
Port P05
Port P06
Port P07
Pull-up control register
(PULL: address 001616, initial value: 0016)
Table 7
I/O port function table
Pin
Name
Input/Output
I/O format
Non-port function
Related SFRs
Diagram No.
P00
P07
Port P0
I/O individual
bits
CMOS compatible input
level
CMOS 3-state output
Key input interrupt
Pull-up control register
Key-on wakeup pin selection register
Key-on wakeup edge selection regis-
ter
(1)
P10
P11
Port P1
CMOS compatible input
level
CMOS 3-state output or
N-channel open drain
RLSS-only pin
Port output mode selection register
(2)
P20/INT0
P21/INT1
Port P2
External interrupt input
Interrupt edge selection register
Port output mode selection register
(3)
P22
P27
Port output mode selection register
(2)
P30
P37
Port P3
Port output mode selection register
(2)
P40, P41
Port P4
CMOS compatible input
level
CMOS 3-state output
RLSS-only pin
(4)
P42/CARR
Carrier wave output for
remote-control transmitter
Carrier wave control register
(5)
Port P34P37
Port P20P23
Port P10P11
0: CMOS output
1: N-channel open-drain
b7
b0
Port P24P27
Port P30P33
Disable (returns “0” when read)
Port output mode selection register
(PMOD: address 001716, initial value: 0016)
相关PDF资料
PDF描述
M37545G4GP 8-BIT, MROM, 4 MHz, MICROCONTROLLER, PQFP32
M37545G6KP 8-BIT, MROM, 4 MHz, MICROCONTROLLER, PDSO32
M37545G6-XXXGP 8-BIT, MROM, 4 MHz, MICROCONTROLLER, PQFP32
M37545GC-XXXGP 8-BIT, MROM, 4 MHz, MICROCONTROLLER, PQFP32
M37545G6GP 8-BIT, MROM, 4 MHz, MICROCONTROLLER, PQFP32
相关代理商/技术参数
参数描述
M37545G2KP 制造商:RENESAS 制造商全称:Renesas Technology Corp 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M37545G4GP 制造商:RENESAS 制造商全称:Renesas Technology Corp 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M37545G4GP#U0 功能描述:MCU 2/5V 16K 32-LQFP QZ-ROM RoHS:是 类别:集成电路 (IC) >> 嵌入式 - 微控制器, 系列:740/38000 标准包装:250 系列:80C 核心处理器:8051 芯体尺寸:8-位 速度:16MHz 连通性:EBI/EMI,I²C,UART/USART 外围设备:POR,PWM,WDT 输入/输出数:40 程序存储器容量:- 程序存储器类型:ROMless EEPROM 大小:- RAM 容量:256 x 8 电压 - 电源 (Vcc/Vdd):4.5 V ~ 5.5 V 数据转换器:A/D 8x10b 振荡器型:内部 工作温度:-40°C ~ 85°C 封装/外壳:68-LCC(J 形引线) 包装:带卷 (TR)
M37545G4KP 制造商:RENESAS 制造商全称:Renesas Technology Corp 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M37545G4-XXXGP 制造商:RENESAS 制造商全称:Renesas Technology Corp 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER