MikroElektronika PIC Microcontrollers PIC16 Fiche technique Page 90

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 194
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 89
Programming PIC Microcontrollers in BASIC - mikroElektronika
Prototype
sub function CF_READ_WORD(dim byref CtrlPort as byte, dim byref DataPort
as byte) as word
Description Function reads 1 word from Compact Flash. Ports need to be initialized, and CF must be initialized for reading.
Parameters:
CtrlPort - control port,
DataPort - data port
Example
PORTC = CF_Read_Word(PORTB, PORTD) ' read word and display on PORTC
5.2.5.9 CF_File_Write_Init – Initializes CF card for file writing operation (FAT16 only, PIC18
only)
Prototype
sub procedure CF_File_Write_Init(dim byref CtrlPort as byte, dim byref
DataPort as byte)
Description This procedure initializes CF card for file writing operation (FAT16 only, PIC18 only).
Parameters:
CtrlPort - control port,
DataPort - data port
http://www.mikroelektronika.co.yu/english/product/books/picbasicbook/05.htm (48 sur 112)05/11/2004 02:20:52
Vue de la page 89
1 2 ... 85 86 87 88 89 90 91 92 93 94 95 ... 193 194

Commentaires sur ces manuels

Pas de commentaire