User manual
286
mikoPascal PRO for dsPIC30/33 and PIC24
MikroElektronika
Cf_Fat_Reset
Cf_Fat_Read
Prototype
procedure Cf_Fat_Reset(var size: dword);
Description Opens currently assigned le for reading.
Parameters - size: buffer to store le size to. After le has been open for reading its size is returned through this
parameter.
Returns Nothing.
Requires CF card and CF library must be initialized for le operations. See Cf_Fat_Init.
File must be previously assigned. See Cf_Fat_Assign.
Example
var size : dword;
...
Cf_Fat_Reset(size);
Notes None.
Prototype
procedure Cf_Fat_Read(var bdata: byte);
Description Reads a byte from currently assigned le opened for reading. Upon function execution le pointers will
be set to the next character in the le.
Parameters - bdata: buffer to store read byte to. Upon this function execution read byte is returned through this
parameter.
Returns Nothing.
Requires CF card and CF library must be initialized for le operations. See Cf_Fat_Init.
File must be previously assigned. See Cf_Fat_Assign.
File must be open for reading. See Cf_Fat_Reset.
Example
var bdata : byte;
...
Cf_Fat_Read(bdata);
Notes None.