Cypress Semiconductor FX2LP Información técnica Pagina 373

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 460
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 372
Chapter 15. Registers Page 15-53
15.7.10 INT 2 (USB) Autovector
Figure 15-53. INT 2 (USB) Autovector
Bit 6-2 I2V4:0 INT 2 Autovector
To save the code and processing time required to sort out which USB interrupt occurred, the
USB core provides a second level of interrupt vectoring, called Autovectoring. When the CPU
takes a USB interrupt, it pushes the program counter onto its stack, and then executes a jump
to address 43, where it expects to find a jump instruction to the INT2 service routine.
I2V indicates the source of an interrupt from the USB Core. When the USB core generates an
INT2 (USB) Interrupt Request, it updates INT2IVEC to indicate the source of the interrupt. The
interrupt sources are encoded on I2V4:0.
15.7.11 INT 4 (slave FIFOs & GPIF) Autovector
Figure 15-54. INT 4 (slave FIFOs & GPIF) Autovector
Bit 5-2 I4V3:0 INT 4 Autovector
To save the code and processing time required to sort out which FIFO interrupt occurred, the
USB core provides a second level of interrupt vectoring, called Autovectoring. When the CPU
takes a USB interrupt, it pushes the program counter onto its stack, and then executes a jump
to address 53, where it expects to find a jump instruction to the INT4 service routine.
INT2IVEC INTERRUPT 2 (USB) Autovector E666
b7 b6 b5 b4 b3 b2 b1 b0
0 I2V4 I2V3 I2V2 I2V1 I2V0 0 0
R R R R R R R R
0 0 0 0 0 0 0 0
INT4IVEC Interrupt 4 (slave FIFOs & GPIF) Autovector E667
b7 b6 b5 b4 b3 b2 b1 b0
1 0 I4V3 I4V2 I4V1 I4V0 0 0
R R R R R R R R
1 0 0 0 0 0 0 0
Vista de pagina 372
1 2 ... 368 369 370 371 372 373 374 375 376 377 378 ... 459 460

Comentarios a estos manuales

Sin comentarios