Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

MPC2F35L Datasheet(PDF) 9 Page - Megawin Technology Co., Ltd

Part # MPC2F35L
Description  Low-speed USB micro-controller
PDF  46 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

MPC2F35L Datasheet(HTML) 9 Page - Megawin Technology Co., Ltd

Back Button MPC2F35L Datasheet HTML 5Page - Megawin Technology Co., Ltd MPC2F35L Datasheet HTML 6Page - Megawin Technology Co., Ltd MPC2F35L Datasheet HTML 7Page - Megawin Technology Co., Ltd MPC2F35L Datasheet HTML 8Page - Megawin Technology Co., Ltd MPC2F35L Datasheet HTML 9Page - Megawin Technology Co., Ltd MPC2F35L Datasheet HTML 10Page - Megawin Technology Co., Ltd MPC2F35L Datasheet HTML 11Page - Megawin Technology Co., Ltd MPC2F35L Datasheet HTML 12Page - Megawin Technology Co., Ltd MPC2F35L Datasheet HTML 13Page - Megawin Technology Co., Ltd Next Button
Zoom Inzoom in Zoom Outzoom out
 9 / 46 page
background image
MEGAWIN
MPC2F35_USB Data Sheet
9
Interrupt Registers
IRQ enable flag
Address
Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
R
W
00C1H
IRQ_EN
-
-
INT1
INT0
P3
TM0
USB
-
√
√
Program can enable (setting to “1”) or disable (clearing to “0”) the ability of triggering IRQ through this
register.
USB: USB finishes Rx or Tx data
TM0: Timer0 underflow
P3: Falling edge trigger signal occurs at port 3 input mode
INT0, INT1: Falling edge trigger signal occurs at P0.4 and P0.5 input mode
IRQ status flag
Address
Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
R
W
00C2H
IRQ_ST
-
-
INT1
INT0
P3
TM0
USB
-
√
-
When IRQ occurs, program can read this register to know which source triggering IRQ.
IRQ clear flag
Address
Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
R
W
00C3H
IRQ_CLR
-
-
INT1
INT0
P3
TM0
USB
-
-
√
Program can clear the interrupt event by writing ‘1’ into the corresponding bit.
Watchdog Timer (WDT)
Address
Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
R
W
00DEH
WDT_ST
RSTS
-
-
-
Bit 3Bit 2Bit 1
Bit 0
√
-
00DFH
WDT_CLR
CLR
-
-
-
-
-
-
-
-
√
Bit 3 ~ Bit 0: Contents of WDT
RSTS: WDT reset status, set by the hardware when WDT overflows, and clear by the firmware or
the hardware reset
CLR: RSTS clear and WDT reset control bit, the program can clear the RSTS bit and reset WDT
by writing “1” into the CLR bit
The watchdog timer (WDT) is organized as a 4-bit counter, which is designed to prevent the program
from unknown errors. If the WDT overflows, the WDT reset function will be performed. RSTS (Bit 7 of
WDT_ST) is set by hardware when the WDT overflows. It also can be cleared by hardware reset or
writing 1 to bit 7 of WDT_CLR. The interval of WDT to cause reset is around 0.7s at 6MHz external
oscillator. Programming one into the bit 7 of WDT_CLR register can reset the contents of the WDT. In
normal operation, the application program must reset WDT before it overflows. A WDT overflow
indicates that operation is not under control and the chip will be reset. The organization of the watchdog
timer is shown as below



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


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