Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

RM0016 Datasheet(PDF) 66 Page - STMicroelectronics

Part # RM0016
Description  STM8S Series and STM8AF Series 8-bit microcontrollers
PDF  467 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

RM0016 Datasheet(HTML) 66 Page - STMicroelectronics

Back Button RM0016 Datasheet HTML 62Page - STMicroelectronics RM0016 Datasheet HTML 63Page - STMicroelectronics RM0016 Datasheet HTML 64Page - STMicroelectronics RM0016 Datasheet HTML 65Page - STMicroelectronics RM0016 Datasheet HTML 66Page - STMicroelectronics RM0016 Datasheet HTML 67Page - STMicroelectronics RM0016 Datasheet HTML 68Page - STMicroelectronics RM0016 Datasheet HTML 69Page - STMicroelectronics RM0016 Datasheet HTML 70Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 66 / 467 page
background image
Interrupt controller (ITC)
RM0016
66/467
DocID14587 Rev 14
Figure 16. Nested interrupt management
6.6
External interrupts
Five interrupt vectors are dedicated to external Interrupt events:
•
5 lines on Port A: PA[6:2]
•
8 lines on Port B: PB[7:0]
•
8 lines on Port C: PC[7:0]
•
7 lines on Port D: PD[6:0]
•
8 lines on Port E: PE[7:0]
PD7 is the Top Level Interrupt source (TLI), except for 20-pin packages on which the Top
Level Interrupt source (TLI) can be available on the PC3 pin using an alternate function
remapping option bit. Refer to option bytes section in the product datasheet for more details.
To generate an interrupt, the corresponding GPIO port must be configured in input mode
with interrupts enabled. Refer to the register description in the GPIO chapter for details.
The interrupt sensitivity must be configured in the external interrupt control register 1
(EXTI_CR1) and external interrupt control register 2 (EXTI_CR2) (see Section 6.9.3 and
Section 6.9.4.).
6.7
Interrupt instructions
Table 11 shows the interrupt instructions.
MSv47718V2
Software
priority level
I1
I0
31
1
31
1
20
0
10
1
31
1
31
1
3/0
11/10
RIM
TRAP
IT3
IT1
Main
IT2
IT2
IT4
IT4
IT1
10
Main
IT0
Table 11. Dedicated interrupt instruction set
Instruction
New description
Function/example
I1
H
I0
N
Z
C
HALT
Entering Halt mode
-
1
-
0
-
-
-
IRET
Interrupt routine return
Pop CCR, A, X, Y, PC
I1
H
I0
N
Z
C
JRM
Jump if I1:0=11 (level 3)
I1:0=11 ?
-
-
-
-
-
-



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 95 96 97 98 99 100  ...More


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