You are on page 1of 14

Industrial Engineering Master

EXTENDED ELECTRONICS
Code: 240EI013
Topic 4 – Interruptions
Outline
 Status register
 Stack (hardware & software)
 Real time
 Interruptions

EXTENDED ELECTRONICS 2
Status register

EXTENDED ELECTRONICS 3
Example

EXTENDED ELECTRONICS 4
Stack

EXTENDED ELECTRONICS 5
Stack

EXTENDED ELECTRONICS 6
Real time
 Real time system.

CORRECT VALUES AT THE RIGHT MOMENT

EXTENDED ELECTRONICS 7
How CPU detect an event?

POLLING

INTERRUPTION

EXTENDED ELECTRONICS 8
Interruptions

EXTENDED ELECTRONICS 9
Interruptions
 Interrupt call process
 Types of interrupts
 Interrupt flags
 Interrupt sources
 Types of events
 Interrupt priorities

EXTENDED ELECTRONICS 10
Interrupts in PIC18F

EXTENDED ELECTRONICS 11
PIC18F4520

EXTENDED ELECTRONICS 12
Registers for interrupt control

EXTENDED ELECTRONICS 13
EXTENDED ELECTRONICS 14

You might also like