mg87fe Megawin Technology, mg87fe Datasheet - Page 31

no-image

mg87fe

Manufacturer Part Number
mg87fe
Description
8 Bits Microcontroller
Manufacturer
Megawin Technology
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mg87fe2051AS20
Manufacturer:
MEGAWIN
Quantity:
20 000
Part Number:
mg87fe52AE
Manufacturer:
XILINX
Quantity:
1 200
Part Number:
mg87fe52AF
Manufacturer:
MEGAWIN
Quantity:
20 000
Part Number:
mg87fe52AF44
Manufacturer:
MEGAWIN原装
Quantity:
20 000
level are received simultaneously, an internal polling sequence determine which request is
serviced. The following table shows the internal polling sequence in the same priority level and
the interrupt vector address.
External interrupt 0
Timer 0
External interrupt 1
Timer1
Serial Port
Timer2
External interrupt 2
External interrupt 3
The external interrupt /INT0, /INT1, /INT2 and /INT3 can each be either level-activated or
transition-activated, depending on bits IT0 and IT1 in register TCON, IT2 and IT3 and XICON.
The flags that actually generate these interrupts are bits IE0 and IE1 in TCON, IE2 and IE3 in
XICON. When an external interrupt is generated, the flag that generated it is cleared by the
hardware when the service routine is vectored to only if the interrupt was transition –activated,
then the external requesting source is what controls the request flag, rather than the on-chip
hardware.
The Timer0 and Timer1 interrupts are generated by TF0 and TF1, which are set by a rollover in
their respective Timer/Counter registers in most cases. When a timer interrupt was generated,
the flag that generated & it was cleared by the on-chip hardware when the service routine is
vectored to.
The serial port interrupt is generated by the logical OR of RI and TI. Neither of these flags is
cleared by hardware when the service routine is vectored to. The service routine should check
RI and TI to determine which one request service and it will be cleared by software.
The timer2 interrupt is generated by the logical OR of TF2 and EXF2. Just the same as serial
port, neither of these flags is cleared by hardware when the service routine is vectored to.
All of the bits that generate interrupts can be set or cleared by software, with the same result as
though it had been set or cleared by hardware. In other words, interrupts can be generated or
pending interrupts can be canceled in software.
Source
Megawin Technology Co., Ltd.
Vector address
Preliminary
0BH
1BH
2BH
3BH
13H
23H
33H
03H
ver 1.3
Priority within level
Date: 2009-JAN-20
3
7
1 (highest)
2
4
5
6
8
MG87FE/L52
31

Related parts for mg87fe