mikroC
mikroC - C Compiler for Microchip PIC microcontrollers
making it simple...
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_WordPrototype | 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_Find_FilePrototype | void Cf_Find_File(char find_first, char *file_name); |
Description Routine looks for files on CF card. Parameter find_first can be
|
| Requires | Ports must be initialized. See Cf_Init. | ||
|
|
|
|
| |
|
| Example | Cf_Find_File(1, file); | ||
|
|
| if (file[0] <> 0) { ... // if first file found, handle it | ||
|
|
|
|
|
|
|
| page |
|
|
|
|
|
|
| ||
166 | MikroElektronika: Development tools - Books - Compilers | ||||
|
|
|