• 參數(shù)資料
    型號: M37544G2SP
    元件分類: 微控制器/微處理器
    英文描述: 8-BIT, OTPROM, 8 MHz, MICROCONTROLLER, PDIP32
    封裝: 0.400 INCH, 1.78 MM PITCH, PLASTIC, SDIP-32
    文件頁數(shù): 59/70頁
    文件大小: 645K
    代理商: M37544G2SP
    7544 Group
    Rev.1.04
    2004.06.08
    page 60 of 66
    REJ03B0012-0104Z
    6. Read-modify-write instruction
    Do not execute a read-modify-write instruction to the read invalid
    address (SFR).
    The read-modify-write instruction operates in the following se-
    quence: read one-byte of data from memory, modify the data,
    write the data back to original memory. The following instructions
    are classified as the read-modify-write instructions in the 740
    Family.
    (1) Bit management instructions: CLB, SEB
    (2) Shift and rotate instructions: ASL, LSR, ROL, ROR, RRF
    (3) Add and subtract instructions: DEC, INC
    (4) Logical operation instructions (1’s complement): COM
    Add and subtract/logical operation instructions (ADC, SBC, AND,
    EOR, and ORA) when T flag = “1” operate in the way as the read-
    modify-write instruction. Do not execute the read invalid SFR.
    <Reason>
    When the read-modify-write instruction is executed to read invalid
    SFR, the instruction may cause the following consequence: the in-
    struction reads unspecified data from the area due to the read
    invalid condition. Then the instruction modifies this unspecified
    data and writes the data to the area. The result will be random
    data written to the area or some unexpected event.
    NOTES ON PERIPHERAL FUNCTIONS
    Notes on I/O Ports
    1. 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.
    2. 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
    3. Modifying output data with bit managing instruction
    When the port latch of an I/O port is modified with the bit manag-
    ing instruction*2, the value of the unspecified bit may be changed.
    <Reason>
    The bit managing instructions are read-modify-write form instruc-
    tions for reading and writing data by a byte unit. Accordingly, when
    these instructions are executed on a bit of the port latch of an I/O
    port, the following is executed to all bits of the port latch.
    As for a bit which is set for an input port :
    The pin state is read in the CPU, and is written to this bit after bit
    managing.
    As for a bit which is set for an output port :
    The bit value of the port latch is read in the CPU, and is written to
    this bit after bit managing.
    Note the following :
    Even when a port which is set as an output port is changed for
    an input port, its port latch holds the output data.
    As for a bit of the port latch which is set for an input port, its
    value may be changed even when not specified with a bit man-
    aging instruction in case where the pin state differs from its port
    latch contents.
    *2 bit managing instructions : SEB, and CLB instructions
    4. 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.
    相關(guān)PDF資料
    PDF描述
    M37545G2KP 8-BIT, MROM, 4 MHz, MICROCONTROLLER, PDSO32
    M37545G8-XXXGP 8-BIT, MROM, 4 MHz, MICROCONTROLLER, PQFP32
    M37545GC-XXXGP 8-BIT, MROM, 4 MHz, MICROCONTROLLER, PQFP32
    M37545G1KP 8-BIT, MROM, 4 MHz, MICROCONTROLLER, PDSO32
    M37545G4GP 8-BIT, MROM, 4 MHz, MICROCONTROLLER, PQFP32
    相關(guān)代理商/技術(shù)參數(shù)
    參數(shù)描述
    M37544M2-XXXGP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
    M37544M2-XXXHP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
    M37544M2-XXXSP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
    M37544RSS 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
    M37545G1KP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER