Mikroc, Mmc_fat_reset, Mmc_fat_rewrite – ABL electronic PIC Microcontrollers PIC16 User Manual

Page 236: Mmc_fat_append

Advertising
background image

mikroC - C Compiler for Microchip PIC microcontrollers

mikroC

making it simple...

228

MikroElektronika: Development tools - Books - Compilers

page

Prototype

void

Mmc_Fat_Reset(unsigned long *size);

Description

Function resets the file pointer (moves it to the start of the file) of the assigned file, so
that the file can be read. Parameter

size

stores the size of the assigned file, in bytes.

Requires

Library needs to be initialized; see

Mmc_Fat_Init

.

Example

Mmc_Fat_Reset(&filesize);

Mmc_Fat_Reset

Prototype

void

Mmc_Fat_Rewrite(void);

Description

Function resets the file pointer and clears the assigned file, so that new data can be writ-
ten into the file.

Requires

Library needs to be initialized; see

Mmc_Fat_Init

.

Example

Mmc_Fat_Rewrite();

Mmc_Fat_Rewrite

Prototype

void

Mmc_Fat_Append(void);

Description

The function moves the file pointer to the end of the assigned file, so that data can be
appended to the file.

Requires

Library needs to be initialized; see

Mmc_Fat_Init

.

Example

Mmc_Fat_Append();

Mmc_Fat_Append

Advertising
This manual is related to the following products: