Adlink ACL-8216 Manual de usuario Pagina 51

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 75
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 50
C/C++ Library
43
5.3 _8216_Switch_Card_No
@ Description
This function is used on dual-cards system. After initialized two ACL-
8216 cards, this function is used to select which card is used currently.
Note: In this library, only two ACL-8216 can be initialized. The reason is
only two DMA channels are supported in the card.
@ Syntax
int _8216_Switch_Card_No(int card_number)
@ Argument
card_number:
The card number to be initialized, only
two cards can be initialized, the card
number must be CARD_1 or CARD_2.
@ Return Code
ERR_NoError
ERR_InvalidBoardNumber
@ Example
#include "8216.h"
main()
{
_8216_Initial( CARD_1, 0x210 );
_8216_Initial( CARD_2, 0x220 );
/* Assume NoError when Initialize ACL-8216 */
_8216_Switch_Card_No( Card_1 );
/*..... You can perform certain functions
to Card_1 here*/
_8216_Switch_Card_No( Card_2 );
/*..... You can perform certain functions
to Card_2 here*/
}
Vista de pagina 50
1 2 ... 46 47 48 49 50 51 52 53 54 55 56 ... 74 75

Comentarios a estos manuales

Sin comentarios