Configuraci n de Interrupciones

Páginas: 2 (252 palabras) Publicado: 2 de marzo de 2015
Introducci´
on a los Microcontroladores

Timer. Configuraci´
on del sistema de
interrupciones.
Profesor : Fernando Aguilar S´anchez

Por : Karen Justo Garc´ıa

1

´Indice general
´ INTERRUPCION
´EXT0
0.1. INTERRUPCIONES: CONFIGURACION
Y EXT1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
´ GLOBAL EXT1/EXT2 . . . . . . . . .
0.2. INTERRUPCIONES: INHIBICION
´ DE LAPRIORI0.3. INTERRUPCIONES: REGISTRO DE CONFIGURACION
DAD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
0.4. INTERRUPCIONES: PRIORIDAD DE INTERRUPCIONES . . . . . . . .
´. . . . . . . . . .
0.5. INTERRUPCIONES: HARDWARE DE INTERRUPCION
´
0.6. INTERRUPCIONES: VECTORES DE INTERRUPCION . . . . . . . . . .
0.7. Referencias . . . . . . . . . . . . . . . . . . . . . . . . .. . . . . . . . . . .

2

3
4
5
5
6
7
7

0.1.

´ INTEINTERRUPCIONES: CONFIGURACION
´ EXT0 Y EXT1
RRUPCION

3

0.2.

´ GLOBAL (EXT1
INTERRUPCIONES: INHIBICION
Y EXT2)

4

0.3.

INTERRUPCIONES:REGISTRO DE CONFIGU´ DE LA PRIORIDAD
RACION

0.4.

INTERRUPCIONES: PRIORIDAD DE INTERRUPCIONES

La subrutina de atenci´on a una interrupci´on solo puede ser interrumpida por otra petici´on
deinterrupci´on de mayor prioridad. Si se producen de forma simultanea dos o m´as peticiones
de interrupci´on de la misma prioridad, el microcontrolador act´
ua de acuerdo con la siguiente
secuencia de prioridad:5

0.5.

INTERRUPCIONES: HARDWARE DE INTERRUP´
CION

6

0.6.

INTERRUPCIONES: VECTORES DE INTERRUP´
CION

Un vector de interrupci´on es la direcci´on (Memoria de Programa) de la primera instrucci´onde la subrutina de atenci´on. La CPU ejecuta una instrucci´on LCALL con dicho vector.
La instrucci´on RETI permite volver al punto en el que se produjo la interrupci´on al mismo
tiempo que desinhibe(habilita) las interrupciones de menor o igual prioridad.

0.7.

Referencias

Microcontroladores. Fundamentos y Aplicaciones con PIC, Alfaomega, Marcombo, Fernando E. V´
aldes P´
erez y Ramon Pall´...
Leer documento completo

Regístrate para leer el documento completo.

Estos documentos también te pueden resultar útiles

  • Configuraci n
  • Configuraci N Del PPP
  • Configuraci N Balanzas L
  • Medula Configuraci N Externa
  • Configuraci N De Un Enlace Troncal
  • Configuraci N En La Edificaciones
  • Configuraci N Electr Nica
  • Configuraci n de privacidad y de publicaci n

Conviértase en miembro formal de Buenas Tareas

INSCRÍBETE - ES GRATIS