Electronic Components Datasheet Search
  English  ▼

X  

PMS152 Datasheet(PDF) 53 Page - PADAUK Technology.

Part # PMS152
Description  8bit OTP Type SuLED IO Controller
PDF  91 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  PADAUK [PADAUK Technology.]
Direct Link  http://www.padauk.com.tw/
Logo PADAUK - PADAUK Technology.

PMS152 Datasheet(HTML) 53 Page - PADAUK Technology.

Back Button PMS152 Datasheet HTML 49Page - PADAUK Technology. PMS152 Datasheet HTML 50Page - PADAUK Technology. PMS152 Datasheet HTML 51Page - PADAUK Technology. PMS152 Datasheet HTML 52Page - PADAUK Technology. PMS152 Datasheet HTML 53Page - PADAUK Technology. PMS152 Datasheet HTML 54Page - PADAUK Technology. PMS152 Datasheet HTML 55Page - PADAUK Technology. PMS152 Datasheet HTML 56Page - PADAUK Technology. PMS152 Datasheet HTML 57Page - PADAUK Technology. Next Button
Zoom Inzoom in Zoom Outzoom out
 53 / 91 page
background image
PMS152
8bit OTP Type SuLED IO Controller
©Copyright 2020, PADAUK Technology Co. Ltd
Page 53 of 91
PDK-DS-PMS152-EN_V105 –Jun. 9, 2020
5.10. Interrupt
There are eight interrupt lines for PMS152:
 External interrupt PA0/PB5
 External interrupt PB0/PA4
 Timer16 interrupt
 GPC interrupt
 PWMG interrupt
 Timer2 interrupt
Every interrupt request line has its own corresponding interrupt control bit to enable or disable it; the hardware
diagram of interrupt function is shown as Fig.19. All the interrupt request flags are set by hardware and cleared
by writing intrq register. When the request flags are set, it can be rising edge, falling edge or both, depending
on the setting of register integs. All the interrupt request lines are also controlled by engint instruction (enable
global interrupt) to enable interrupt operation and disgint instruction (disable global interrupt) to disable it.
The stack memory for interrupt is shared with data memory and its address is specified by stack register sp.
Since the program counter is 16 bits width, the bit 0 of stack register sp should be kept 0. Moreover, user can
use pushaf / popaf instructions to store or restore the values of ACC and flag register to / from stack memory.
Since the stack memory is shared with data memory, the stack position and level are arranged by the compiler
in Mini-C project. When defining the stack level in ASM project, users should arrange their locations carefully to
prevent address conflicts.
Fig.19: Hardware diagram of interrupt controller
Once the interrupt occurs, its operation will be:
 The program counter will be stored automatically to the stack memory specified by register sp.
 New sp will be updated to sp+2.
 Global interrupt will be disabled automatically.
 The next instruction will be fetched from address 0x010.



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


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