Adlink ACL-8112 Series Manual do Utilizador Página 64

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 92
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 63
56 C Language Library
7.2 _8112_Switch_Card_No
Description
This function is used on a system that has two ACL-8112 card inserted.
After initializing the two ACL-8112 cards, this function is called upon to
select the default card.
Note: This library only has support for two ACL-8112 because only two DMA
channels are supported by the card.
Syntax
int _8112_Switch_Card_No(int card_number)
int _8112pg_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 “8112.h”
main()
{
_8112_Initial( CARD_1, A8112B_HG, 0x210 );
_8112_Initial( CARD_2, A8112B_DG, 0x220 );
/* Assume NoError when Initialize ACL-8112 */
_8112_Switch_Card_No( CARD_1 );
/*..... You can perform certain functions
to Card_1 here*/
_8112_Switch_Card_No( CARD_2 );
/*..... You can perform certain functions
to Card_2 here*/
}
Vista de página 63
1 2 ... 59 60 61 62 63 64 65 66 67 68 69 ... 91 92

Comentários a estes Manuais

Sem comentários