Ibase IB827 Manuel d'utilisateur Page 62

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 66
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 61
APPENDIX
58
IB827 User’s Manual
D. Digital I/O Sample Code
Filename: W627hf.h
//=====================================================================
//
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
// KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
// PURPOSE.
//
//=====================================================================
#ifndef __W627HF_H
#define __W627HF_H 1
//=======================================================================
#define W627HF_INDEX_PORT (W627HF_BASE)
#define W627HF_DATA_PORT (W627HF_BASE+1)
//=======================================================================
#define W627HF_REG_LD 0x07
//=======================================================================
#define W627HF_UNLOCK 0x87
#define W627HF_LOCK 0xAA
//=======================================================================
unsigned int Init_W627HF(void);
void Set_W627HF_LD( unsigned char);
void Set_W627HF_Reg( unsigned char, unsigned char);
unsigned char Get_W627HF_Reg( unsigned char);
//=======================================================================
#endif //__W627HF_H
Vue de la page 61
1 2 ... 57 58 59 60 61 62 63 64 65 66

Commentaires sur ces manuels

Pas de commentaire