參數(shù)資料
型號: S3C1860XX-SK
元件分類: 微控制器/微處理器
英文描述: 4-BIT, MROM, 6 MHz, MICROCONTROLLER, PDSO20
封裝: SOP-20
文件頁數(shù): 72/95頁
文件大?。?/td> 339K
代理商: S3C1860XX-SK
S3C1840/C1850/C1860/P1860
REMOTE CONTROL TX. APPLICATION NOTE
7-17
S3C1840/C1850 KEYSCAN FUNCTION
Description
This program has an 8 x 9 key matrix, which consists of input P0 and P1 and output P2 and P3. Because pull-up
resistors are connected, the normal state for all input pins is high level. The operating method for the keyscan
function is as follows:
— All output pins remain active state ( = low).
— If key is pressed, set all output pins to non-active state and rotate the pins to set only a pin to active state
during debounce time.
— If key is pressed more than one or if no key is pressed, go to reset label.
— If a new key is pressed, reset debounce time, continuous flag, and key-in flag.
RAM Assignment
O_INP0
N_INP0
O_INP1
N_INP1
O_OUTP
I_TWICE
N_OUTP
DEBOCNT CONKEY
KFLG
05H
09H
H register selects #0
01H
HL
00H
O_INP0:
The old value of P0
N_INP0:
The new value of P0
O_INP1:
The old value of P1
N_INP1:
The new value of P1
O_OUTP:
The old value of output port
N_OUTP:
The new value of output port
I_TWICE:
Double number increment
DEBOCNT: Debounce time
CONKEY:
Continuous key flag
KFLG:
key input flag
相關(guān)PDF資料
PDF描述
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
S3P72G9XX-QX 4-BIT, OTPROM, 4.19 MHz, MICROCONTROLLER, PQFP100
相關(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