參數(shù)資料
型號: S3C1860XX-DK
元件分類: 微控制器/微處理器
英文描述: 4-BIT, MROM, 6 MHz, MICROCONTROLLER, PDIP20
封裝: 0.300 INCH, DIP-20
文件頁數(shù): 59/95頁
文件大?。?/td> 339K
代理商: S3C1860XX-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描述
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
S3P72G9XX-QX 4-BIT, OTPROM, 4.19 MHz, MICROCONTROLLER, PQFP100
S3P72N8-QW 4-BIT, OTPROM, 6 MHz, MICROCONTROLLER, PQFP80
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
S3C2400 制造商:SAMSUNG 制造商全稱:Samsung semiconductor 功能描述:RISC MICROPROCESSOR
S3C2410A 制造商:SAMSUNG 制造商全稱:Samsung semiconductor 功能描述:32-Bit RISC Microprocessor
S3C2410A-20 制造商:Samsung Electro-Mechanics 功能描述:Microprocessor, 32 Bit, 272 Pin, Plastic, BGA
S3C2410A20-YO80 制造商:Samsung Semiconductor 功能描述: 制造商:Samsung Semiconductor 功能描述:200MHz, MMU, NAND Flash Boot Loader, ROM/SRAM/SDRAM Control, STN/TFT LCD Control, Touch Panel Control, MMC/SD Card, USB, 10bit ADC/Lead Free
S3C2410A20-YOR0 制造商:Samsung Electro-Mechanics 功能描述:Microprocessor, 32 Bit, 272 Pin, Plastic, BGA