參數(shù)資料
型號(hào): HD404652
廠(chǎng)商: Hitachi,Ltd.
英文描述: 4-Bit Single-Chip Microcomputer
中文描述: 4位單片機(jī)
文件頁(yè)數(shù): 13/109頁(yè)
文件大?。?/td> 430K
代理商: HD404652
HD404654 Series
13
SPX Register (SPX), SPY Register (SPY):
Four-bit registers used to supplement the X and Y registers.
Carry Flag (CA):
One-bit flag that stores any ALU overflow generated by an arithmetic operation. CA is
affected by the SEC, REC, ROTL, and ROTR instructions. A carry is pushed onto the stack during an
interrupt and popped from the stack by the RTNI instruction—but not by the RTN instruction.
Status Flag (ST):
One-bit flag that latches any overflow generated by an arithmetic or compare
instruction, not-zero decision from the ALU, or result of a bit test. ST is used as a branch condition of the
BR, BRL, CAL, and CALL instructions. The contents of ST remain unchanged until the next arithmetic,
compare, or bit test instruction is executed, but become 1 after the BR, BRL, CAL, or CALL instruction is
read, regardless of whether the instruction is executed or skipped. The contents of ST are pushed onto the
stack during an interrupt and popped from the stack by the RTNI instruction—but not by the RTN
instruction.
Program Counter (PC):
14-bit binary counter that points to the ROM address of the instruction being
executed.
Stack Pointer (SP):
Ten-bit pointer that contains the address of the stack area to be used next. The SP is
initialized to $3FF by MCU reset. It is decremented by 4 when data is pushed onto the stack, and
incremented by 4 when data is popped from the stack. The top four bits of the SP are fixed at 1111, so a
stack can be used up to 16 levels.
The SP can be initialized to $3FF in another way: by resetting the RSP bit with the REM or REMD
instruction.
Reset
The MCU is reset by inputting a high-level voltage to the
RESET
pin. At power-on or when stop mode is
cancelled,
RESET
must be high for at least one t
RC
to enable the oscillator to stabilize. During operation,
RESET
must be high for at least two instruction cycles.
Initial values after MCU reset are listed in table 1.
Interrupts
The MCU has 6 interrupt sources: Two external signals (
INT
0
,
INT
1
), three timer/counters (timers A, C,
and D), and one serial interface (serial 1).
An interrupt request flag (IF), interrupt mask (IM), and vector address are provided for each interrupt
source, and an interrupt enable flag (IE) controls the entire interrupt process.
Interrupt Control Bits and Interrupt Processing:
Locations $000 to $003 and $020 to $021 in RAM are
reserved for the interrupt control bits which can be accessed by RAM bit manipulation instructions.
The interrupt request flag (IF) cannot be set by software. MCU reset initializes the interrupt enable flag
(IE) and the IF to 0 and the interrupt mask (IM) to 1.
相關(guān)PDF資料
PDF描述
HD404652H RES T 0.2E 5W 1%
HD404652S 4-Bit Single-Chip Microcomputer
HD404654 RESISTOR, 0.10 OHM 5W
HD404654H 4-Bit Single-Chip Microcomputer
HD404654S 4-Bit Single-Chip Microcomputer
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
HD404652H 制造商:HITACHI 制造商全稱(chēng):Hitachi Semiconductor 功能描述:4-Bit Single-Chip Microcomputer
HD404652S 制造商:HITACHI 制造商全稱(chēng):Hitachi Semiconductor 功能描述:4-Bit Single-Chip Microcomputer
HD404654 制造商:HITACHI 制造商全稱(chēng):Hitachi Semiconductor 功能描述:4-Bit Single-Chip Microcomputer
HD404654H 制造商:HITACHI 制造商全稱(chēng):Hitachi Semiconductor 功能描述:4-Bit Single-Chip Microcomputer
HD404654S 制造商:HITACHI 制造商全稱(chēng):Hitachi Semiconductor 功能描述:4-Bit Single-Chip Microcomputer