Electronic Components Datasheet Search
  English  ▼

X  

MPC82x52AS Datasheet(PDF) 29 Page - Megawin Technology Co., Ltd

Part # MPC82x52AS
Description  8-bit micro-controller
PDF  72 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MEGAWIN [Megawin Technology Co., Ltd]
Direct Link  http://www.megawin.com.tw/megawin_EN/Index.asp
Logo MEGAWIN - Megawin Technology Co., Ltd

MPC82x52AS Datasheet(HTML) 29 Page - Megawin Technology Co., Ltd

Back Button MPC82x52AS Datasheet HTML 25Page - Megawin Technology Co., Ltd MPC82x52AS Datasheet HTML 26Page - Megawin Technology Co., Ltd MPC82x52AS Datasheet HTML 27Page - Megawin Technology Co., Ltd MPC82x52AS Datasheet HTML 28Page - Megawin Technology Co., Ltd MPC82x52AS Datasheet HTML 29Page - Megawin Technology Co., Ltd MPC82x52AS Datasheet HTML 30Page - Megawin Technology Co., Ltd MPC82x52AS Datasheet HTML 31Page - Megawin Technology Co., Ltd MPC82x52AS Datasheet HTML 32Page - Megawin Technology Co., Ltd MPC82x52AS Datasheet HTML 33Page - Megawin Technology Co., Ltd Next Button
Zoom Inzoom in Zoom Outzoom out
 29 / 72 page
background image
MEGAWIN
MPC82x52A Data Sheet
29
Interrupt
There are seven interrupt sources available in MPC82x52A. Each interrupt source can be
individually enabled or disabled by setting or clearing a bit in the SFR named IE. This register
also contains a global disable bit (EA), which can be cleared to disable all interrupts at once.
Each interrupt source has two corresponding bits to represent its priority. One is located in
SFR named IPH and the other is in IP register. Higher-priority interrupt will be not interrupted
by lower-priority interrupt request. If two interrupt requests of different priority levels are
received simultaneously, the request of higher priority is serviced. If interrupt requests of the
same priority 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.
Source
Vector address
Priority within level
External interrupt 0
03H
1 (highest)
Timer 0
0BH
2
External interrupt 1
13H
3
Timer1
1BH
4
Serial Port
23H
5
SPI/ADC
2BH
6
PCA/LVF
33H
7
The
external
interrupt
/INT0,
and
/INT1
can
each
be
either
level-activated
or
transition-activated, depending on bits IT0 and IT1 in register TCON. The flags that actually
generate these interrupts are bits IE0 and IE1 in TCON. When an external interrupt is
generated, the flag, that generated it, is cleared by the hardware as soon as 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 is generated,
the flag, that generated it, is cleared by the on-chip hardware as soon as 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 poll
RI and TI to determine which one to request service, and it will be cleared by software.
The 2BH interrupt is shared by the logical OR of SPI interrupt and ADC interrupt. Neither of
these flags is cleared by hardware when the service routine is vectored to. The service routine
should poll them to determine which one to request service and it will be cleared by software.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com