參數(shù)資料
型號(hào): ST2202
廠商: Electronic Theatre Controls, Inc.
英文描述: 8 BIT Integrated Microcontroller with 256K Bytes ROM
中文描述: 8位微控制器集成256K字節(jié)ROM的
文件頁數(shù): 17/65頁
文件大?。?/td> 1946K
代理商: ST2202
Sitronix
9.1.1 Port-A Interrupt De-bounce
The ST2202 has a hardware de-bounce block for Port-A
interrupt. It is enabled with “1” and disable with “0” of
PDBN
(PMCR[6])
. The de-bounce function is activated after first
Port-A transition is detected. It uses OSCX as the sampling
ST2202
Ver 2.0a
17/65
2003-May-05
clock. The de-bounce time is OSCX x 512 cycles (about 15.6
ms). Data filtered by de-bounce presents a stable state, then
the interrupt can be issued.
TABLE 9-8 Port Miscellaneous Control Register (PMCR)
Bit 7
Bit 6
Bit 5
PULL
PDBN
INTEG
CSM1
Address Name
$00F
Bit 6:
PDBN :
Enable Port-A interrupt de-bounce
1 = De-bounce for Port-A interrupt
0
= No de-bounce for Port-A interrupt
R/W
R/W
Bit 4
Bit 3
CSM0
Bit 2
TO2
Bit 1
TO1
Bit 0
TO0
Default
1000 0000
PMCR
9.2 External Interrupt
PC0 plays another function of external edge-sensitive interrupt
source. Falling or rising edge is controlled by INTEG(PMCR[5]).
Steps for INTX interrupt operation:
1.
Set PC0 to input mode. (PCC[0])
2.
Set PF0 to “1”
3.
Select edge level. (INTEG)
4.
Clear INTX interrupt request flag. (IRX)
5.
Set INTX interrupt enable bits. (IEX)
6.
Clear CPU interrupt mask flag (I).
Steps and program example are shown below.
Example:
.
.
RMB0
SMB0
SMB5
RMB0
SMB0
CLI
.
<PCC
<PFC
<PMCR
<IREQ
<IENA
; Set input mode.
; Enable INTX function
; Rising edge.
; Clear IRQ flag.
; Enable INTX interrupt.
TABLE 9-9 Port Miscellaneous Control Register (PMCR)
Bit 7
Bit 6
Bit 5
Bit 4
PULL
PDBN
INTEG
CSM1
Address Name
$00F
Bit 5:
INTEG :
Edge options of external interrupt
1 = External interrupt is rising edge triggered
0
= External interrupt is falling edge triggered
R/W
R/W
Bit 3
CSM0
Bit 2
TO2
Bit 1
TO1
Bit 0
TO0
Default
1000 0000
PMCR
相關(guān)PDF資料
PDF描述
ST2221C 16 BIT CONSTANT CURRENT LED DRIVERS
ST2225A-SS3 LED DISPLAY DRIVER
ST2225A LED DISPLAY DRIVER
ST2225A-D LED DISPLAY DRIVER
st302 PHOTOTRANSISTORS
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
ST2202A 制造商:SITRONIX 制造商全稱:SITRONIX 功能描述:8 BIT Integrated Microcontroller with 256K Bytes ROM
ST2203U 制造商:SITRONIX 制造商全稱:SITRONIX 功能描述:8-Bit Microcontroller With 2K Bytes RAM
ST2204 制造商:SITRONIX 制造商全稱:SITRONIX 功能描述:8 BIT Integrated Microcontroller with 512K Bytes ROM
ST220-50T2KI 功能描述:鉭質(zhì)電容器-濕式 ST220-50T2KI RoHS:否 制造商:Vishay/Tansitor 電容:2800 uF 電壓額定值:35 V ESR:0.35 Ohms 容差:20 % 端接類型:Axial 工作溫度范圍:- 55 C to + 85 C 制造商庫存號(hào):T4 Case 外殼直徑:9.52 mm 外殼長度:26.97 mm 外殼寬度: 外殼高度: 系列:STE 產(chǎn)品:Tantalum Wet Hermetically Sealed 封裝:Bulk
ST220-50T2MI 功能描述:鉭質(zhì)電容器-濕式 220UF 50V 20% T2 RoHS:否 制造商:Vishay/Tansitor 電容:2800 uF 電壓額定值:35 V ESR:0.35 Ohms 容差:20 % 端接類型:Axial 工作溫度范圍:- 55 C to + 85 C 制造商庫存號(hào):T4 Case 外殼直徑:9.52 mm 外殼長度:26.97 mm 外殼寬度: 外殼高度: 系列:STE 產(chǎn)品:Tantalum Wet Hermetically Sealed 封裝:Bulk