參數(shù)資料
型號: S3P1860-DK
元件分類: 微控制器/微處理器
英文描述: 4-BIT, OTPROM, 6 MHz, MICROCONTROLLER, PDIP20
封裝: 0.300 INCH, DIP-20
文件頁數(shù): 59/95頁
文件大?。?/td> 339K
代理商: S3P1860-DK
S3C1840/C1850/C1860/P1860
REMOTE CONTROL TX. APPLICATION NOTE
7-5
HALT mode programming
The S3C1840/C1850/C1860 can enter Halt mode by setting the IP2.12 pin to high level and forcing P0 and P1
input to a normal state. If IP 2.12 is high and any input is active, the chip cannot enter Halt mode. Therefore, the
next instruction is executed, which must be a clear command for IP2.12.
MOV
L,#5
KEYOLO
CLRB P2.(L)
; P2.5,4,3,2,
← Low
DECS L
CPNE L,#1
JP
KEYOLO
CLR
A
; ACC.
← #0h
OUT
P3,@SL+A
; P3.0,1,2,3,
← Low
MOV
L,#0DH
CLRB P2.(L)
; Select the P0 input
IN
A,P0
INCS
A
; P0 input check
JP
.+2
JP
KEYCHK
; If any key pressed in P0, jump to KEYCHK routine
SETB P2.(L)
; Select the P1 input
timea IN
A,P0
INCS
A
; P1 input check
JP
+ 2
timeb JP
KEYCHK
; If any key pressed in P1, jump to KEYCHK routine
MOV
L,#0CH
; No key pressed
SETB P2.(L)
; Halt mode
; When no key is pressed, the chip enters Halt mode. Pressing any key while in Halt mode causes the chip to be
initialized and restarted from the reset address.
; If any key is pressed between time A and time B, the following instruction is executed.
MOV
L,#0CH
; These two instructions remove the condition of re-entering
CLRB P2,(L)
; Halt mode.
相關(guān)PDF資料
PDF描述
S3C1860XX-SK 4-BIT, MROM, 6 MHz, MICROCONTROLLER, PDSO20
S3C1860XX-DK 4-BIT, MROM, 6 MHz, MICROCONTROLLER, PDIP20
S3P7048-QZ 4-BIT, OTPROM, 6 MHz, MICROCONTROLLER, PQFP42
S3P72B9-QA 4-BIT, OTPROM, 6 MHz, MICROCONTROLLER, PQFP128
S3C72B5XX-QA 4-BIT, MROM, 6 MHz, MICROCONTROLLER, PQFP128
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
S3P44D10 功能描述:固態(tài)繼電器-工業(yè)安裝 RoHS:否 制造商:Crydom 控制電壓范圍:4 VDC to 32 VDC 負(fù)載電壓額定值:7 VDC to 72 VDC 負(fù)載電流額定值:160 A 觸點(diǎn)形式: 輸出設(shè)備:SSR 安裝風(fēng)格:Panel
S3P44D10/R 制造商:Teledyne Relays 功能描述:THREE-PHASE OUTPUT TO 10A 440 VAC CAGE CLAMP CONNS - Bulk 制造商:Teledyne Relays 功能描述:SOLID STATE RELAY
S3P44R10 制造商:Teledyne Relays 功能描述:THREE-PHASE OUTPUT TO 10A 440 VAC CAGE CLAMP CONNS - Bulk 制造商:Teledyne Industrial 功能描述:Relay SSR 90mA 30V DC-IN 10A 440V AC-OUT 8-Pin
S3P44R10/R 制造商:Teledyne Relays 功能描述:THREE-PHASE OUTPUT TO 10A 440 VAC CAGE CLAMP CONNS - Bulk 制造商:Teledyne Relays 功能描述:SOLID STATE RELAY
S3P7048 制造商:SAMSUNG 制造商全稱:Samsung semiconductor 功能描述:The S3C7044/C7048 single-chip CMOS microcontroller has been designed for very high-performance using Samsungs newest 4-bit CPU core, SAM47 (Samsung Ar