Cypress Semiconductor NoBL CY7C1472V33 Guía de usuario Pagina 57

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 57
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 56
ZestSC1 User Guide
CONFIDENTIAL Page 57 of 57
ZestSC1WaitForInterrupt
ZESTSC1_STATUS ZestSC1WaitForInterrupt(ZESTSC1_HANDLE Handle);
Parameters
Handle Handle of open ZestSC1 card. See ZestSC1OpenCard.
Return Value
ZESTSC1_SUCCESS Function succeeded
ZESTSC1_ILLEGAL_HANDLE Attempt to use illegal card handle
ZESTSC1_INTERNAL_ERROR An unspecified internal error occurred while
communicating with the driver
ZESTSC1_TIMEOUT Operation timed out
Description
ZestSC1WaitForInterrupt can be used to wait for the FPGA to interrupt the host.
Interrupts could be used to indicate the FPGA is ready for data or has completed an
operation or any other event that the host must wait for. The FPGA raises an interrupt
by asserting the User_Interrupt signal (see section 7.1.1.5).
For example:
ZESTSC1_HANDLE Handle;
/* Open a card with ID of 1 */
ZestSC1OpenCard(1, &Handle);
/* Configure the FPGA */
ZestSC1ConfigureFromFile(Handle, “example.bit”);
/* Wait for interrupt */
ZestSC1WaitForInterrupt(Handle);
/* Close the card */
ZestSC1CloseCard(Handle);
Vista de pagina 56
1 2 ... 52 53 54 55 56 57

Comentarios a estos manuales

Sin comentarios