參數(shù)資料
型號: M37546G2HP
元件分類: 微控制器/微處理器
英文描述: 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PQCC36
封裝: 6 X 6 MM, 0.50 MM PITCH, PLASTIC, WQFN-36
文件頁數(shù): 101/105頁
文件大小: 1105K
代理商: M37546G2HP
REJ03B0160-0122 Rev.1.22 Mar 13, 2009
page 93 of 100
7546 Group
NOTES ON PERIPHERAL FUNCTIONS
Notes on I/O Ports
1.Port direction register
Set bits 6 and 7 of port P2 direction register to “1”.
Set bits 5 and 6 of port P3 direction register to “1”.
2.Interrupt edge selection register
Set bit 2 of interrupt edge selection register to “1”.
3.Be sure to set bit 1 of port P1P3 control register (address
001716) to “0”.
4. Port P0P3 drive capacity control register
The number of LED drive port (drive capacity is HIGH) is 8.
5. Pull-up control register
When using each port which built in pull-up resistor as an output
port, the pull-up control bit of corresponding port becomes invalid,
and pull-up resistor is not connected.
<Reason>
Pull-up control is effective only when each direction register is set
to the input mode.
6. Notes in stand-by state
In stand-by state*1 for low-power dissipation, do not make input
levels of an input port and an I/O port “undefined”.
Pull-up (connect the port to Vcc) or pull-down (connect the port to
Vss) these ports through a resistor.
When determining a resistance value, note the following points:
External circuit
Variation of output levels during the ordinary operation
When using a built-in pull-up resistor, note on varied current val-
ues:
When setting as an input port : Fix its input level
When setting as an output port : Prevent current from flowing out
to external.
<Reason>
The output transistor becomes the OFF state, which causes the
ports to be the high-impedance state. Note that the level becomes
“undefined” depending on external circuits.
Accordingly, the potential which is input to the input buffer in a mi-
crocomputer is unstable in the state that input levels of an input
port and an I/O port are “undefined”. This may cause power
source current.
*1 stand-by state : the stop mode by executing the STP instruction
the wait mode by executing the WIT instruction
7. Modifying output data with bit handling instruction
When the port latch of an I/O port is modified with the bit handling
instruction*1, the value of an unspecified bit may change.
<Reason>
I/O ports can be set to input mode or output mode in byte units.
When the port register is read or written, the following will be op-
erated:
Port as input mode
Read: Read the pin level
Write: Write to the port latch
Port as output mode
Read: Read the port latch or peripheral function output
(specifications vary depending on the port)
Write: Write to the port latch
(output the content of the port latch from the pin)
Meanwhile, the bit handling instructions are the read-modifywrite
instructions*2. Executing the bit handling instruction to the port
register allows reading and writing a bit unspecified with the in-
struction at the same time.
If an unspecified bit is set to input mode, the pin level is read and
the value is written to the port latch. At this time, if the original con-
tent of the port latch and the pin level do not match, the content of
the port latch changes.
If an unspecified bit is set to output mode, the port latch is nor-
mally read, but the peripheral function output is read in some ports
and the value is written to the port latch. At this time, if the original
content of the port latch and the peripheral function output do not
match, the content of the port latch changes.
*1 Bit handling instructions: CLB, SEB
*2 Read-modify-write instruction: Reads 1-byte of data from
memory, modifies the data, and writes 1-byte of the data to the
original memory.
8. Direction register
The values of the port direction registers cannot be read.
That is, it is impossible to use the LDA instruction, memory opera-
tion instruction when the T flag is “1”, addressing mode using
direction register values as qualifiers, and bit test instructions such
as BBC and BBS.
It is also impossible to use bit operation instructions such as CLB
and SEB and read-modify-write instructions of direction registers
for calculations such as ROR.
For setting direction registers, use the LDM instruction, STA in-
struction, etc.
相關PDF資料
PDF描述
M37546G4-XXXHP 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PQCC36
M37546G2-XXXGP 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PQFP32
M37546G4-XXXGP 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PQFP32
M37546G4-XXXHP 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PQCC36
M37546G2GP 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PQFP32
相關代理商/技術(shù)參數(shù)
參數(shù)描述
M37546G2HP#U0 功能描述:MCU 2/5V 8K 36-HWQFN QZ-ROM RoHS:是 類別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:740/38000 標準包裝:250 系列:80C 核心處理器:8051 芯體尺寸:8-位 速度:16MHz 連通性:EBI/EMI,I²C,UART/USART 外圍設備:POR,PWM,WDT 輸入/輸出數(shù):40 程序存儲器容量:- 程序存儲器類型:ROMless EEPROM 大小:- RAM 容量:256 x 8 電壓 - 電源 (Vcc/Vdd):4.5 V ~ 5.5 V 數(shù)據(jù)轉(zhuǎn)換器:A/D 8x10b 振蕩器型:內(nèi)部 工作溫度:-40°C ~ 85°C 封裝/外殼:68-LCC(J 形引線) 包裝:帶卷 (TR)
M37546G2SP 功能描述:MCU 2/5V 8K 32-SDIP RoHS:是 類別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:740/38000 標準包裝:250 系列:80C 核心處理器:8051 芯體尺寸:8-位 速度:16MHz 連通性:EBI/EMI,I²C,UART/USART 外圍設備:POR,PWM,WDT 輸入/輸出數(shù):40 程序存儲器容量:- 程序存儲器類型:ROMless EEPROM 大小:- RAM 容量:256 x 8 電壓 - 電源 (Vcc/Vdd):4.5 V ~ 5.5 V 數(shù)據(jù)轉(zhuǎn)換器:A/D 8x10b 振蕩器型:內(nèi)部 工作溫度:-40°C ~ 85°C 封裝/外殼:68-LCC(J 形引線) 包裝:帶卷 (TR)
M37546G2SP#U0 功能描述:MCU 3/5V 8K 32-SDIP QZ-ROM RoHS:是 類別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:740/38000 標準包裝:250 系列:80C 核心處理器:8051 芯體尺寸:8-位 速度:16MHz 連通性:EBI/EMI,I²C,UART/USART 外圍設備:POR,PWM,WDT 輸入/輸出數(shù):40 程序存儲器容量:- 程序存儲器類型:ROMless EEPROM 大小:- RAM 容量:256 x 8 電壓 - 電源 (Vcc/Vdd):4.5 V ~ 5.5 V 數(shù)據(jù)轉(zhuǎn)換器:A/D 8x10b 振蕩器型:內(nèi)部 工作溫度:-40°C ~ 85°C 封裝/外殼:68-LCC(J 形引線) 包裝:帶卷 (TR)
M37546G2-XXXGP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M37546G2-XXXHP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER