Electronic Components Datasheet Search
  English  ▼

X  

PMS232 Datasheet(PDF) 50 Page - PADAUK Technology.

Part # PMS232
Description  12-bit ADC Enhanced
PDF  94 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  PADAUK [PADAUK Technology.]
Direct Link  http://www.padauk.com.tw/
Logo PADAUK - PADAUK Technology.

PMS232 Datasheet(HTML) 50 Page - PADAUK Technology.

Back Button PMS232 Datasheet HTML 46Page - PADAUK Technology. PMS232 Datasheet HTML 47Page - PADAUK Technology. PMS232 Datasheet HTML 48Page - PADAUK Technology. PMS232 Datasheet HTML 49Page - PADAUK Technology. PMS232 Datasheet HTML 50Page - PADAUK Technology. PMS232 Datasheet HTML 51Page - PADAUK Technology. PMS232 Datasheet HTML 52Page - PADAUK Technology. PMS232 Datasheet HTML 53Page - PADAUK Technology. PMS232 Datasheet HTML 54Page - PADAUK Technology. Next Button
Zoom Inzoom in Zoom Outzoom out
 50 / 94 page
background image
PMC232/PMS232 Series
12-bit ADC Enhanced FPPA
TM
8-bit OTP Controller
©Copyright 2018, PADAUK Technology Co. Ltd
Page 50 of 94
PDK-DS-PMx232_V104– Dec. 18, 2018
Note: Even if INTEN=0, INTRQ will be still triggered by the interrupt source.
After finishing the interrupt service routine and issuing the reti instruction to return back, its operation will be:
 The program counter will be restored automatically from the stack memory specified by register sp.
 New sp will be updated to sp-2.
 Global interrupt will be enabled automatically.
The next instruction will be the original one before interrupt.
User must reserve enough stack memory for interrupt, two bytes stack memory for one level interrupt and four
bytes for two levels interrupt. For interrupt operation, the following sample program shows how to handle the
interrupt, noticing that it needs four bytes stack memory to handle interrupt and pushaf.
void
FPPA0
(void)
{
...
$
INTEN
PA0;
// INTEN =1; interrupt request when PA0 level changed
INTRQ
=
0;
// clear INTRQ
ENGINT
// global interrupt enable
...
DISGINT
// global interrupt disable
...
}
void Interrupt
(void)
// interrupt service routine
{
PUSHAF
// store ALU and FLAG register
// If INTEN.PA0 will be opened and closed dynamically,
// user can judge whether INTEN.PA0 =1 or not.
// Example:
If (INTEN.PA0 && INTRQ.PA0)
{…}
// If INTEN.PA0 is always enable,
// user can omit the INTEN.PA0 judgement to speed up interrupt service routine.
If (INTRQ.PA0)
{
// Here for PA0 interrupt service routine
INTRQ.PA0 = 0;
// Delete corresponding bit (take PA0 for example)
...
}
...
// X : INTRQ = 0;
// It is not recommended to use INTRQ = 0 to clear all at the end of
// the interrupt service routine.
// It may accidentally clear out the interrupts that have just occurred
// and are not yet processed.
POPAF
// restore ALU and FLAG register
}



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 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94


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