weAut_01 / weAutSys    R 2.2.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines
Data Fields
FS_WORK Struct Reference

Data Fields

DIR dir
 Current directory's status structure.
FIL fil
 Current file's status structure.
FILINFO filInf
 Current file's or directory's information structure.
FRESULT fRes
 Result of file system operations.
FRESULT fRes1
 Result of file system operations.
FRESULT fRes2
 Result of file system operations.
uint8_t lock
 Lock state of the file operation structure.
char * path
 A current file's or directory's name.
ucnt32_t szi32
 Current (32 bit) result or parameter value.

Detailed Description

Work space for file system operations (structure FS_WORK)

A structure of this type holds the state of the system or application software's ongoing file system operations.

See also:
fsWork

Field Documentation

uint8_t lock

Lock state of the file operation structure.

A value 0 means that this structure is not locked or the implementation chooses not to use / implement that feature.
The (reserved) value SMC_FS_SYSTUSE says that the weAutSys runtime itself is in the process of file system operations and uses this structure for state. This will only happen by respective (human) commands.

See also:
SMC_FS_CLIUSE
SMC_FS_SYSTUSE
lockFsWorkFor
unlockFsWorkFrom
char* path

A current file's or directory's name.

This is a pointer to a null terminated string holding a path. Its content is read only for all file system functions.

Result of file system operations.

This variable is to hold the last main file system operation result.

Examples:
main.c.

Result of file system operations.

This variable is to hold the last secondary file system operation result.

Examples:
main.c.

Result of file system operations.

This variable is to hold the last main tertiary file system operation result.

Examples:
main.c.

Current file's or directory's information structure.

This variable is to hold one file's state (over thread yields).

Current directory's status structure.

This variable is to hold one directory's state (over thread yields).

Current file's status structure.

This variable is to hold one file's state (over thread yields).

Examples:
main.c.

Current (32 bit) result or parameter value.


The documentation for this struct was generated from the following file: