參數(shù)資料
型號: M37549G1-XXXFP
元件分類: 微控制器/微處理器
英文描述: 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PDSO24
封裝: 5.30 X 10.10 MM, 0.80 MM PITCH, PLASTIC, SSOP-24
文件頁數(shù): 9/86頁
文件大小: 1375K
代理商: M37549G1-XXXFP
Rev.2.02
Mar 31, 2009
Page 15 of 81
REJ03B0202-0202
7549 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.
If the port P20 is used as output port, write “1” to the port P20
direction register after reset.
[Port P0 drive capacity control register] DCCR
By setting the Port P0 drive capacity control register (address
000C16), the drive capacity of the N-channel output transistor for
the port P0 can be selected.
[Pull-up control registers] PULL0, PULL1
By setting the pull-up control registers (address 000D16 and
000E16), ports P0 and P1 can exert pull-up control by program.
However, this is valid only when the port direction registers are
set to input.
When they are set to output, setting “pull-up on” does not pull up
the ports.
Fig 13. Structure of port P0 drive capacity control
register
Fig 14. Structure of port P0 pull-up control register
Fig 15. Structure of port P1 control register
b7
b0
Port P00 drive capacity selection bit
Port P01 drive capacity selection bit
Port P02 drive capacity selection bit
Port P03 drive capacity selection bit
Port P04 drive capacity selection bit
Port P05 drive capacity selection bit
Port P06 drive capacity selection bit
Port P07 drive capacity selection bit
0: weakness
1: strength
Port P0 drive capacity control register
(DCCR: address 000C16, initial value: 0016)
b7
b0
P00 pull-up control bit
P01 pull-up control bit
P02 pull-up control bit
P03 pull-up control bit
P04 pull-up control bit
P05 pull-up control bit
P06 pull-up control bit
P07 pull-up control bit
0: Pull-up is disabled
1: Pull-up is enabled
Port P0 pull-up control register
(PULL0: address 000D16, initial value: 0016)
b7
b0
P10 pull-up control bit
P11 pull-up control bit
P12 pull-up control bit
P13 pull-up control bit
P14 pull-up control bit
P15 pull-up control bit
P16 pull-up control bit
P17 pull-up control bit
0: Pull-up is disabled
1: Pull-up is enabled
Port P1 pull-up control register
(PULL1: address 000E16, initial value: 0016)
相關(guān)PDF資料
PDF描述
M37549G1FP 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PDSO24
M37560M8-XXXFP 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PQFP100
M37560EFDFP 8-BIT, OTPROM, 8 MHz, MICROCONTROLLER, PQFP100
M37560MFD-XXXFP 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PQFP100
M37560EFFP 8-BIT, OTPROM, 8 MHz, MICROCONTROLLER, PQFP100
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
M37549G2FP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M37549G2-XXXFP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M37549G3FP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M37549G3-XXXFP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M37549RLSS 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER