Abl-electronic PIC Microcontrollers PIC16 Manuel d'utilisateur Page 174

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 312
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 173
mikroC
- C Compiler for Microchip PIC microcontrollers
mikroC
making it simple...
166
MikroElektronika:
Development
tools
-
Books
-
Compilers
page
Prototype
void Cf_Write_Byte(char data);
Description Writes one byte (data) to CF. All 512 bytes are transferred to a buffer.
Requires CF must be initialized for write operation. See Cf_Write_Init.
Example
Cf_Write_Byte(100);
Cf_Write_Byte
Prototype
void Cf_Write_Word(int data);
Description Writes one word (data) to CF. All 512 bytes are transferred to a buffer.
Requires CF must be initialized for write operation. See Cf_Write_Init.
Example
Cf_Write_Word(1000);
Cf_Write_Word
Prototype
void Cf_Find_File(char find_first, char *file_name);
Description Routine looks for files on CF card. Parameter find_first can be non-zero or zero; if
non-zero, routine looks for the first file on card, in order of physical writing. Otherwise,
routine “moves forward” to the next file from the current position, again in physical
order. If file is found, routine writes its name and extension in the string
file_name. If
no file is found, the string will be filled with zeroes.
Requires Ports must be initialized. See Cf_Init.
Example
Cf_Find_File(1, file);
if (file[0] <> 0) { ...
// if first file found, handle it
Cf_Find_File
Vue de la page 173
1 2 ... 169 170 171 172 173 174 175 176 177 178 179 ... 311 312

Commentaires sur ces manuels

Pas de commentaire