Adlink ACL-8112 Series Manuel d'utilisateur Page 76

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 92
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 75
68 C Language Library
Example:
#include “8112.h”
main()
{
_8112_Initial( CARD_1, A8112B_HG, 0x220 );
/* Assume NoError when Initialize ACL-8112 */
_8112_AD_Input_Mode( DIFFERENTIAL) ;
/* set analog input mode as “differential” mode */
_8112_AD_Set_Range( AD_B_5_V );
printf( "The A/D analog input range is +/- 5V \n" );
_8112_AD_Set_Mode( AD_MODE_6 );
printf( "Now, disable internal trigger.\n" );
/* All A/D conversion will be trigger by internal
timer pacer, and the converted data should be
transfered in the interrupt service routine. ( ISR).
*/
}
Vue de la page 75
1 2 ... 71 72 73 74 75 76 77 78 79 80 81 ... 91 92

Commentaires sur ces manuels

Pas de commentaire