st2064b Sitronix Technology Corporation, st2064b Datasheet - Page 10
st2064b
Manufacturer Part Number
st2064b
Description
8 Bit Microcontroller With 64k Bytes Rom
Manufacturer
Sitronix Technology Corporation
Datasheet
1.ST2064B.pdf
(57 pages)
9.2 Interrupt Request Flag
Interrupt request flag can be cleared by two methods. One is to
write “ 0” to IREQ, the other is to initiate the interrupt service
Ver. 3.0
Address Name
Address Name
$03C
$03E
Bit 5: IRBT: Base Timer Interrupt Request bit
Bit 4: IRPT: Port-A Interrupt Request bit
Bit 3: IRT1: Timer1 Interrupt Request bit
Bit 5: IEBT: Base Timer Interrupt Enable bit
Bit 4: IEPT: Port-A Interrupt Enable bit
Bit 3: IET1: Timer1 Interrupt Enable bit
IREQ
IENA
1 = Time base interrupt occurs
0 = Time base interrupt doesn’ t occur
1 = Port-A transition interrupt occurs
0 = Port-A transition interrupt doesn’ t occur
1 = Timer1 overflow interrupt occurs
0 = Timer1 overflow interrupt doesn’ t occur
1 = Time base interrupt enable
0 = Time base interrupt disable
1 = Port-A transition interrupt enable
0 = Port-A transition interrupt disable
1 = Timer1 overflow interrupt enable
0 = Timer1 overflow interrupt disable
*R/W
R/W
R/W
R/W
Bit 7
Bit 7
-
-
TABLE 9-2 Interrupt Request Register (IREQ)
Bit 6
TABLE 9-3 Interrupt Enable Register (IENA)
Bit 6
-
-
IRBT
Bit 5
Bit 5
IEBT
10/57
IRPT
IEPT
Bit 4
Bit 4
Bit 2: IRT0: Timer0 Interrupt Request bit
Bit 1: IRDAC: DAC reload Interrupt Request bit
Bit 0: IRX: INTX Interrupt Request bit
Bit 2: IET0: Timer0 Interrupt Enable bit
Bit 1: IEDAC: DAC reload Interrupt Enable bit
Bit 0: IEX: INTX Interrupt Enable bit
routine when interrupt occurs. Hardware will automatically clear
the Interrupt flag.
1 = Timer0 overflow interrupt occurs
0 = Timer0 overflow interrupt doesn’ t occur
1 = DAC time out interrupt occurs
0 = DAC time out interrupt doesn’ t occur
1 = INTX edge interrupt occurs
0 = INTX edge interrupt doesn’ t occur
Bit 3
IRT1
Bit 3
IET1
1 = Timer0 overflow interrupt enable
0 = Timer0 overflow interrupt disable
1 = DAC time out interrupt enable
0 = DAC time out interrupt disable
1 = INTX edge interrupt enable
0 = INTX edge interrupt disable
Bit 2
Bit 2
IRT0
IET0
IRDAC
IEDAC
Bit 1
Bit 1
Bit 0
Bit 0
IRX
IEX
- - 00 0000
- - 00 0000
Default
Default
ST2064B
5/8/09