參數(shù)資料
型號(hào): S3P1860-DK
元件分類: 微控制器/微處理器
英文描述: 4-BIT, OTPROM, 6 MHz, MICROCONTROLLER, PDIP20
封裝: 0.300 INCH, DIP-20
文件頁(yè)數(shù): 63/95頁(yè)
文件大?。?/td> 339K
代理商: S3P1860-DK
S3C1840/C1850/C1860/P1860
REMOTE CONTROL TX. APPLICATION NOTE
7-9
Soft Ware Delay Routine
To obtain a constant time value, the S3C1840/C1850/C1860 use a software delay routine (there is not an internal
timer interrupt). One instruction cycle is six oscillator clocks. Using a ceramic resonator with a constant
frequency, you can calculate the time delay as follows:
t = 6/fxx Number of Instructions
Where t: Elapsed time and fxx: System clock.
Programming Tip
To program a 1-ms delay: 1 ms = 6/455 kHz x n, where fxx = 455 kHz
Therefore, n = 75.8 = 76 instructions
DLY1MS
CLR
A
ADDS
A,#0BH
; Two instructions
DLY
MOV
H,#0
; Dummy instruction
MOV
H,#0
; Dummy instruction
MOV
H,#0
; Dummy instruction
MOV
H,#0
; Dummy instruction
DECS
A
JP
DLY
; DLY loop: 6 instructions
;2 + (ACC + 1) x instructions in loop = 2 + (11 + 1) x 6 = 74
CLR
A
CLR
A
; Two instructions.
; Total number of instructions for DLY1MS is 76.
NOTE
In order to lengthen the delay time, you can use an arithmetic instruction combination of L register and
Accumulator. The L register causes the address lower pointer to access RAM space and the output port pointer to
control the P2 (individual/serial output) port status.
— RAM manipulation instruction: RAM address pointer.
MOV
A,@HL
CPNE @HL,A
ADDS
A,@HL
SETB @HL.b
— P2 output control instruction: P2 pointer.
SETB P2.(L)
CLRB P2.(L)
相關(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